Jump to content

Editing Template:Infobox

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor">
<div style="text-align:{{{textalign|left}}}">
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor" theme-source="theme">
<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>
    <group>
         <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]]&nbsp;{{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|&nbsp;&nbsp;&nbsp;[[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}}&nbsp;[[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]|&nbsp;}}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}|&nbsp;–&nbsp;|<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d.&nbsp;{{{ended}}}}}}}</span></format></data>
         <data source="founded"><format><div style="float:left; width:4em; height:1em">{{#if:{{{onlypredecessor|}}}|[[{{{onlypredecessor}}}|←]]&nbsp;{{#if:{{{predicon|}}}|[[File:{{{predicon}}}-icon.png|18x18px|link={{{onlypredecessor}}}]]|<nowiki />}}|[[#before|↓]]}}</div><div style="float:right; width:4em; height:1em">{{#if: {{{onlysuccessor|}}}|{{#if:{{{nexticon|}}}|&nbsp;&nbsp;&nbsp;[[File:{{{nexticon}}}-icon.png|18x18px|link={{{onlysuccessor}}}]]|<nowiki />}}&nbsp;[[{{{onlysuccessor|}}}|→]]|{{#if:{{{successor|}}}|[[#after|↓]]|&nbsp;}}}}</div><center><span style="font-size: 125%; font-weight: bold; line-height:100%">{{#if:{{{founded|}}}|{{{founded}}}|{{#if:{{{ended|}}}|<nowiki />|''Unknown lifespan''}}}}{{#if:{{{founded|}}}{{{ended|}}}|&nbsp;–&nbsp;|<nowiki />}}{{#if:{{{ended|}}}|{{{ended}}}|{{#if:{{{founded|}}}|Present|d.&nbsp;{{{ended}}}}}}}</span></format></data>
     </group>
     </group>
Line 13: Line 14:
         <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 29: Line 29:
         <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>
     <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 layout="horizontal">
<group collapse="open">
    <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 collapse="open">
    <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 layout="normal">
     <group collapse="open">
    <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><noinclude>[[Category:Infoboxes]]<templatedata>
</infobox>
{
</div>
"params": {
<noinclude>
"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
Please note that all contributions to Topicalballs Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Topicalballs Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)