Difference between revisions of "Template:INRConvert/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Joshua Issac
(testing round default argument.)
imported>Joshua Issac
m (Undid revision 925555770 by Joshua Issac (talk))
Line 4: Line 4:
 
       |pais{{#ifexpr:{{{1}}}=0.01|a|e}}
 
       |pais{{#ifexpr:{{{1}}}=0.01|a|e}}
 
     }} ({{#switch: {{{fmt|}}}
 
     }} ({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{{1}}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{{1}}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|0|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|0|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 12: Line 12:
 
     |k={{formatnum:{{#expr:{{{1}}}*1E3}}}}</span> <!--
 
     |k={{formatnum:{{#expr:{{{1}}}*1E3}}}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E3}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E3}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|3|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|3|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 18: Line 18:
 
     |m={{formatnum:{{{1}}}}} million</span> <!--
 
     |m={{formatnum:{{{1}}}}} million</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E6}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E6}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|6|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|6|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 24: Line 24:
 
     |b={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|b=[[1,000,000,000|billion]]|billion}}</span> <!--
 
     |b={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|b=[[1,000,000,000|billion]]|billion}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E9}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E9}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|9|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|9|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 30: Line 30:
 
     |t={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|t=[[1,000,000,000,000|trillion]]|trillion}}</span> <!--
 
     |t={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|t=[[1,000,000,000,000|trillion]]|trillion}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E12}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E12}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|12|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|12|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 36: Line 36:
 
     |l={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|l=[[lakh]]|lakh}}</span> <!--
 
     |l={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|l=[[lakh]]|lakh}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E5}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E5}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|5|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|5|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 42: Line 42:
 
     |c={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|c=[[crore]]|crore}}</span> <!--
 
     |c={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|c=[[crore]]|crore}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E7}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E7}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|7|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|7|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 48: Line 48:
 
     |lc={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|l|lc=[[lakh]]|lakh}} {{#switch:{{{lk}}}|on|c|lc=[[crore]]|crore}}</span> <!--
 
     |lc={{formatnum:{{{1}}}}} {{#switch:{{{lk}}}|on|l|lc=[[lakh]]|lakh}} {{#switch:{{{lk}}}|on|c|lc=[[crore]]|crore}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E12}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{#expr:{{{1}}}*1E12}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1}}}|12|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1}}}|12|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
Line 54: Line 54:
 
     |{{formatnum:{{{1|0}}}}}</span> <!--
 
     |{{formatnum:{{{1|0}}}}}</span> <!--
 
       -->({{#switch: {{{fmt|}}}
 
       -->({{#switch: {{{fmt|}}}
       | historical = {{INRConvert/HistoricalRate/Formatted|{{{1}}}|{{{to}}}|{{{year}}}|{{{round|1}}}}}
+
       | historical = {{INRConvert/HistoricalRate/Formatted|{{{1}}}|{{{to}}}|{{{year}}}|{{{round|2}}}}}
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
       | #default = {{INRConvert/sandbox/{{#ifexpr:{{{year|0}}}>={{Inflation/IN/startyear}} and {{{year|0}}}<{{inflation/year|IN}}|inflation|{{{to|USD}}}}}{{{fmt|}}}<!--
 
         -->|{{{1|0}}}|0|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--
 
         -->|{{{1|0}}}|0|{{{3|}}}|{{{to|USD}}}|year={{{year}}}<!--

Revision as of 21:46, 10 November 2019