ഫലകം:Icelandic political colours/doc
This is a documentation subpage for ഫലകം:Icelandic political colours. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
Parameters[തിരുത്തുക]
The template takes up to two parameters and returns the party colour. If a person is independent/nonpartisan then no parameter is passed to the template.
Colour[തിരുത്തുക]
The first parameter is used for choosing the relevant political party. If used alone it will return the colour code for the party's official colour in hexadecimal.
Parameter | Party | Colour | Code | Template |
---|---|---|---|---|
BF | Bright Future | #9932CC | {{Icelandic political colours|BF}} | |
BP | Best Party | #000000 | {{Icelandic political colours|BP}} | |
CM | Citizens' Movement | #FF8C00 | {{Icelandic political colours|CM}} | |
CP | Citizens' Party | #000000 | {{Icelandic political colours|CM}} | |
D | Dawn | #F7D808 | {{Icelandic political colours|D}} | |
IM | Icelandic Movement – Living Country | #4682B4 | {{Icelandic political colours|IM}} | |
IP | Independence Party | #00A5DB | {{Icelandic political colours|IP}} | |
LGM | Left-Green Movement | #C1272D | {{Icelandic political colours|LGM}} | |
LP | Liberal Party | #406899 | {{Icelandic political colours|LP}} | |
M | The Movement | #006A74 | {{Icelandic political colours|M}} | |
NA | National Awakening | #D6AB72 | {{Icelandic political colours|NA}} | |
P | Pirate Party | #800080 | {{Icelandic political colours|P}} | |
PA | People's Alliance | #FF0000 | {{Icelandic political colours|PA}} | |
PP | Progressive Party | #9CD152 | {{Icelandic political colours|PP}} | |
PUP | People's Unity Party – Socialist Party | #FF0000 | {{Icelandic political colours|PUP}} | |
RGM | Right-Green Movement | #008000 | {{Icelandic political colours|RGM}} | |
S | Solidarity | #FF8C00 | {{Icelandic political colours|S}} | |
SDA | Social Democratic Alliance | #FF0000 | {{Icelandic political colours|SDA}} | |
SDP | Social Democratic Party | #FF0000 | {{Icelandic political colours|SDP}} | |
ULL | Union of Liberals and Leftists | #F7D808 | {{Icelandic political colours|ULL}} | |
WL | Women's List | #B60096 | {{Icelandic political colours|WL}} | |
independent/nonpartisan | {{Icelandic political colours}} |
bgc or style[തിരുത്തുക]
The second parameter can have one of two values:
bgc
(background colour)- The template will return the colour code for the political party chosen in the first parameter along with the CSS background-color property.
style
- The template will return the colour code for the political party chosen in the first parameter along with the XHTML style attribute containing the CSS background-color property.