Template:Infobox character: Difference between revisions

nice
m (Englishguy4 moved page Template:Infobox test to Template:Infobox character without leaving a redirect)
(nice)
Line 10: Line 10:
     <label>Birthday</label>
     <label>Birthday</label>
   </data>
   </data>
   <data source="ability">
   <data source="abilities">
     <label>Ability</label>
     <label>Abilities</label>
   </data>
   </data>
   <data source="position">
   <data source="position">
Line 18: Line 18:
   <data source="affinity">
   <data source="affinity">
     <label>Affinity</label>
     <label>Affinity</label>
  </data>
  <data source="likes">
    <label>Likes</label>
  </data>
  <data source="dislikes">
    <label>Dislikes</label>
   </data>
   </data>
   <data source="height">
   <data source="height">
Line 35: Line 41:
"name": {
"name": {
"label": "Name",
"label": "Name",
"description": "The subject of the infobox",
"description": "The character's full name",
"example": "Tiny"
"example": "Tiny",
"required": true,
"type": "string",
"autovalue": ""
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "Usually a picture of what the article is describing.",
"description": "A picture of the character",
"example": "Tiny.png",
"example": "Tiny.png",
"type": "wiki-file-name",
"type": "wiki-file-name",
Line 48: Line 57:
"label": "Birthday",
"label": "Birthday",
"description": "The day someone was born",
"description": "The day someone was born",
"example": "2002-01-14",
"example": "January 14, 2002",
"type": "date",
"type": "date",
"default": "Unknown"
"default": "Unknown"
},
"abilities": {
"label": "Abilities",
"description": "Things that the character specializes in.",
"type": "string",
"example": "Getting distracted"
},
"position": {
"label": "Position",
"description": "Their job, basically.",
"example": "Unemployed",
"type": "string",
"default": "Unknown"
},
"affinity": {
"label": "Affinity",
"description": "Who the character affiliates with.",
"type": "string"
},
"likes": {
"label": "Likes",
"description": "The character's favourite things",
"example": "Strawberry milk",
"type": "string"
},
"dislikes": {
"label": "Dislikes",
"description": "The character's least favourite things.",
"example": "The banana",
"type": "string"
},
"height": {
"label": "Height",
"description": "The character's height.",
"example": "Below-average",
"type": "string"
},
"first-appearance": {
"label": "First Appearance",
"description": "The media in which the character was first introduced.",
"example": "[[Project Eeveesauce (2019]]",
"type": "string"
},
"last-appearance": {
"label": "Last Appearance",
"description": "The media in which the character was last seen.",
"example": "[[Return of the Eeveesauce]]",
"type": "string"
}
}
},
},
"description": "An infobox template "
"description": "A general infobox template for characters.",
"paramOrder": [
"name",
"image",
"birthday",
"abilities",
"position",
"affinity",
"likes",
"dislikes",
"height",
"first-appearance",
"last-appearance"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>