Difference between revisions of "Template:party-logo"
Jump to navigation
Jump to search
m |
m |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{img|{{{1}}}-sm.svg|{{#if:{{{2|}}}|{{{2}}}|25}}|{{#if:{{{3|}}}|{{{3}}}|20}}|ml=0|mr=0|float=none}}<noinclude>{{doc2}}</noinclude> | + | {{img|{{#switch:{{{1}}} |
| + | |APNI=Alliance-Party-of-Northern-Ireland-sm.svg | ||
| + | |AWP=Animal-Welfare-Party-sm.svg | ||
| + | |Brexit=Brexit-Party-sm.svg | ||
| + | |DUP=Democratic-Unionist-Party-sm.svg | ||
| + | |Greens=Green-Party-sm.svg | ||
| + | |Greens-NI=Green-Party-NI-sm.svg | ||
| + | |Greens-Scotland=Green-Party-Scotland-sm.svg | ||
| + | |Independent=Independent-Candidate-sm.svg | ||
| + | |Labour=Labour-Party-sm.svg | ||
| + | |Labour-Coop=Labour-and-Cooperative-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 | ||
| + | |Sinn-Fein=Sinn-Fein-sm.svg | ||
| + | |SNP=Scottish-National-Party-sm.svg | ||
| + | |SPGB=Socialist-Party-of-Great-Britain-sm.png | ||
| + | |TED=English-Democrats-sm.svg | ||
| + | |TIG=Independent-Group-sm.svg | ||
| + | |TIN=Independent-Network-sm.svg | ||
| + | |Tory=Conservatives-sm.svg | ||
| + | |TUV=Traditional-Unionist-Voice-sm.svg | ||
| + | |TYP=Yorkshire-Party-sm.svg | ||
| + | |UKEU=UK-EU-Party-sm.svg | ||
| + | |UKIP=UKIP-sm.svg | ||
| + | |UUP=Ulster-Unionist-Party-sm.svg | ||
| + | |WEP=Womens-Equality-Party-sm.svg | ||
| + | |#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={{#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