Diferencia entre revisiones de «Plantilla:Infobox person/weight/switch»
De Familia Sanchez Arjona
m (Protected Template:Infobox person/weight/switch: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(No converting kilos and pounds to stones) |
||
Línea 3: | Línea 3: | ||
|{{{l}}}{{{s}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{k|1}}}-1}}}}}} | |{{{l}}}{{{s}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{k|1}}}-1}}}}}} | ||
|{{{1|}}} | |{{{1|}}} | ||
− | |{{convert|{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{k|1}}}-1}}}}|kg|lb | + | |{{convert|{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{k|1}}}-1}}}}|kg|lb|0|abbr=on}}{{#invoke:String|sub|{{{2|0}}}|{{#expr:{{{k|1}}}+2}}}} |
}} | }} | ||
|{{{k}}}{{{s}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{l|1}}}-1}}}}}} | |{{{k}}}{{{s}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{l|1}}}-1}}}}}} | ||
|{{{1|}}} | |{{{1|}}} | ||
− | |{{convert|{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{l|1}}}-1}}}}|lb| | + | |{{convert|{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{l|1}}}-1}}}}|lb|kg|0|abbr=on}}{{#invoke:String|sub|{{{2|0}}}|{{#expr:{{{l|1}}}+2}}}} |
}} | }} | ||
|{{{k}}}{{{l}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{s|1}}}-1}}}}}} | |{{{k}}}{{{l}}}={{#iferror:{{#expr:{{#invoke:String|sub|{{{2|0}}}|1|{{#expr:{{{s|1}}}-1}}}}}} |