Template:Infobox Character: Difference between revisions
Content deleted Content added
Allow arbitrary first appearance value |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<default>{{PAGENAME}}</default> |
<default>{{PAGENAME}}</default> |
||
</title> |
</title> |
||
< |
<image source="image"> |
||
<caption source="image_caption" /> |
|||
</image> |
|||
<data source="name_ja_jpan"><label>日本語</label></data> |
|||
<data source="name_ja_latn"> |
<data source="name_ja_latn"> |
||
<label>Rōmaji</label> |
<label>Rōmaji</label> |
||
<format>''{{{name_ja_latn}}}''</format> |
<format>''{{{name_ja_latn}}}''</format> |
||
</data> |
|||
<data source="aliases"> |
|||
<label>Aliases</label> |
|||
<format>{{{aliases}}}</format> |
|||
</data> |
</data> |
||
<data source="first_appearance"> |
<data source="first_appearance"> |
||
<label>First Appearance</label> |
<label>First Appearance</label> |
||
<format>[[New Normal, Chapter {{{first_appearance}}}]]</format> |
|||
</data> |
|||
<data source="first_appearance_raw"> |
|||
<label>First Appearance</label> |
|||
</data> |
|||
<data source="grade"> |
|||
<label>Grade</label> |
|||
</data> |
</data> |
||
</infobox><includeonly>[[Category:Character]]</includeonly><noinclude><templatedata> |
|||
</infobox> |
|||
<noinclude> |
|||
<templatedata> |
|||
{ |
{ |
||
"params": { |
"params": { |
||
Line 24: | Line 36: | ||
}, |
}, |
||
"name_ja_jpan": { |
"name_ja_jpan": { |
||
"label": "Name ( |
"label": "Name (日本語)", |
||
"description": "The character's Japanese name as written in kanji, hiragana, and/or katakana", |
"description": "The character's Japanese name as written in kanji, hiragana, and/or katakana", |
||
"example": "秦遥人", |
"example": "秦遥人", |
||
Line 43: | Line 55: | ||
"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" |
|||
}, |
|||
"image": { |
|||
"label": "Image", |
|||
"description": "Representative image of the character", |
|||
"type": "wiki-file-name", |
|||
"suggested": true |
|||
}, |
|||
"image_caption": { |
|||
"label": "Image Caption", |
|||
"description": "Caption for the representative image", |
|||
"type": "content", |
|||
"suggested": true |
|||
}, |
|||
"grade": { |
|||
"label": "Grade", |
|||
"description": "The grade level of students", |
|||
"example": "High School 2<sup>nd</sup> year", |
|||
"type": "content" |
|||
}, |
|||
"aliases": { |
|||
"label": "Aliases", |
|||
"description": "Other names by which the character is known.", |
|||
"type": "content" |
|||
} |
} |
||
}, |
}, |
||
"description": "Infobox for Character pages", |
"description": "Infobox for Character pages", |
||
"format": "block" |
"format": "block", |
||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"image_caption", |
|||
"name_ja_jpan", |
|||
"name_ja_latn", |
|||
"aliases", |
|||
"first_appearance", |
|||
"first_appearance_raw", |
|||
"grade" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata></noinclude> |
||
</noinclude> |
Latest revision as of 22:24, April 27, 2022
Infobox for Character pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The character's name in English
| String | optional |
Image | image | Representative image of the character | File | suggested |
Image Caption | image_caption | Caption for the representative image | Content | suggested |
Name (日本語) | 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 |
Aliases | aliases | Other names by which the character is known. | Content | optional |
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 |
Grade | grade | The grade level of students
| Content | optional |