Template:Infobox election/shortname
Jump to navigation
Jump to search
This template uses Module:Political party, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
Template:Infobox election/shortname 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, it returns [[{{{name}}}|shortname]]
where shortname
is the output of the political party module. If the shortname does not exist in the module, it returns the value of name
verbatim.
The above documentation is transcluded from Template:Infobox election/shortname/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |