Template:Infobox election/shortname

From AmericanGovSim
< Template:Infobox election
Revision as of 20:07, 3 April 2018 by Butterlands (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation

This 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, if the corresponding Script error: No such module "Tlg". template exists, it returns [[{{{name}}}|shortname]] where shortname is the output of the Script error: No such module "Tlg". template. If this template does not exist, it returns the value of name verbatim.