More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Module:Infobox/styles.css" /> | |||
<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|}}}}}}]]}} | ||
<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=Tribe | |||
| | |data={{#if: | ||
| | {{yesno|{{{hybrid|}}}}} | ||
|[[{{{tribe1}}}]]–[[{{{tribe2}}}]] hybrid | |||
| | |{{#if:{{{tribe|}}}|[[{{{tribe}}}]]}} | ||
| | }} | ||
}}<noinclude> | }} | ||
{{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|}}} | |||
}} | |||
</table><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 08:27, 2 February 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 |
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 |