More actions
Make tribe, first appearance, and last appearance links |
If no image is provided, add Category:Character pages without image |
||
| (22 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Module:Infobox/styles.css" /> | |||
<noinclude> | <table class="infobox"> | ||
<caption class="infobox-title">{{{name|{{PAGENAME}}}}}</caption> | |||
<tr> | |||
<td colspan="2" class="infobox-image"> | |||
{{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|{{{caption|}}}}}}]]|[[Category:Character pages without image]]}} | |||
<div class="infobox-caption">{{{caption|}}}</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="infobox-image"> | |||
{{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{image_size2|250px}}}|alt={{{alt2|{{{caption2|}}}}}}]]}} | |||
<div class="infobox-caption">{{{caption2|}}}</div> | |||
</td> | |||
</tr> | |||
{{infobox/row|header=In-universe information}} | |||
{{infobox/row | |||
|label=Species | |||
|data={{{species|}}} | |||
}} | |||
{{infobox/row | |||
|label=Tribe | |||
|data={{#if: | |||
{{yesno|{{{hybrid|}}}}} | |||
|[[{{{tribe1}}}]]–[[{{{tribe2}}}]] hybrid | |||
|{{#if:{{{tribe|}}}|[[{{{tribe}}}]]}} | |||
}} | |||
}} | |||
{{infobox/row | |||
|label=Gender | |||
|data={{{gender|}}} | |||
}} | |||
{{infobox/row | |||
|label=Age | |||
|data={{{age|}}} | |||
}} | |||
{{infobox/row|header=Meta information}} | |||
{{infobox/row | |||
|label=First appearance | |||
|data={{{first_appearance|}}} | |||
}} | |||
{{infobox/row | |||
|label=Last appearance | |||
|data={{{last_appearance|}}} | |||
}} | |||
{{infobox/row | |||
|data= | |||
{{Character infobox/Book appearances | |||
|arc1appearances={{{arc1appearances|}}} | |||
|arc1mentions={{{arc1mentions|}}} | |||
|arc2appearances={{{arc2appearances|}}} | |||
|arc2mentions={{{arc2mentions|}}} | |||
|arc3appearances={{{arc3appearances|}}} | |||
|arc3mentions={{{arc3mentions|}}} | |||
|otherappearances={{{otherappearances|}}} | |||
|othermentions={{{othermentions|}}} | |||
}} | |||
}} | |||
</table><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 6: | Line 63: | ||
"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 70: | ||
"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 | "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 31: | Line 100: | ||
}, | }, | ||
"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", | ||
" | "deprecated": "Use appearances instead" | ||
}, | }, | ||
"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", | ||
" | "deprecated": "Use appearances instead" | ||
}, | }, | ||
"age": { | "age": { | ||
| Line 55: | Line 124: | ||
"description": "The gender of the character.", | "description": "The gender of the character.", | ||
"example": "Male", | "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" | |||
] | |||
}, | |||
"image_size": { | |||
"label": "Image size", | |||
"description": "The size of the image. Defaults to 250px.", | |||
"type": "string", | |||
"default": "250px" | |||
}, | |||
"alt": { | |||
"label": "Alt text", | |||
"description": "The alt text of the image.", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"image2": { | |||
"label": "Image 2", | |||
"description": "Another image of the character, if any.", | |||
"type": "wiki-file-name" | |||
}, | |||
"image_size2": { | |||
"label": "Image 2 size", | |||
"description": "The size of the second image" | |||
}, | |||
"alt2": { | |||
"label": "Image 2 alt text", | |||
"description": "The alt text of the second image." | |||
}, | |||
"caption2": { | |||
"label": "Image 2 caption", | |||
"description": "The caption of the second image.", | |||
"example": "Blue on the cover of ''[[The Lost Continent]]''", | |||
"type": "content" | |||
}, | |||
"arc1appearances": { | |||
"label": "Arc 1 appearances", | |||
"description": "Appearances of this character for arc 1 (The Dragonet Prophecy Arc) as a space-delimited string of abbreviations (e.g. TDP)", | |||
"example": "TDP TLH THK TDS TBN", | |||
"type": "string" | |||
}, | |||
"arc1mentions": { | |||
"label": "Arc 1 mentions", | |||
"description": "Mentions of this character for arc 1 (The Dragonet Prophecy Arc) as a space-delimited string of abbreviations (e.g. MR)", | |||
"example": "TDP TLH THK TDS TBN", | |||
"type": "string" | |||
}, | |||
"arc2appearances": { | |||
"label": "Arc 2 appearances", | |||
"description": "Mentions of this character for arc 2 (The Jade Mountain Academy Arc) as a space-delimited string of abbreviations (e.g. MR)", | |||
"example": "MR WT EP TOP DOD", | |||
"type": "string" | |||
}, | |||
"arc2mentions": { | |||
"label": "Arc 2 mentions", | |||
"description": "Mentions of this character for arc 2 (The Jade Mountain Academy Arc) as a space-delimited string of abbreviations (e.g. MR)", | |||
"example": "MR WT EP TOP DOD", | |||
"type": "string" | |||
}, | |||
"arc3appearances": { | |||
"label": "Arc 3 appearances", | |||
"description": "Appearances of this character for arc 3 (The Lost Continent Prophecy Arc) as a space-delimited string of abbreviations (e.g. TLC)", | |||
"example": "TLC THQ TPJ TDG TFOH", | |||
"type": "string" | |||
}, | |||
"arc3mentions": { | |||
"label": "Arc 3 mentions", | |||
"description": "Mentions of this character for arc 3 (The Lost Continent Prophecy Arc) as a space-delimited string of abbreviations (e.g. TLC)", | |||
"example": "TLC THQ TPJ TDG TFOH", | |||
"type": "string" | |||
}, | |||
"otherappearances": { | |||
"label": "Other appearances", | |||
"description": "Appearances of this character in non-main-series books (Winglets, Legends) as a space-delimited string of abbreviations (e.g. W:P)", | |||
"example": "W:P W:A W:D W:R L1 L2", | |||
"type": "string" | |||
}, | |||
"othermentions": { | |||
"label": "Other mentions", | |||
"description": "Mentions of this character in non-main-series books (Winglets, Legends) as a space-delimited string of abbreviations (e.g. W:P)", | |||
"example": "W:P W:A W:D W:R L1 L2", | |||
"type": "string" | |||
}, | |||
"species": { | |||
"label": "Species", | |||
"description": "If not a dragon, the species of this character", | |||
"example": "Scavenger", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Cat", | |||
"Sloth", | |||
"Human" | |||
] | |||
} | } | ||
}, | }, | ||
| Line 63: | Line 269: | ||
"name", | "name", | ||
"image", | "image", | ||
"image_size", | |||
"caption", | "caption", | ||
"alt", | |||
"image2", | |||
"image_size2", | |||
"alt2", | |||
"caption2", | |||
"species", | |||
"tribe", | "tribe", | ||
"hybrid", | |||
"tribe1", | |||
"tribe2", | |||
"gender", | "gender", | ||
"age", | "age", | ||
"first_appearance", | "first_appearance", | ||
"last_appearance" | "last_appearance", | ||
] | "arc1appearances", | ||
"arc1mentions", | |||
"arc2appearances", | |||
"arc2mentions", | |||
"arc3appearances", | |||
"arc3mentions", | |||
"otherappearances", | |||
"othermentions" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:37, 10 July 2025
| 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 |
| Image size | image_size | The size of the image. Defaults to 250px.
| String | optional |
| Caption | caption | A caption for the image. | String | optional |
| Alt text | alt | The alt text of the image. | String | suggested |
| Image 2 | image2 | Another image of the character, if any. | File | optional |
| Image 2 size | image_size2 | The size of the second image | Unknown | optional |
| Image 2 alt text | alt2 | The alt text of the second image. | Unknown | optional |
| Image 2 caption | caption2 | The caption of the second image.
| Content | optional |
| Species | species | If not a dragon, the species of this character
| 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 | deprecated |
| Last appearance | last_appearance | The last book the character appeared in.
| Content | deprecated |
| Arc 1 appearances | arc1appearances | Appearances of this character for arc 1 (The Dragonet Prophecy Arc) as a space-delimited string of abbreviations (e.g. TDP)
| String | optional |
| Arc 1 mentions | arc1mentions | Mentions of this character for arc 1 (The Dragonet Prophecy Arc) as a space-delimited string of abbreviations (e.g. MR)
| String | optional |
| Arc 2 appearances | arc2appearances | Mentions of this character for arc 2 (The Jade Mountain Academy Arc) as a space-delimited string of abbreviations (e.g. MR)
| String | optional |
| Arc 2 mentions | arc2mentions | Mentions of this character for arc 2 (The Jade Mountain Academy Arc) as a space-delimited string of abbreviations (e.g. MR)
| String | optional |
| Arc 3 appearances | arc3appearances | Appearances of this character for arc 3 (The Lost Continent Prophecy Arc) as a space-delimited string of abbreviations (e.g. TLC)
| String | optional |
| Arc 3 mentions | arc3mentions | Mentions of this character for arc 3 (The Lost Continent Prophecy Arc) as a space-delimited string of abbreviations (e.g. TLC)
| String | optional |
| Other appearances | otherappearances | Appearances of this character in non-main-series books (Winglets, Legends) as a space-delimited string of abbreviations (e.g. W:P)
| String | optional |
| Other mentions | othermentions | Mentions of this character in non-main-series books (Winglets, Legends) as a space-delimited string of abbreviations (e.g. W:P)
| String | optional |