Template:Infobox Character: Difference between revisions

From Pactoria Wiki
Jump to navigation Jump to search
Created page with "<includeonly> {{Infobox | above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}{{#if:{{{native_name|}}}|<br><span style="font-weight:normal;">''{{{native_name}}}''</span>}} | autoheaders = y | image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|border|center|alt={{{alt|}}}|upright=1]]}} | caption1 = <div style="text-align:center;">''{{{caption|}}}''</div> | captionstyle = | abovestyle = background:#eaecee;font-size:130%;padding:0.3em; | headerstyle = background..."
 
m Added residence, death date, death place and birth place
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}{{#if:{{{native_name|}}}|<br><span style="font-weight:normal;">''{{{native_name}}}''</span>}}
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
| autoheaders = y
| autoheaders = y


Line 14: Line 14:
| header1 = Biographical information
| header1 = Biographical information


| label2 = <div style="text-align: left;">aliases</div>
| label2 = <div style="text-align: left;">Aliases</div>
| data2 = {{{aliases|}}}
| data2 = {{{aliases|}}}


| label3 = <div style="text-align: left;">nationality</div>
| label3 = <div style="text-align: left;">Nationality</div>
| data3 = {{{nationality|}}}
| data3 = {{{nationality|}}}


| label4 = <div style="text-align: left;">affiliation</div>
| label4 = <div style="text-align: left;">Affiliation</div>
| data4 = {{{affiliation|}}}
| data4 = {{{affiliation|}}}


| label5 = <div style="text-align: left;">religion</div>
| label5 = <div style="text-align: left;">Religion</div>
| data5 = {{{religion|}}}
| data5 = {{{religion|}}}


| label6 = <div style="text-align: left;">language</div>
| label6 = <div style="text-align: left;">Language/s</div>
| data6 = {{{language|}}}
| data6 = {{{languages|}}}


| label7 = <div style="text-align: left;">Origin</div>
| label7 = <div style="text-align: left;">Origin</div>
Line 43: Line 43:
| data11 = {{{birthday|}}}
| data11 = {{{birthday|}}}


| label12 = <div style="text-align: left;">Gender</div>
| label12 = <div style="text-align: left;">Birthplace</div>
| data12 = {{{gender|}}}
| data12 = {{{residence|}}}


| label13 = <div style="text-align: left;">Height</div>
| label13 = <div style="text-align: left;">Gender</div>
| data13 = {{{height|}}}
| data13 = {{{gender|}}}


| label14 = <div style="text-align: left;">Weight</div>
| label14 = <div style="text-align: left;">Residence</div>
| data14 = {{{weight|}}}
| data14 = {{{residence|}}}


| label15 = <div style="text-align: left;">Hair color</div>
| label15 = <div style="text-align: left;">Height</div>
| data15 = {{{hair_color|}}}
| data15 = {{{height|}}}


| label16 = <div style="text-align: left;">Eye color</div>
| label16 = <div style="text-align: left;">Weight</div>
| data16 = {{{eye_color|}}}
| data16 = {{{weight|}}}


| header17 = Player information
| label17 = <div style="text-align: left;">Hair color</div>
| data17 = {{{hair_color|}}}


| label18 = <div style="text-align: left;">Ingame name</div>
| label18 = <div style="text-align: left;">Eye color</div>
| data18 = {{{ingame_name|}}}
| data18 = {{{eye_color|}}}


| label19 = <div style="text-align: left;">Discord</div>
| label19 = <div style="text-align: left;">Death</div>
| data19 = {{{discord|}}}
| data19 = {{{death|}}}


| label20 = <div style="text-align: left;">Join date</div>
| label20 = <div style="text-align: left;">Deathplace</div>
| data20 = {{{join_date|}}}
| data20 = {{{deathplace|}}}
 
| header21 = Player information
 
| label22 = <div style="text-align: left;">Ingame name</div>
| data22 = {{{ingame_name|}}}
 
| label23 = <div style="text-align: left;">Discord</div>
| data23 = {{{discord|}}}
 
| label24 = <div style="text-align: left;">Join date</div>
| data24 = {{{join_date|}}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
<templatedata>
{
"description": "An infobox template for displaying information about characters.",
"params": {
"name": {
"label": "Name",
"description": "The character's name",
"type": "string",
"required": true,
"suggested": true
},
"image": {
"label": "Primary Image",
"description": "Name of the character's portrait file",
"type": "string",
"example": "Character Portrait.png",
"suggested": true
},
"alt": {
"label": "Alternative Image Text",
"description": "Alt text for image description",
"type": "string"
},
"caption": {
"label": "Image Caption",
"description": "Brief description of the image's content",
"type": "string",
"example": "This Character in 2026 AD"
},
"aliases": {
"label": "Aliases",
"description": "Aliases of the character. This can include noble titles, nicknames and so on",
"type": "string",
"example": "\"Duke of Salamander\""
},
"nationality": {
"label": "Nationality",
"description": "The nation the character is from",
"type": "string",
"example": "Chimeria"
},
"affiliation": {
"label": "Affiliation",
"description": "Any type of organization (army, mercenaries, guilds...) the character is part of.",
"type": "string",
"example": "Pactoria Trading Guild"
        },
"religion": {
"label": "Official Religion",
"description": "The nation's official religion",
"type": "content",
"example": "TCodeism"
},
"languages": {
"label": "Spoken Languages",
"description": "List of spoken languages by the character",
"type": "content",
"example": "Rosean<br>Pactorian<br>etc..."
},
"origin": {
"label": "Origin",
"description": "Culture or ethnicity the character comes from",
"type": "string",
"example": "Amerandian"
},
"race": {
"label": "Race",
"description": "Race the character belongs to",
"type": "string",
"example": "Human"
},
"age": {
"label": "Age",
"description": "The character's age",
"type": "string",
"example": "19"
},
"birthday": {
"label": "Birthday",
"description": "The character's birth day",
"type": "string",
"example": "November 19th, 1912"
},
"birthplace": {
"label": "Birthplace",
"description": "The character's birthplace",
"type": "string",
"example": "City of Amerand"
},
"gender": {
"label": "Gender",
"description": "The character's gender",
"type": "string",
"example": "Male"
},
"residence": {
"label": "Residence",
"description": "The character's residence place",
"type": "string",
"example": "Amerand's Townhall"
},
"height": {
"label": "Height",
"description": "The character's height. Both metric and imperial units are recommended",
"type": "string",
"example": "175cm or 5'9"
},
"weight": {
"label": "Weight",
"description": "The character's weight. Both metric and imperial units are recommended",
"type": "string",
"example": "70kg or 154.32lb"
},
"hair_color": {
"label": "Hair color",
"description": "The character's hair color",
"type": "string",
"example": "Dark brown"
},
"eye_color": {
"label": "Eye color",
"description": "The character's eye color",
"type": "string",
"example": "Hazel"
},
"death": {
"label": "Death date",
"description": "The character's date of death",
"type": "string",
"example": "January 2nd, 2029"
},
"deathplace": {
"label": "Deathplace",
"description": "The character's deathplace",
"type": "string",
"example": "City of Amerand"
},
"ingame_name": {
"label": "In-game name",
"description": "The player's in-game name (IGN) in Minecraft",
"type": "string",
"example": "silverpg017"
},
"discord": {
"label": "Discord Username",
"description": "The player's discord username",
"type": "string",
"example": "silverpg017"
},
"join_date": {
"label": "Join Date",
"description": "The date the player joined Pactoria",
"type": "string",
"example": "January 1st, 2025"
}
},
"paramOrder": [
"name",
        "image",
        "caption",
        "alt",
        "aliases",
        "nationality",
        "affiliation",
        "religion",
        "languages",
        "origin",
        "race",
        "age",
        "birthday",
        "birthplace",
        "gender",
        "residence",
        "height",
        "weight",
        "hair_color",
        "eye_color",
        "death",
        "deathplace",
        "ingame_name",
        "discord",
        "join_date"
],
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>
<includeonly>{{#ifeq:{{NAMESPACE}}|doc|[[Category:Characters]]}}</includeonly>
<includeonly>{{#ifeq:{{NAMESPACE}}|doc|[[Category:Characters]]}}</includeonly>

Latest revision as of 21:29, 29 March 2026


An infobox template for displaying information about characters.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The character's name

Stringrequired
Primary Imageimage

Name of the character's portrait file

Example
Character Portrait.png
Stringsuggested
Image Captioncaption

Brief description of the image's content

Example
This Character in 2026 AD
Stringoptional
Alternative Image Textalt

Alt text for image description

Stringoptional
Aliasesaliases

Aliases of the character. This can include noble titles, nicknames and so on

Example
"Duke of Salamander"
Stringoptional
Nationalitynationality

The nation the character is from

Example
Chimeria
Stringoptional
Affiliationaffiliation

Any type of organization (army, mercenaries, guilds...) the character is part of.

Example
Pactoria Trading Guild
Stringoptional
Official Religionreligion

The nation's official religion

Example
TCodeism
Contentoptional
Spoken Languageslanguages

List of spoken languages by the character

Example
Rosean<br>Pactorian<br>etc...
Contentoptional
Originorigin

Culture or ethnicity the character comes from

Example
Amerandian
Stringoptional
Racerace

Race the character belongs to

Example
Human
Stringoptional
Ageage

The character's age

Example
19
Stringoptional
Birthdaybirthday

The character's birth day

Example
November 19th, 1912
Stringoptional
Birthplacebirthplace

The character's birthplace

Example
City of Amerand
Stringoptional
Gendergender

The character's gender

Example
Male
Stringoptional
Residenceresidence

The character's residence place

Example
Amerand's Townhall
Stringoptional
Heightheight

The character's height. Both metric and imperial units are recommended

Example
175cm or 5'9
Stringoptional
Weightweight

The character's weight. Both metric and imperial units are recommended

Example
70kg or 154.32lb
Stringoptional
Hair colorhair_color

The character's hair color

Example
Dark brown
Stringoptional
Eye coloreye_color

The character's eye color

Example
Hazel
Stringoptional
Death datedeath

The character's date of death

Example
January 2nd, 2029
Stringoptional
Deathplacedeathplace

The character's deathplace

Example
City of Amerand
Stringoptional
In-game nameingame_name

The player's in-game name (IGN) in Minecraft

Example
silverpg017
Stringoptional
Discord Usernamediscord

The player's discord username

Example
silverpg017
Stringoptional
Join Datejoin_date

The date the player joined Pactoria

Example
January 1st, 2025
Stringoptional