Template:Infobox Character: Difference between revisions
Content deleted Content added
Allow arbitrary first appearance value |
Add first_appearance_raw |
||
Line 9: | Line 9: | ||
</data> |
</data> |
||
<data source="first_appearance"> |
<data source="first_appearance"> |
||
<label>First Appearance</label> |
|||
<format>[[Chapter {{{first_appearance}}}]]</format> |
|||
</data> |
|||
<data source="first_appearance_raw"> |
|||
<label>First Appearance</label> |
<label>First Appearance</label> |
||
</data> |
</data> |
||
Line 43: | Line 47: | ||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true |
||
}, |
|||
"first_appearance_raw": { |
|||
"label": "First Appearance (Raw)", |
|||
"description": "Same as first_appearance, but accepts arbitrary wikitext", |
|||
"type": "content" |
|||
} |
} |
||
}, |
}, |
||
"description": "Infobox for Character pages", |
"description": "Infobox for Character pages", |
||
"format": "block" |
"format": "block", |
||
"paramOrder": [ |
|||
"name", |
|||
"name_ja_jpan", |
|||
"name_ja_latn", |
|||
"first_appearance", |
|||
"first_appearance_raw" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Revision as of 03:23, June 25, 2021
Infobox for Character pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The character's name in English
| String | optional |
Name (Japanese) | name_ja_jpan | The character's Japanese name as written in kanji, hiragana, and/or katakana
| String | required |
Name (Rōmaji) | name_ja_latn | The character's Japanese name as written in Modified Hepburn romanization
| String | required |
First Appearance | first_appearance | The chapter number in which the character first appeared
| String | required |
First Appearance (Raw) | first_appearance_raw | Same as first_appearance, but accepts arbitrary wikitext | Content | optional |