Difference between revisions of "Template:Infobox person/height"
From Canonical Works Universe Wiki
StarSumiaki (talk | contribs) m (1 revision imported: Info Box Person Template) |
(fix to generate correct output if this template is passed a {{convert}} template using lk=on which generates wikilinks for unit names, tested with /sandbox and /testcases) |
||
Line 1: | Line 1: | ||
{{infobox person/height/locate|<!-- | {{infobox person/height/locate|<!-- | ||
+ | -->{{#invoke:String|replace|<!-- | ||
+ | -->{{#invoke:String|replace|<!-- | ||
+ | -->{{#invoke:String|replace|<!-- | ||
+ | -->{{#invoke:String|replace|<!-- | ||
-->{{#invoke:String|replace|<!-- | -->{{#invoke:String|replace|<!-- | ||
-->{{#invoke:String|replace|<!-- | -->{{#invoke:String|replace|<!-- | ||
Line 19: | Line 23: | ||
-->|ms|m}}<!-- | -->|ms|m}}<!-- | ||
-->|ins|in}}<!-- | -->|ins|in}}<!-- | ||
+ | -->|pattern=[[in|in]]|replace=[[inch|in]]}}<!-- | ||
+ | -->|pattern=[[Centim|cm]]|replace=[[Centimetre|cm]]}}<!-- | ||
+ | -->|pattern=[[m]]s|replace=[[Metre|m]]}}<!-- | ||
+ | -->|pattern=[[cm]]s|replace=[[Centimetre|cm]]}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 05:38, 20 November 2016
50px Template documentation[[index.php?title=Template:Infobox_person/height/doc&action=edit&preload=Template%3ADocumentation%2Fpreload create]]
Editors can experiment in this template's sandbox ([index.php?title=Template:Infobox_person/height/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [index.php?title=Template:Infobox_person/height/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3AInfobox+person%2Fheight%5D%5D mirror]) and testcases ([index.php?title=Template:Infobox_person/height/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create]) pages. Please add categories to the /doc subpage. Subpages of this template. |