Jump to content

Template:Infobox Country: Difference between revisions

From Servantpedia
LBMapper12 (talk | contribs)
Undo revision 4 by LBMapper12 (talk)
Tags: Replaced Undo
LBMapper12 (talk | contribs)
No edit summary
Line 1: Line 1:
<infobox>
<infobox layout="stacked" accent-color-source="themecolor" accent-color-text-source="textcolor">
<title source="conventional_long_name">
<title source="name">
<default>{{PAGENAME}}</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>
</title>
</title>
<image source="Flag&amp;COA"/>
<group>
<data source="Motto">
        <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>
<label>Motto:</label>
    </group>
</data>
<image source="image"><default>PLB-wordmark.png</default><caption source="Caption"><format><center>{{{Caption}}}</center></format></caption></image>
<data source="Anthem">
    <data source="gallery"></data>
<label>Anthem:</label>
<group collapse="open">
</data>
    <header><center>General Information</center></header>
<image source="Map"/>
        <data source="Founder"><label>Founder:</label></data>
<header>Series info</header>
    <data source="Alias"><label>Aliases:</label></data>
<data source="Series_Appearance">
    <data source="Time of Exist"><label>Time of Exist:</label></data>
<label>Series</label>
    <data source="TimeofExist"><label>Time of Exist:</label></data>
</data>
    <data source="Government"><label>Government:</label></data>
<header>General Information</header>
    <data source="Population"><label>Population:</label></data>
<data source="Capital">
    <data source="Area"><label>Territory Size:</label></data>
<label>Capital</label>
        <data source="Languages"><label>Languages:</label></data>
</data>
        <data source="Affiliation"><label>Affiliation:</label></data>
<data source="Largest_City">
    <data source="Religions"><label>Religions:</label></data>
<label>Largest city</label>
        <data source="Capital"><label>Capital City:</label></data>
</data>
        <data source="Diameter"><label>Diameter:</label></data>
<data source="Capital&amp;LargestCity">
        <data source="Mass"><label>Mass:</label></data>
<label>Capital and Largest city</label>
    </group>
</data>
    <group collapse="open">
<data source="Official_Languages">
    <header><center>Ideological Information</center></header>
<label>Official languages</label>
    <data source="Influenced By"><label>Influenced By:</label></data>
</data>
    <data source="Influenced"><label>Influenced:</label></data>
<data source="National_Languages">
    <data source="Variations"><label>Variations:</label></data>
<label>National Languages</label>
    <data source="Notable People"><label>Notable People:</label></data>
</data>
    <data source="Notable Examples"><label>Notable Examples:</label></data>
<data source="Ethnic_Groups">
</group>
<label>Ethnic groups</label>
    <group collapse="open">
</data>
    <header><center>International Relations</center></header>
<data source="Demonyms">
    <data source="Allies"><label>Friends:</label></data>
<label>Demonym(s)</label>
    <data source="Enemies"><label>Enemies:</label></data>
</data>
</group>
<data source="Goverment">
<group collapse="open">
<label>Goverment</label>
    <header><center>Historical Information</center></header>
</data>
    <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data>
<data source="Area">
    <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data>
<label>Area</label>
</group>
</data>
<group>
<data source="GDP_PPP">
    <header><center>Additional Information</center></header>
<label>GDP (PPP)</label>
    <data source="Motto"><label>Motto:</label></data>
</data>
    <data source="Anthem"><label>Anthem:</label></data>
<data source="GDP_Nominal">
</group>
<label>GDP (Nominal)</label>
    <group layout="normal">
</data>
    <header><center>Personal Information</center></header>
<data source="HDI">
    <data source="PersonName"><label>Name:</label></data>
<label>HDI</label>
    <data source="Born"><label>Date of Birth:</label></data>
</data>
    <data source="Death"><label>Date of Death:</label></data>
<data source="Currency">
    <data source="Family"><label>Family Members:</label></data>
<label>Currency</label>
    <data source="Job"><label>Occupation:</label></data>
</data>
</group>
<data source="Internet_TLD">
</infobox><noinclude>[[Category:Infoboxes]]<templatedata>
<label>Label</label>
{
</data>
"params": {
</infobox>
"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."
},
"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"
},
"Allies": {
"description": "The character’s friends/allies. Ideologies don’t use this parameter, they use Likes instead."
},
"Enemies": {
"description": "Motto"
},
"Motto": {
"description": "Songs relating to the character, linking to another section of this wiki where the lyrics are located."
},
"Anthem": {
"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",
"Time of Exist",
"Government",
"Languages",
"Affiliation",
"Religions",
"Capital",
"Allies",
"Enemies",
"Preceded",
"Succeeded",
"Motto",
"Anthem",
"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>

Revision as of 13:12, 25 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.

Template parameters

ParameterDescriptionTypeStatus
NameName

The character's full name, along with its icons.

Unknownrequired
NativeNameNativeName

The character's full name, in their native language.

Unknownrequired
foundedfounded

The year the character is founded.

Unknownrequired
onlypredecessoronlypredecessor

The character's main predecessor.

Unknownrequired
prediconpredicon

The icon of the character's main predecessor.

Unknownrequired
endedended

The year the character ended.

Unknownoptional
onlysuccessoronlysuccessor

The character's main successor.

Unknownoptional
nexticonnexticon

The icon of the character's main successor.

Unknownoptional
imageimage

The main infobox image, drawn by Heterodontosaurus.

Filerequired
CaptionCaption

Image's caption.

Unknownoptional
FounderFounder

The founder of the character. Formatted like (icon) (person) (birth-death)

Unknownoptional
AliasAlias

Other names of the character.

Unknownoptional
Time of ExistTime of Exist TimeofExist

Time of existence of the character.

Unknownsuggested
GovernmentGovernment

The character’s government type. Preferably used on countries.

Unknownoptional
LanguagesLanguages

Languages spoken by the character. Primarily used for countries.

Unknownoptional
AffiliationAffiliation

The character’s affiliations, for countries it’s usually the organizations they are in

Unknownoptional
ReligionsReligions

Religions believed by the character. Primarily used for countries

Unknownoptional
CapitalCapital

The character’s capital city. Primarily used for countries.

Unknownoptional
AlliesAllies

The character’s friends/allies. Ideologies don’t use this parameter, they use Likes instead.

Unknownoptional
EnemiesEnemies

Motto

Unknownoptional
PrecededPreceded

The character's predecessor(s).

Unknownoptional
SucceededSucceeded

The character's successor(s).

Unknownoptional
MottoMotto

Songs relating to the character, linking to another section of this wiki where the lyrics are located.

Unknownoptional
AnthemAnthem

Songs relating to the character, linking to another section of this wiki where the lyrics are located.

Unknownoptional
textcolortextcolor

The colour of the title and header text in the infobox.

Unknownrequired
themecolorthemecolor

The colour of the title and header background in the infobox.

Unknownrequired