m (Fixed indentation errors causing the infobox to not render. Happens to the best of us) |
m (Added text color and year of origin parameters, moved song field to the appropriate section) |
||
Line 1: | Line 1: | ||
<infobox layout="stacked" accent-color-source="themecolor"> | <infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor"> | ||
<title source="title1"><default>{{PAGENAME}}</default></title> | <title source="title1"><default>{{PAGENAME}}</default></title> | ||
<image source="image1"> | <image source="image1"> | ||
Line 14: | Line 14: | ||
<header>Character Information</header> | <header>Character Information</header> | ||
<data source="gangs"><label>Gangs</label></data> | <data source="gangs"><label>Gangs</label></data> | ||
<data source="likes"><label>Likes</label></data> | <data source="likes"><label>Likes</label></data> | ||
<data source="dislikes"><label>Dislikes</label></data> | <data source="dislikes"><label>Dislikes</label></data> | ||
Line 21: | Line 20: | ||
<header>Ideological Information</header> | <header>Ideological Information</header> | ||
<data source="definition"><label>Definition</label></data> | <data source="definition"><label>Definition</label></data> | ||
<data source="song"><label>Song</label></data> | |||
<data source="book"><label>Literature</label></data> | <data source="book"><label>Literature</label></data> | ||
<data source="year"><label>Year of Origin</label></data> | |||
<data source="country"><label>Region of Origin</label></data> | <data source="country"><label>Region of Origin</label></data> | ||
<data source="founder"><label>Founder</label></data> | <data source="founder"><label>Founder</label></data> |
Revision as of 07:19, 27 May 2020
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. |
Description
To use this template, add the {{Ideology}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Usage
This infobox should be used only for ideology pages (e.g. Anarcho-Capitalism, Marxism–Leninism). For UserWiki pages, {{User-Ideology}} should be used instead, as it doesn't automatically add the Ideologies category.
Parameters
Parameter | Optional? | Description |
---|---|---|
themecolor | Yes | Determines the hexidecimal color of the infobox's main header color. |
textcolor | Yes | Determines the hexidecimal color of the infobox's header text color. |
title | No | The title of the infobox. Displays the page name of the title when left blank. Icons should be used in the infobox like this: [[File:Icon1.png]] (Page name) [[File:Icon2-opt.png]] |
image | No | The display image of the infobox. If alternative images are represented, insert the <gallery> brackets. |
caption | Yes | The text under the display image of the infobox if represented. |
aliases | Yes | Lists alternative names and nicknames for the ideology. |
aligments | No | Lists the ideological associations for the ideology. |
influences | No | Lists the ideologies that precured the ideology that lead to their creation. |
influenced | Yes | Lists the ideologies that succeeded the ideology that lead to the creation of other ideologies. |
song | Yes | Links the official song(s) and music to the ideology if any. |
theorists | Yes | Lists notable theorists and practitioners that had or has links to the ideology. |
examples | Yes | Lists notable places in which the ideology had or has been in practice. |
likes | Yes | Lists the ideology's personal likes. |
dislikes | Yes | Lists the ideology's personal dislikes. |
Syntax
{{Ideology |themecolor = |textcolor = |title = |image = |caption = |aliases = |alignments = |influences = |influenced = |song = |theorists = |examples = |likes = |dislikes = |infoboxbackground = |bordercolor = }}
Sample output
{{Ideology |themecolor = #202020 |textcolor = #FDFD00 |title = [[File:Ancapf.png]] Anarcho-Capitalism |image = Ancap.png |caption =Taxation is theft! |aliases = AnCap <br> Right-Anarchism <br> [[File:AnLib.png]] Anarcho-Liberal <br> Capitalist Anarchism <br> [[File:Volu.png]] Voluntaryism <br> Radical Capitalism <br> RadCap <br> Rothbardianism <br> [[File:Feud.png]] Neo-Feudalism (By [[File:Soc-h.png]] [[:Category:Left_Unity|Leftists]]) |alignments = [[File:Libright-yellow.png]] [[LibRight]] <br> [[File:Awaj.png]] [[:Category:Anarchists|Anarchists]] <br> [[File:Cap.png]] [[:Category:Capitalists|Capitalists]] <br> [[File:Libertarian.png]] [[:Category:Libertarians|Libertarians]] |influences = [[File:Anin.png]] [[Anarcho-Individualism]] <br> [[File:Austrobert.png]] [[Austrian School]] <br> [[File:Awaj.png]] [[Anarchism]] <br> [[File:Minarchist.png]] [[Minarchism]] <br> |influenced = [[File:Agorismf.png]] [[Agorism]] <br> [[File:Cryptan.png]] [[Crypto-Anarchism]] <br> [[File:Hoppef.png]] [[Hoppeanism]] <br> [[File:Angeo.png]] [[Geoanarchism]] <br> [[File:LeftRothbardianismPix.png]] [[Left-Rothbardianism]] |definition = |song = [https://www.youtube.com/watch?v=YxTpevct8Ys When Money Comes Marching Home] |theorists = [[w:Murray Rothbard|Murray Rothbard (1926-1995)]], [[File:Cball-US.png]] USA, 1949 |likes =NAP <br> McNukes <br> Rothbard |dislikes =Statists <br> Collectivists <br> Taxes <br> Roads }}