Template:Infobox election/shortname/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Infobox election/shortname. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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.