Template:Infobox election/shortname: Difference between revisions
Jump to navigation
Jump to search
Template documentation
m (Protected "Template:Infobox election/shortname": Highly visible template; 10,000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 21:50, 7 August 2018
This is a subtemplate of {{Infobox election}}, it should not be used directly.
Purpose
This subtemplate takes two inputs, name and link. If link is set to no, then it returns the value of name verbatim. Otherwise, if the corresponding {{{{{name}}}/meta/shortname}} template exists, it returns [[{{{name}}}|shortname]] where shortname is the output of the {{{{{name}}}/meta/shortname}} template. If this template does not exist, it returns the value of name verbatim.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |