Template:Infobox election/shortname: Difference between revisions
Jump to navigation
Jump to search
[[Templates]]>ISUtahraptor (Created page with "<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; {{#if:<!-- -->{{{map_im...") |
(Replaced content with "{{#if:{{{name|}}} |{{#ifeq:{{{link}}}|no |{{{name}}} |{{#ifeq:{{delink|{{{name}}}|wikilinks=target}}|{{{name}}} |{{#switch:{{{name}}} | Independent | Independents = {{{name}}} | Other | Others = Others | [[{{{name}}}|{{#invoke:Political party|fetch|{{{name}}}|shortname}}]] }} |{{{name}}} }} }} }}<noinclude> {{documentation}}</noinclude>") Tag: Replaced |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{name|}}} | |||
|{{#ifeq:{{{link}}}|no | |||
|{{{name}}} | |||
| | |{{#ifeq:{{delink|{{{name}}}|wikilinks=target}}|{{{name}}} | ||
|{{#switch:{{{name}}} | |||
| Independent | Independents = [[Independent politician|{{{name}}}]] | |||
| Other | Others = Others | |||
| | | [[{{{name}}}|{{#invoke:Political party|fetch|{{{name}}}|shortname}}]] | ||
| | }} | ||
| | |{{{name}}} | ||
}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
}}<noinclude> | |||
{{documentation}}</noinclude> | |||
Latest revision as of 15:37, 8 August 2022
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |