Template:Infobox election/shortname/doc

Revision as of 14:12, 30 November 2021 by wikipedia>Gonnym
(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.