Template:Infobox election/shortname: Difference between revisions
frontierpediav5>WikiSysop (testing something out again) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 17:26, 9 October 2022
File:Test Template Info-Icon - Version (2).svg Template documentation
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 Template:Tld template exists, it returns [[{{{name}}}|shortname]]
where shortname
is the output of the Template:Tld template. If this template does not exist, it returns the value of name
verbatim.