Template:Infobox election/shortname/doc

From Roses, Tulips, & Liberty
Revision as of 06:18, 29 December 2021 by Wannabee (talk | contribs) (1 revision imported from wikipedia:Template:Infobox_election/shortname/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.