Template:CountryInfo

From Heterodontosaurus Balls
Revision as of 18:44, 24 December 2024 by Heterodontosaurus (talk | contribs) (If the “gender” section requires more clarification.)

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name">
  • 2
    <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>
  • 3
    <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>
  • 4
    </title>
  • 5
    <group>
  • 6
    <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>
  • 7
    </group>
  • 8
    <image source="image"><default>PLB-wordmark.png</default><caption source="Caption"><format><center>{{{Caption}}}</center></format></caption></image>
  • 9
    <data source="gallery"></data>
  • 10
    <group layout="stacked">
  • 11
    <header><center>General Information</center></header>
  • 12
    <data source="Founder"><label>Founder:</label></data>
  • 13
    <data source="Alias"><label>Aliases:</label></data>
  • 14
    <data source="Time of Exist"><label>Time of Exist:</label></data>
  • 15
    <data source="TimeofExist"><label>Time of Exist:</label></data>
  • 16
    <data source="Government"><label>Government:</label></data>
  • 17
    <data source="Population"><label>Population:</label></data>
  • 18
    <data source="Land"><label>Territory Size:</label></data>
  • 19
    <data source="Languages"><label>Languages:</label></data>
  • 20
    <data source="Affiliation"><label>Affiliation:</label></data>
  • 21
    <data source="Religions"><label>Religions:</label></data>
  • 22
    <data source="Capital"><label>Capital City:</label></data>
  • 23
    <data source="Alignments"><label>Alignments:</label></data>
  • 24
    <data source="Place of Origin"><label>Place of Origin:</label></data>
  • 25
    <data source="Diameter"><label>Diameter:</label></data>
  • 26
    <data source="Mass"><label>Mass:</label></data>
  • 27
    <data source="Satellites"><label>Satellites:</label></data>
  • 28
    <data source="Gender"><label>Gender:</label><format>{{#switch:{{{Gender|}}}
  • 29
    <data source="Other Gender"><label>Gender:</label></data>

    Opening and ending tag mismatch

  • 30
    |Female={{I|Female}} [[Female]]
  • 31
    |Male={{I|Male}} [[Male]]}}</format></data>

    Incorrect XML markup. Please validate your XML

    Opening and ending tag mismatch

  • 32
    </group>

    Extra content at the end of the document

  • 33
    <group>
  • 34
    <header><center>Ideological Information</center></header>
  • 35
    <data source="Influenced By"><label>Influenced By:</label></data>
  • 36
    <data source="Influenced"><label>Influenced:</label></data>
  • 37
    <data source="Variations"><label>Variations:</label></data>
  • 38
    <data source="Notable People"><label>Notable People:</label></data>
  • 39
    <data source="Notable Examples"><label>Notable Examples:</label></data>
  • 40
    </group>
  • 41
    <group>
  • 42
    <header><center>Relations and Opinions</center></header>
  • 43
    <data source="Friends"><label>Friends:</label></data>
  • 44
    <data source="Enemies"><label>Enemies:</label></data>
  • 45
    <data source="Likes"><label>Likes:</label></data>
  • 46
    <data source="Dislikes"><label>Dislikes:</label></data>
  • 47
    <data source="Food"><label>Favorite Food:</label></data>
  • 48
    <data source="Drink"><label>Favorite Drink:</label></data>
  • 49
    </group>
  • 50
    <group layout="horizontal">
  • 51
    <header><center>Historical Information</center></header>
  • 52
    <data source="Preceded"><label><div id="before"></div>Preceded By:</label></data>
  • 53
    <data source="Succeeded"><label><div id="after"></div>Succeeded By:</label></data>
  • 54
    </group>
  • 55
    <group>
  • 56
    <header><center>Additional Information</center></header>
  • 57
    <data source="Bork"><label>Börk:</label></data>
  • 58
    <data source="Song"><label>Song:</label></data>
  • 59
    </group>
  • 60
    <group layout="normal">
  • 61
    <header><center>Personal Information</center></header>
  • 62
    <data source="PersonName"><label>Name:</label></data>
  • 63
    <data source="Born"><label>Date of Birth:</label></data>
  • 64
    <data source="Death"><label>Date of Death:</label></data>
  • 65
    <data source="Family"><label>Family Members:</label></data>
  • 66
    <data source="Job"><label>Occupation:</label></data>
  • 67
    </group>
  • 68

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[Edit template data]

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
GenderGender

The character's gender, either Male or Female.

Unknownoptional
FriendsFriends

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

Unknownoptional
EnemiesEnemies

The character’s enemies. Ideologies don’t use this parameter, they use Dislikes instead.

Unknownoptional
LikesLikes

What the character likes, like food, hobbies, etc.

Unknownoptional
DislikesDislikes

What the character dislikes.

Unknownoptional
PrecededPreceded

The character's predecessor(s).

Unknownoptional
SucceededSucceeded

The character's successor(s).

Unknownoptional
SongSong

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