Template:Infobox election/shortname

From HandWiki
< Template:Infobox election
Revision as of 14:39, 30 November 2022 by MainEditor (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

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.