More actions
Created basic character infobox |
No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | |||
| title = {{{name|{{PAGENAME}}}}} | |||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|{{{caption|}}}}}}]]}} | |||
| caption1 = {{{caption|}}} | |||
<noinclude> | | header1 = In-universe information | ||
| label2 = Tribe | |||
| data2 = {{#if:{{yesno|{{{hybrid|}}}}}|[[{{{tribe1}}}]]–[[{{{tribe2}}}]] hybrid|{{#if:{{{tribe|}}}|[[{{{tribe}}}]]}}}} | |||
| label3 = Gender | |||
| data3 = {{{gender|}}} | |||
| label4 = Age | |||
| data4 = {{{age|}}} | |||
| header5 = Meta information | |||
| label6 = First appearance | |||
| data6 = {{{first_appearance|}}} | |||
| label7 = Last appearance | |||
| data7 = {{{last_appearance|}}} | |||
}}<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 6: | Line 28: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the character.", | "description": "The name of the character. Defaults to the page title.", | ||
"example": "Clay", | "example": "Clay", | ||
"type": "string", | "type": "string", | ||
Line 13: | Line 35: | ||
"tribe": { | "tribe": { | ||
"label": "Tribe", | "label": "Tribe", | ||
"description": "The tribe of the dragon.", | "description": "The tribe of the dragon. Will automatically link to article.", | ||
"type": " | "type": "string", | ||
"autovalue": "", | "autovalue": "", | ||
"example": "MudWing" | "example": "MudWing", | ||
"suggested": true, | |||
"suggestedvalues": [ | |||
"MudWing", | |||
"SeaWing", | |||
"SandWing", | |||
"RainWing", | |||
"SkyWing", | |||
"IceWing", | |||
"NightWing", | |||
"SilkWing", | |||
"LeafWing", | |||
"HiveWing" | |||
] | |||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"description": "An image of the character.", | "description": "An image of the character. To add a new image, first upload it at Special:Upload, then use the title of the image page for this parameter.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true | ||
Line 30: | Line 65: | ||
}, | }, | ||
"first_appearance": { | "first_appearance": { | ||
"label": "First | "label": "First appearance", | ||
"description": "The book the character first appeared in.", | "description": "The book the character first appeared in.", | ||
"example": "The Dragonet Prophecy", | "example": "The Dragonet Prophecy", | ||
"type": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"last_appearance": { | "last_appearance": { | ||
"label": "Last | "label": "Last appearance", | ||
"description": "The last book the character appeared in.", | "description": "The last book the character appeared in.", | ||
"example": "Talons of Power", | "example": "Talons of Power", | ||
"type": " | "type": "content", | ||
"suggested": true | |||
}, | |||
"age": { | |||
"label": "Age", | |||
"description": "The age of the character.", | |||
"example": "7 years", | |||
"type": "string", | |||
"suggested": true | "suggested": true | ||
}, | |||
"gender": { | |||
"label": "Gender", | |||
"description": "The gender of the character.", | |||
"example": "Male", | |||
"type": "string", | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"Male", | |||
"Female" | |||
] | |||
}, | |||
"hybrid": { | |||
"label": "Hybrid", | |||
"description": "Whether the character is a hybrid. ", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"yes" | |||
], | |||
"default": "no" | |||
}, | |||
"tribe1": { | |||
"label": "Tribe 1", | |||
"description": "The first tribe the dragon is, if it is a hybrid. Ignored if `hybrid` is false.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"MudWing", | |||
"SeaWing", | |||
"SandWing", | |||
"RainWing", | |||
"SkyWing", | |||
"IceWing", | |||
"NightWing", | |||
"SilkWing", | |||
"LeafWing", | |||
"HiveWing" | |||
] | |||
}, | |||
"tribe2": { | |||
"label": "Tribe 2", | |||
"description": "The second tribe the dragon is, if it is a hybrid. Ignored if `hybrid` is false.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"MudWing", | |||
"SeaWing", | |||
"SandWing", | |||
"RainWing", | |||
"SkyWing", | |||
"IceWing", | |||
"NightWing", | |||
"SilkWing", | |||
"LeafWing", | |||
"HiveWing" | |||
] | |||
} | } | ||
}, | }, | ||
Line 50: | Line 146: | ||
"caption", | "caption", | ||
"tribe", | "tribe", | ||
"hybrid", | |||
"tribe1", | |||
"tribe2", | |||
"gender", | |||
"age", | |||
"first_appearance", | "first_appearance", | ||
"last_appearance" | "last_appearance" | ||
] | ], | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:46, 20 December 2024
In-universe information | |
---|---|
Meta information |
An infobox that describes a character
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the character. Defaults to the page title.
| String | required |
Image | image | An image of the character. To add a new image, first upload it at Special:Upload, then use the title of the image page for this parameter. | Page name | suggested |
Caption | caption | A caption for the image. | String | optional |
Tribe | tribe | The tribe of the dragon. Will automatically link to article.
| String | suggested |
Hybrid | hybrid | Whether the character is a hybrid.
| String | optional |
Tribe 1 | tribe1 | The first tribe the dragon is, if it is a hybrid. Ignored if `hybrid` is false.
| String | optional |
Tribe 2 | tribe2 | The second tribe the dragon is, if it is a hybrid. Ignored if `hybrid` is false.
| String | optional |
Gender | gender | The gender of the character.
| String | suggested |
Age | age | The age of the character.
| String | suggested |
First appearance | first_appearance | The book the character first appeared in.
| Content | suggested |
Last appearance | last_appearance | The last book the character appeared in.
| Content | suggested |