Template:Infobox character/doc: Difference between revisions

From Chicory: A Colorful Tale Wiki
Content added Content deleted
(change to pronouns field)
(add templatedata)
 
Line 5: Line 5:
|image=Pizza character.png
|image=Pizza character.png
|species=Dog
|species=Dog
|location=Luncheon
|location=[[Luncheon]]
|pronouns=Any (player's choice)
|pronouns=Any (Player’s choice)
|occupation=Wielder<br>Janitor (Formerly)<br>Barista (formerly)
|occupation=Wielder<br>Janitor (Formerly)<br>Barista (Formerly)
|relationships=[[Clementine]] (sister)
|relationships=[[Chicory]] (Mentor, Friend)<br>[[Clementine]] (Sister)<br>[[Mom]] (Mother)<br>[[Dad]] (Father)
|style="I do my best"
|style=I do my best
}}
}}


Line 17: Line 17:
|image=Pizza character.png
|image=Pizza character.png
|species=Dog
|species=Dog
|location=Luncheon
|location=[[Luncheon]]
|pronouns=Any (player's choice)
|pronouns=Any (Player’s choice)
|occupation=Wielder<br>Janitor (Formerly)<br>Barista (formerly)
|occupation=Wielder<br>Janitor (Formerly)<br>Barista (Formerly)
|relationships=[[Clementine]] (sister)
|relationships=[[Chicory]] (Mentor, Friend)<br>[[Clementine]] (Sister)<br>[[Mom]] (Mother)<br>[[Dad]] (Father)
|style="I do my best"
|style=I do my best
}}
}}
</pre>
</pre>

== TemplateData ==
<templatedata>
{
"params": {
"title": {
"label": "Title",
"description": "Character name",
"example": "Pizza",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "Character image",
"example": "Pizza character.png",
"type": "wiki-file-name",
"suggested": true
},
"species": {
"label": "Species",
"description": "Character species",
"example": "Dog",
"type": "string",
"suggested": true
},
"location": {
"label": "Location",
"description": "Character location, usually where they live/locate",
"example": "[[Luncheon]]",
"type": "string",
"suggested": true
},
"occupation": {
"label": "Occupation",
"description": "Character occupation",
"example": "Wielder",
"type": "string"
},
"relationships": {
"label": "Relationships",
"description": "Character relationships",
"example": "[[Clementine]] (Sister)",
"type": "string"
},
"style": {
"label": "Art style",
"description": "Wielder art style, only used for wielders like [[Pizza]], [[Chicory]] and [[Blackberry]]",
"example": "I do my best",
"type": "string"
},
"pronouns": {
"label": "Pronouns",
"description": "Character pronouns, please use the character list/text viewer linked at [[Project:Editing guidelines]] if you're unsure",
"example": "They/Them",
"type": "string",
"suggestedvalues": [
"They/Them",
"She/Her",
"He/Him"
],
"suggested": true
}
},
"description": "Infobox for game characters",
"paramOrder": [
"title",
"image",
"species",
"location",
"pronouns",
"occupation",
"relationships",
"style"
],
"format": "block"
}
</templatedata>

Latest revision as of 08:11, 12 March 2024

Sample infobox:

{{Infobox character
|title=Pizza
|image=Pizza character.png
|species=Dog
|location=[[Luncheon]]
|pronouns=Any (Player’s choice)
|occupation=Wielder<br>Janitor (Formerly)<br>Barista (Formerly)
|relationships=[[Chicory]] (Mentor, Friend)<br>[[Clementine]] (Sister)<br>[[Mom]] (Mother)<br>[[Dad]] (Father)
|style=I do my best
}}

TemplateData[edit source]

Infobox for game characters

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Character name

Example
Pizza
Stringsuggested
Imageimage

Character image

Example
Pizza character.png
Filesuggested
Speciesspecies

Character species

Example
Dog
Stringsuggested
Locationlocation

Character location, usually where they live/locate

Example
[[Luncheon]]
Stringsuggested
Pronounspronouns

Character pronouns, please use the character list/text viewer linked at [[Project:Editing guidelines]] if you're unsure

Suggested values
They/Them She/Her He/Him
Example
They/Them
Stringsuggested
Occupationoccupation

Character occupation

Example
Wielder
Stringoptional
Relationshipsrelationships

Character relationships

Example
[[Clementine]] (Sister)
Stringoptional
Art stylestyle

Wielder art style, only used for wielders like [[Pizza]], [[Chicory]] and [[Blackberry]]

Example
I do my best
Stringoptional