Template:Infobox political party/doc: Difference between revisions

Reverted good faith edits by Ncase56 (talk): Rv poss. test outside of sandbox
m (1 revision imported)
imported>JohnFromPinckney
(Reverted good faith edits by Ncase56 (talk): Rv poss. test outside of sandbox)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{high-use}}
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{Auto short description}}
{{Auto short description}}
{{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
Line 31: Line 31:
|country
|country
}}
}}
<pre style="overflow:auto;">
<syntaxhighlight lang="html" style="overflow:auto;">
{{Infobox political party
{{Infobox political party
| name =  
| name =  
Line 56: Line 56:
| country =  
| country =  
}}
}}
</pre>
</syntaxhighlight>
{{clear right}}
{{clear right}}


Line 64: Line 64:
|native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |logo_upright |logo_alt |caption |colorcode=red |abbreviation={{{abbreviation}}} or {{{abbr}}} |leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |governing_body |standing_committee |secretary |spokesperson={{{spokesperson}}} or {{{spokesman}}}  
|native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |logo_upright |logo_alt |caption |colorcode=red |abbreviation={{{abbreviation}}} or {{{abbr}}} |leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |governing_body |standing_committee |secretary |spokesperson={{{spokesperson}}} or {{{spokesman}}}  
  |leader1_title |leader1_name |leader2_title |leader2_name |leader3_title |leader3_name |leader4_title |leader4_name |leader5_title |leader5_name
  |leader1_title |leader1_name |leader2_title |leader2_name |leader3_title |leader3_name |leader4_title |leader4_name |leader5_title |leader5_name
|founder={{{founder}}} or {{{founders}}} |founded={{{founded}}} or {{{foundation}}} |registered |legalised={{{legalised}}} or {{{legalized}}} |dissolved={{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |merger |split |predecessor |merged |successor |headquarters |newspaper |think_tank |student_wing |youth_wing |womens_wing |wing1_title |wing1 |wing2_title |wing2 |wing3_title |wing3 |wing4_title |wing4
|founder={{{founder}}} or {{{founders}}} |founded={{{founded}}} or {{{foundation}}} |registered |legalised={{{legalised}}} or {{{legalized}}} |dissolved={{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |merger |split |predecessor |merged |successor |headquarters |newspaper |think_tank |student_wing |youth_wing |womens_wing |lgbt_wing |wing1_title |wing1 |wing2_title |wing2 |wing3_title |wing3 |wing4_title |wing4
  |membership_year=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |affiliation2_title |affiliation2 |colors={{{colors}}} or {{{colours}}} |slogan |anthem
  |membership_year=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |affiliation2_title |affiliation2 |colors={{{colors}}} or {{{colours}}} |slogan |anthem
  |blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4
  |blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4
Line 70: Line 70:
  |symbol |flag |flag_title |flag_alt |website |country |country2 |footnotes  
  |symbol |flag |flag_title |flag_alt |website |country |country2 |footnotes  
}}
}}
<pre style="overflow:auto;">
<syntaxhighlight lang="html" style="overflow:auto;">
{{Infobox political party
{{Infobox political party
| name =  
| name =  
Line 150: Line 150:
| affiliation2_title =
| affiliation2_title =
| affiliation2 =
| affiliation2 =
| colors =            <!-- or | colours = -->
| colors =            <!-- or | colours = ; use based on [[WP:ENGVAR]]-->
| slogan =  
| slogan =  
| anthem =  
| anthem =  
Line 185: Line 185:
| footnotes =  
| footnotes =  
}}
}}
</pre>
</syntaxhighlight>
{{clear right}}
{{clear right}}


Line 195: Line 195:
<templatedata>
<templatedata>
{
{
"description": "An infobox for political party.",
"description": "An infobox for a political party. Used to briefly summarize information about a party at the top of the article. ",
"format": "{{_\n| ________________ = _\n}}\n",
"format": "{{_\n| ________________ = _\n}}\n",
"params": {
"params": {
Line 289: Line 289:
"international": {
"international": {
"label": "International",
"label": "International",
"description": "The international of the party",
"description": "The party’s international affiliation(s)",
"type": "string"
"type": "string"
},
},
Line 332: Line 332:
},
},
"colors": {
"colors": {
"description": "The official colors of the party, independent of infobox usage",
"description": "The official colors of the party, independent of infobox usage",
"aliases": [
"aliases": [
"colours"
"colours"
Line 345: Line 345:
"label": "Native name language code",
"label": "Native name language code",
"description": "The ISO-639 language code of the native name of the party",
"description": "The ISO-639 language code of the native name of the party",
"example": "en",
"example": "fr",
"type": "string"
"type": "string"
},
},
        "governing_body": {},
"governing_body": {},
"standing_committee": {},
"standing_committee": {},
"merger": {},
"merger": {},
Line 427: Line 427:
"colors",
"colors",
"native_name_lang",
"native_name_lang",
        "governing_body",
"governing_body",
"standing_committee",
"standing_committee",
"merger",
"merger",