Difference between revisions of "Template:party-logo"

From WikiCorporates
Jump to navigation Jump to search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{img|
+
{{img|{{#switch:{{{1}}}
−
{{#switch:{{{1}}}
 
 
|APNI=Alliance-Party-of-Northern-Ireland-sm.svg
 
|APNI=Alliance-Party-of-Northern-Ireland-sm.svg
 
|AWP=Animal-Welfare-Party-sm.svg
 
|AWP=Animal-Welfare-Party-sm.svg
Line 12: Line 11:
 
|Labour-Coop=Labour-and-Cooperative-sm.svg
 
|Labour-Coop=Labour-and-Cooperative-sm.svg
 
|LibDems=Liberal-Democrats-sm.svg
 
|LibDems=Liberal-Democrats-sm.svg
 +
|Plaid-Cymru=Plaid-Cymru-sm.svg
 +
|SDP=Social-Democratic-Party-sm.svg
 
|SDLP=Social-Democratic-Labour-Party-sm.svg
 
|SDLP=Social-Democratic-Labour-Party-sm.svg
 +
|Sinn-Fein=Sinn-Fein-sm.svg
 
|SNP=Scottish-National-Party-sm.svg
 
|SNP=Scottish-National-Party-sm.svg
−
|SPGB=Socialist-Party-Great-Britain-sm.svg
+
|SPGB=Socialist-Party-of-Great-Britain-sm.png
 
|TED=English-Democrats-sm.svg
 
|TED=English-Democrats-sm.svg
 
|TIG=Independent-Group-sm.svg
 
|TIG=Independent-Group-sm.svg
Line 21: Line 23:
 
|TUV=Traditional-Unionist-Voice-sm.svg
 
|TUV=Traditional-Unionist-Voice-sm.svg
 
|TYP=Yorkshire-Party-sm.svg
 
|TYP=Yorkshire-Party-sm.svg
−
|UKEU=UK-European-Union-Party-sm.svg
+
|UKEU=UK-EU-Party-sm.svg
 
|UKIP=UKIP-sm.svg
 
|UKIP=UKIP-sm.svg
 
|UUP=Ulster-Unionist-Party-sm.svg
 
|UUP=Ulster-Unionist-Party-sm.svg
 
|WEP=Womens-Equality-Party-sm.svg
 
|WEP=Womens-Equality-Party-sm.svg
 
|#default={{tc|Something went wrong in Template:party-logo: no such switch option "{{{1}}}".}}
 
|#default={{tc|Something went wrong in Template:party-logo: no such switch option "{{{1}}}".}}
−
}}|{{#if:{{{2|}}}|{{{2}}}|25}}|{{#if:{{{3|}}}|{{{3}}}|20}}|ml=0|mr=0|float={{#if:{{{float|}}}|{{{float}}}|none}}}}<noinclude>{{doc2}}</noinclude>
+
}}|{{#if:{{{2|}}}|{{{2}}}|25}}|{{#if:{{{3|}}}|{{{3}}}|20}}|ml=0|mr={{#if:{{{mr|}}}|{{{mr}}}|0}}|float={{#if:{{{float|}}}|{{{float}}}|none}}}}<noinclude>{{doc2}}</noinclude>

Latest revision as of 05:51, 1 May 2019

<img src="https://www.wikicorporates.org/Images/Something went wrong in Template:party-logo: no such switch option "{{{1}}}"." width="25" height="20"/>

[edit] Documentation

Template to generate teensy party logos. The default is 25 x 20px, with a left- and right-margin of 0px.

Good usage examples: Guide to EU Elections#European Parliament Political Groups

All images in  /Images/Logos-Political-Parties/
New logos: use /Images/Logos-Political-Parties/Template-Political-Party-Logos.svg

Usage

{{party-logo
|party-name    - see "Examples" below
|width         - optional; default = 25
|height        - optional; default = 20
}}

Examples

  • {{party-logo|APNI}} → Alliance Party of Northern Ireland
  • {{party-logo|AWP}} → Animal Welfare Party
  • {{party-logo|Brexit}} → Brexit Party
  • {{party-logo|DUP}} → Democratic Unionist Party
  • {{party-logo|Greens}} → Green Party
  • {{party-logo|Greens-NI}} → Green Party of Northern Ireland
  • {{party-logo|Greens-Scotland}} → Green Party of Scotland
  • {{party-logo|Independent}} → Independent Candidate
  • {{party-logo|Labour}} → Labour Party
  • {{party-logo|Labour-Coop}} → Labour and Cooperative Party
  • {{party-logo|LibDems}} → Liberal Democrats
  • {{party-logo|Plaid-Cymru}} → Plaid Cymru
  • {{party-logo|SNP}} → Scottish National Party
  • {{party-logo|Sinn-Fein}} → Sinn Fein
  • {{party-logo|SDP}} → Social Democratic Party
  • {{party-logo|SDLP}} → Social Democratic and Labour Party
  • {{party-logo|SNP}} → Scottish National Party
  • {{party-logo|SPGB}} → Socialist Party of Great Britain
  • {{party-logo|TED}} → The English Democrats
  • {{party-logo|TIG}} → The Independent Group aka Change UK
  • {{party-logo|TIN}} → The Independent Network
  • {{party-logo|Tory}} → Conservatives
  • {{party-logo|TYP}} → Yorkshire Party
  • {{party-logo|UKEU}} → UK European Union Party
  • {{party-logo|UUP}} → Ulster Unionist Party
  • {{party-logo|WEP}} → Women's Equality Party