Template:Getalias2/doc
< Template:Getalias2
Jump to navigation
Jump to search
Revision as of 20:10, 5 October 2014 by imported>SiBr4 (←Created page with 'This is a more general version of {{tl|Getalias}}, which can extract any parameter value from a country data template instea...')
This is a more general version of {{Getalias}}, which can extract any parameter value from a country data template instead of just parameters named "... alias" or "... alias-...".
Examples
→{{getalias2|United Kingdom|flag alias}}Flag of the United Kingdom.svg(the value of|flag alias=in {{Country data United Kingdom}})→{{getalias2|Georgia (U.S. state)|shortname alias}}Georgia(the value of|shortname alias=in {{Country data Georgia (U.S. state)}})→{{getalias2|Nepal|border}}(nothing, since|border=is set to nothing in {{Country data Nepal}})→{{getalias2|Russia|border}}{{{border}}}(no|border=parameter is defined in {{Country data Russia}})→{{getalias2|Nepal|size}}(in {{Country data Nepal}}, the{{{size}}}parameter is passed through with fallback value 23x22px)→{{getalias2|Russia|size}}(in {{Country data Russia}}, the{{{size}}}parameter is passed through with empty fallback value)