Template:Infobox election/shortname/doc

Template:Infobox election/shortname is a subtemplate of {{Infobox election}}, it should not be used directly.

Purpose

edit

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.