Template:Infobox: Difference between revisions
Undo revision 37 by Polandballpedia (talk) Tag: Undo |
LBMapper12 (talk | contribs) No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor"> | |||
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor | |||
<title source="name"> | <title source="name"> | ||
<default><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%;">{{{NativeName}}}<br/></span></span></default> | <default><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%;">{{{NativeName}}}<br/></span></span></default> | ||
<format><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%; ">{{{NativeName}}}<br/></span></span></format> | <format><span style="font-size:{{#switch:{{{font-size|}}}|big=16px|medium=14px|small=12px|#default=16px}}; line-height:120% !important; text-align: center; display: block; padding-top:2px"><big>'''{{{Name}}}'''</big><br/><span style="font-size:80%; ">{{{NativeName}}}<br/></span></span></format> | ||
</title> | </title> | ||
<group> | |||
<data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]] {{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}| [[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}} [[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]| }}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}| – |<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d. {{{ended}}}}}}}</span></format></data> | <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]] {{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}| [[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}} [[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]| }}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}| – |<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d. {{{ended}}}}}}}</span></format></data> | ||
</group> | </group> | ||
Line 14: | Line 13: | ||
<data source="Founder"><label>Founder:</label></data> | <data source="Founder"><label>Founder:</label></data> | ||
<data source="Alias"><label>Aliases:</label></data> | <data source="Alias"><label>Aliases:</label></data> | ||
<data source="Personality"><label>Personality:</label></data> | |||
<data source="Time of Exist"><label>Time of Exist:</label></data> | <data source="Time of Exist"><label>Time of Exist:</label></data> | ||
<data source="TimeofExist"><label>Time of Exist:</label></data> | <data source="TimeofExist"><label>Time of Exist:</label></data> | ||
Line 28: | Line 28: | ||
<data source="Mass"><label>Mass:</label></data> | <data source="Mass"><label>Mass:</label></data> | ||
<data source="Satellites"><label>Satellites:</label></data> | <data source="Satellites"><label>Satellites:</label></data> | ||
<data source="Gender"><label>Gender:</label><data> | <data source="Gender"><label>Gender:</label></data> | ||
</group> | |||
<group collapse="open"> | <group collapse="open"> | ||
<header><center>Ideological Information</center></header> | <header><center>Ideological Information</center></header> | ||
Line 47: | Line 47: | ||
<data source="Drink"><label>Favorite Drink:</label></data> | <data source="Drink"><label>Favorite Drink:</label></data> | ||
</group> | </group> | ||
<group | <group layout="horizontal"> | ||
<header><center>Historical Information</center></header> | <header><center>Historical Information</center></header> | ||
<data source="Preceded"><label><div id="before"></div>Preceded By:</label></data> | <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data> | ||
<data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data> | <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data> | ||
</group> | </group> | ||
<group | <group> | ||
<header><center>Additional Information</center></header> | <header><center>Additional Information</center></header> | ||
<data source="Bork"><label>Börk:</label></data> | <data source="Bork"><label>Börk:</label></data> | ||
<data source="Song"><label>Song:</label></data> | <data source="Song"><label>Song:</label></data> | ||
</group> | </group> | ||
<group | <group layout="normal"> | ||
<header><center>Personal Information</center></header> | <header><center>Personal Information</center></header> | ||
<data source="PersonName"><label>Name:</label></data> | <data source="PersonName"><label>Name:</label></data> | ||
Line 65: | Line 65: | ||
<data source="Job"><label>Occupation:</label></data> | <data source="Job"><label>Occupation:</label></data> | ||
</group> | </group> | ||
</infobox> | </infobox><noinclude>[[Category:Infoboxes]]<templatedata> | ||
</ | { | ||
<noinclude> | "params": { | ||
"Gender": { | |||
"description": "The character's gender, either Male or Female." | |||
}, | |||
"Name": { | |||
"description": "The character's full name, along with its icons.", | |||
"required": true | |||
}, | |||
"NativeName": { | |||
"description": "The character's full name, in their native language.", | |||
"required": true | |||
}, | |||
"onlypredecessor": { | |||
"description": "The character's main predecessor.", | |||
"required": true | |||
}, | |||
"predicon": { | |||
"description": "The icon of the character's main predecessor.", | |||
"required": true | |||
}, | |||
"onlysuccessor": { | |||
"description": "The character's main successor." | |||
}, | |||
"nexticon": { | |||
"description": "The icon of the character's main successor." | |||
}, | |||
"founded": { | |||
"description": "The year the character is founded.", | |||
"required": true | |||
}, | |||
"ended": { | |||
"description": "The year the character ended." | |||
}, | |||
"Caption": { | |||
"description": "Image's caption." | |||
}, | |||
"image": { | |||
"description": "The main infobox image, drawn by Heterodontosaurus.", | |||
"suggested": true, | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"Alias": { | |||
"description": "Other names of the character." | |||
}, | |||
"Personality": { | |||
"description": "The character's personality." | |||
}, | |||
"Succeeded": { | |||
"description": "The character's successor(s)." | |||
}, | |||
"Preceded": { | |||
"description": "The character's predecessor(s)." | |||
}, | |||
"textcolor": { | |||
"description": "The colour of the title and header text in the infobox.", | |||
"required": true | |||
}, | |||
"themecolor": { | |||
"description": "The colour of the title and header background in the infobox.", | |||
"required": true | |||
}, | |||
"Founder": { | |||
"description": "The founder of the character. Formatted like (icon) (person) (birth-death)" | |||
}, | |||
"Time of Exist": { | |||
"description": "Time of existence of the character.", | |||
"suggested": true, | |||
"aliases": [ | |||
"TimeofExist" | |||
] | |||
}, | |||
"Government": { | |||
"description": "The character’s government type. Preferably used on countries." | |||
}, | |||
"Affiliation": { | |||
"description": "The character’s affiliations, for countries it’s usually the organizations they are in" | |||
}, | |||
"Languages": { | |||
"description": "Languages spoken by the character. Primarily used for countries." | |||
}, | |||
"Religions": { | |||
"description": "Religions believed by the character. Primarily used for countries" | |||
}, | |||
"Friends": { | |||
"description": "The character’s friends/allies. Ideologies don’t use this parameter, they use Likes instead." | |||
}, | |||
"Enemies": { | |||
"description": "The character’s enemies. Ideologies don’t use this parameter, they use Dislikes instead." | |||
}, | |||
"Likes": { | |||
"description": "What the character likes, like food, hobbies, etc." | |||
}, | |||
"Dislikes": { | |||
"description": "What the character dislikes." | |||
}, | |||
"Song": { | |||
"description": "Songs relating to the character, linking to another section of this wiki where the lyrics are located." | |||
}, | |||
"Capital": { | |||
"description": "The character’s capital city. Primarily used for countries." | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Name", | |||
"NativeName", | |||
"founded", | |||
"onlypredecessor", | |||
"predicon", | |||
"ended", | |||
"onlysuccessor", | |||
"nexticon", | |||
"image", | |||
"Caption", | |||
"Founder", | |||
"Alias", | |||
"Personality", | |||
"Time of Exist", | |||
"Government", | |||
"Languages", | |||
"Affiliation", | |||
"Religions", | |||
"Capital", | |||
"Gender", | |||
"Friends", | |||
"Enemies", | |||
"Likes", | |||
"Dislikes", | |||
"Preceded", | |||
"Succeeded", | |||
"Song", | |||
"textcolor", | |||
"themecolor" | |||
], | |||
"description": "The infobox you use for all the character pages. Warning: editing from this infobox in visual edit mode adds some unnecessary code that mess up the page. Make sure to remove it before you save." | |||
} | |||
</templatedata></noinclude> | |||
<!-- COPY AND PASTE ME IN THE DESCRIPTION for countryballs | <!-- COPY AND PASTE ME IN THE DESCRIPTION for countryballs | ||
{{CountryInfo | {{CountryInfo |
Latest revision as of 10:46, 24 December 2024
The infobox you use for all the character pages. Warning: editing from this infobox in visual edit mode adds some unnecessary code that mess up the page. Make sure to remove it before you save.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | The character's full name, along with its icons. | Unknown | required |
NativeName | NativeName | The character's full name, in their native language. | Unknown | required |
founded | founded | The year the character is founded. | Unknown | required |
onlypredecessor | onlypredecessor | The character's main predecessor. | Unknown | required |
predicon | predicon | The icon of the character's main predecessor. | Unknown | required |
ended | ended | The year the character ended. | Unknown | optional |
onlysuccessor | onlysuccessor | The character's main successor. | Unknown | optional |
nexticon | nexticon | The icon of the character's main successor. | Unknown | optional |
image | image | The main infobox image, drawn by Heterodontosaurus. | File | required |
Caption | Caption | Image's caption. | Unknown | optional |
Founder | Founder | The founder of the character. Formatted like (icon) (person) (birth-death) | Unknown | optional |
Alias | Alias | Other names of the character. | Unknown | optional |
Personality | Personality | The character's personality. | Unknown | optional |
Time of Exist | Time of Exist TimeofExist | Time of existence of the character. | Unknown | suggested |
Government | Government | The character’s government type. Preferably used on countries. | Unknown | optional |
Languages | Languages | Languages spoken by the character. Primarily used for countries. | Unknown | optional |
Affiliation | Affiliation | The character’s affiliations, for countries it’s usually the organizations they are in | Unknown | optional |
Religions | Religions | Religions believed by the character. Primarily used for countries | Unknown | optional |
Capital | Capital | The character’s capital city. Primarily used for countries. | Unknown | optional |
Gender | Gender | The character's gender, either Male or Female. | Unknown | optional |
Friends | Friends | The character’s friends/allies. Ideologies don’t use this parameter, they use Likes instead. | Unknown | optional |
Enemies | Enemies | The character’s enemies. Ideologies don’t use this parameter, they use Dislikes instead. | Unknown | optional |
Likes | Likes | What the character likes, like food, hobbies, etc. | Unknown | optional |
Dislikes | Dislikes | What the character dislikes. | Unknown | optional |
Preceded | Preceded | The character's predecessor(s). | Unknown | optional |
Succeeded | Succeeded | The character's successor(s). | Unknown | optional |
Song | Song | Songs relating to the character, linking to another section of this wiki where the lyrics are located. | Unknown | optional |
textcolor | textcolor | The colour of the title and header text in the infobox. | Unknown | required |
themecolor | themecolor | The colour of the title and header background in the infobox. | Unknown | required |