Template:Infobox Character: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
<includeonly><table class="infobox">
  <title source="name_en"><default>{{PAGENAME}}</default></title>
<tr>
  <image source="image">
<th class="infobox-title" colspan=2>{{{name_en|{{PAGENAME}}}}}</th>
    <caption source="imagecaption" />
</tr>
  </image>
{{#if:{{{epithet|}}}|
  <group>
<tr>
    <header>Names</header>
<th class="infobox-subheader" colspan=2>''"{{{epithet}}}"''</th>
    <data source="name_en">
</tr>
      <label>English</label>
}}
    </data>
{{#if:{{{image_main|}}}|
    <data source="name_jp">
<tr>
      <label>Kanji</label>
<td class="infobox-image" colspan=2>{{Infobox Character/Images|
    </data>
| main = {{{image_main|}}}
    <data source="name_kana">
| race = {{{image_race|}}}
      <label>Kana</label>
| proto = {{{image_proto|}}}
    </data>
| stage = {{{image_stage|}}}
    <data source="name_ro">
}}</td>
      <label>Romaji</label>
</tr>
      <format>''{{{name_ro}}}''</format>
}}
    </data>
<tr><td colspan=2><hr/></td></tr>
    <data source="name_cn">
<tr>
      <label>Chinese</label>
<th class="infobox-subheader" colspan=2>Names</th>
    </data>
</tr>
    <data source="name_kr">
{{#if:{{{name_en|}}}|
      <label>Korean</label>
<tr>
    </data>
<td>''English''</td>
    <data source="nicknames">
<td>{{{name_en}}}</td>
      <label>Nicknames</label>
</tr>
    </data>
}}
  </group>
{{#if:{{{name_jp|}}}|
  <group>
<tr>
    <header>Profile</header>
<td>''Japanese''</td>
    <data source="birthday">
<td>{{{name_jp}}}</td>
      <label>Birthday</label>
</tr>
    </data>
}}
    <data source="class">
{{#if:{{{name_kana|}}}|
      <label>Class</label>
<tr>
    </data>
<td>''Kana''</td>
    <data source="dorm">
<td>{{{name_kana}}}</td>
      <label>Dorm</label>
</tr>
    </data>
}}
    <data source="roommate">
{{#if:{{{name_ro|}}}|
      <label>Roommate</label>
<tr>
      <format>[[{{{roommate}}}]]</format>
<td>''Romaji''</td>
    </data>
<td>''{{{name_ro}}}''</td>
    <data source="height">
</tr>
      <label>Height</label>
}}
      <format>{{{height}}}cm</format>
{{#if:{{{name_tcn|}}}|
    </data>
<tr>
    <data source="threesizes">
<td>''Chinese (Traditional)''</td>
      <label>Three Sizes</label>
<td>{{{name_tcn}}}</td>
    </data>
</tr>
    <data source="shoesize">
}}
      <label>Shoe Size</label>
{{#if:{{{name_scn|}}}|
    </data>
<tr>
    <data source="weight">
<td>''Chinese (Simplified)''</td>
      <label>Weight</label>
<td>{{{name_scn}}}</td>
    </data>
</tr>
    <data source="strengths">
}}
      <label>Strengths</label>
{{#if:{{{name_kr|}}}|
    </data>
<tr>
    <data source="weaknesses">
<td>''Korean''</td>
      <label>Weaknesses</label>
<td>{{{name_kr}}}</td>
    </data>
</tr>
  </group>
}}
  <group>
{{#if:{{{nicknames|}}}|
    <header>Bio</header>
<tr>
    <data source="ears">
<td>''Nicknames''</td>
      <label>Ears</label>
<td>{{{nicknames}}}</td>
    </data>
</tr>
    <data source="tail">
}}
      <label>Tail</label>
<tr><td colspan=2><hr/></td></tr>
    </data>
<tr>
    <data source="family">
<th class="infobox-subheader" colspan=2>Profile</th>
      <label>Family</label>
</tr>
    </data>
{{#if:{{{birthday|}}}|
    <data source="secrets">
<tr>
      <label>Secrets</label>
<td>''Birthday''</td>
    </data>
<td>{{#time:F j|{{{birthday}}}}}</td>
    <data source="height">
</tr>
      <label>Height</label>
}}
    </data>
{{#if:{{{class|}}}|
    <data source="calls_self">
<tr>
      <label>Calls self</label>
<td>''Class''</td>
    </data>
<td>{{{class}}}</td>
    <data source="calls_trainer">
</tr>
      <label>Calls Trainer</label>
}}
    </data>
{{#if:{{{dorm|}}}|
  </group>
<tr>
  <group>
<td>''Dorm''</td>
    <header>Voice</header>
<td>{{{dorm}}}</td>
    <data source="seiyuu">
</tr>
      <label>Voice Actor</label>
}}
    </data>
{{#if:{{{roommate|}}}|
  </group>
<tr>
  <navigation>
<td>''Roommate''</td>
    <div class="center">{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[{{PAGENAME}}/Gallery|Image Gallery]]|{{PAGENAME}} Gallery}}</div>
<td>[[{{{roommate}}}]]</td>
  </navigation>
</tr>
</infobox>
}}
{{#if:{{{height|}}}|
<tr>
<td>''Height''</td>
<td>{{{height}}}cm</td>
</tr>
}}
{{#if:{{{threesizes|}}}|
<tr>
<td>''Three Sizes''</td>
<td>{{{threesizes}}}</td>
</tr>
}}
{{#if:{{{shoesize|}}}|
<tr>
<td>''Shoe Size''</td>
<td>{{{shoesize}}}</td>
</tr>
}}
{{#if:{{{weight|}}}|
<tr>
<td>''Weight''</td>
<td>{{{weight}}}</td>
</tr>
}}
{{#if:{{{main_color|}}}|
<tr>
<td>''Image Color''</td>
<td><span style="background-color:#{{{main_color}}};border:1px solid #000000;">&nbsp;&nbsp;&nbsp;&nbsp;</span>{{#if:{{{sub_color|}}}|
<span style="background-color:#{{{sub_color}}};border:1px solid #000000;margin-left:5px;">&nbsp;&nbsp;&nbsp;&nbsp;</span>}}</td>
</tr>
}}
{{#if:{{{calls_self|}}}|
<tr>
<td>''Calls self''</td>
<td>{{{calls_self}}}</td>
</tr>
}}
{{#if:{{{calls_trainer|}}}|
<tr>
<td>''Calls Trainer''</td>
<td>{{{calls_trainer}}}</td>
</tr>
}}
{{#if:{{{seiyuu|}}}|
<tr><td colspan=2><hr/></td></tr>
<tr>
<th class="infobox-subheader" colspan=2>Voice</th>
</tr>
<tr>
<td>''Voice Actor''</td>
<td>{{{seiyuu}}}</td>
</tr>
}}
<tr><td colspan=2><hr/></td></tr>
<tr>
<th class="infobox-subheader" colspan=2>[[/Gallery|Image Gallery]]</th>
</tr>
</table>
</includeonly><noinclude>
{{Infobox Character
|name_en=name_en
|epithet=epithet
|image_main=Work in Progress.png
|image_race=Work in Progress.png
|image_proto=Work in Progress.png
|image_stage=Work in Progress.png
|name_jp=name_jp
|name_kana=name_kana
|name_ro=name_ro
|name_tcn=name_tcn
|name_scn=name_scn
|name_kr=name_kr
|nicknames=nicknames
|birthday=2021-02-24
|class=class
|dorm=dorm
|roommate=Special Week
|height=height
|threesizes=threesizes
|shoesize=shoesize
|weight=weight
|main_color=f9e71a
|sub_color=f592a6
|calls_self=calls_self
|calls_trainer=calls_trainer
|seiyuu=seiyuu
}}


<includeonly>[[Category:Characters]]</includeonly>
Mostly used by [[Template:Character]].
 
<noinclude>
<templatedata>
{
"params": {
"name_en": {
"label": "Name (EN)",
"description": "English Name",
"example": "Special Week",
"type": "string",
"suggested": true
},
"name_jp": {
"label": "Name (JP)",
"description": "Japanese (Kanji) Name. Do not use for Katakana-only names (e.g. horse girls).",
"example": "桐生院葵",
"type": "string"
},
"name_kana": {
"label": "Name (Kana)",
"description": "Katakana name",
"example": "スペシャルウィーク",
"type": "string",
"suggested": true
},
"name_ro": {
"label": "Name (Romaji)",
"description": "Romaji version of name",
"example": "supesharuui-ku",
"type": "string",
"suggested": true
},
"name_cn": {
"label": "Name (Chinese)",
"description": "Chinese version of name",
"example": "特別週",
"type": "string"
},
"name_kr": {
"label": "Name (Korean)",
"description": "Korean version of name",
"example": "스페셜위크",
"type": "string"
},
"nicknames": {
"label": "Nicknames",
"description": "Official nicknames of the character",
"example": "Spe-chan, Spe",
"type": "string",
"suggested": true
},
"birthday": {
"label": "Birthday",
"description": "Character's Birthday. \"Mon DD\" format.",
"example": "Jan 1",
"type": "string"
},
"class": {
"label": "Class",
"description": "Character's school class/grade",
"example": "Middle School",
"type": "string",
"suggestedvalues": [
"Middle School",
"High School"
]
},
"dorm": {
"label": "Dormitory",
"description": "Character's dorm",
"example": "Ritto",
"suggestedvalues": [
"Miho",
"Ritto"
]
},
"roommate": {
"label": "Roommate",
"description": "Character's roommate",
"example": "Silence Suzuka",
"type": "wiki-page-name"
},
"height": {
"label": "Height",
"description": "Character's height in cm",
"example": "180",
"type": "number"
},
"threesizes": {
"label": "Three Sizes",
"description": "Character's three sizes. B## H## W##",
"example": "B79 W57 H81",
"type": "string"
},
"shoesize": {
"label": "Shoe Size",
"description": "Character's shoe size, split L/R if needed",
"example": "L23.5cm, R23cm",
"type": "string"
},
"weight": {
"label": "Weight",
"description": "Character's weight description",
"example": "Slightly reduced",
"type": "string"
},
"strengths": {
"label": "Strengths",
"description": "Character's strengths",
"example": "Giving in-depth food critiques",
"type": "string"
},
"weaknesses": {
"label": "Weaknesses",
"description": "Character's weaknesses",
"example": "Touch-and-go ticket gates at the train station",
"type": "string"
},
"ears": {
"label": "Comment (Ears)",
"description": "Character's bio comment labeled Ears",
"example": "They pick up on any sound of cooking.",
"type": "string"
},
"tail": {
"label": "Comment (Tail)",
"description": "Character's bio comment labeled Tail",
"example": "She's not very good at playing poker, her tail calls her bluff.",
"type": "string"
},
"family": {
"label": "Comment (Family)",
"description": "Character's bio comment labeled Family",
"example": "Her eye color came from her birth mother.",
"type": "string"
},
"secrets": {
"label": "Secrets",
"description": "List of secrets",
"example": "- She can tell the difference between milks with just one taste.",
"type": "content"
},
"calls_self": {
"label": "Calls Self",
"description": "What the character refers to themselves as",
"example": "Watashi (私)",
"type": "string"
},
"calls_trainer": {
"label": "Calls Trainer",
"description": "What the character refers to their Trainer as",
"example": "Trainer-san (トレーナーさん) ",
"type": "string"
},
"seiyuu": {
"label": "Seiyuu",
"description": "The character's seiyuu (Voice actor)",
"example": "[[wikipedia:Azumi_Waki|Azumi Waki]]",
"type": "wiki-page-name"
},
"image": {
"label": "Image",
"description": "Image to show in the box",
"type": "wiki-file-name",
"suggested": true
}
},
"description": "Infobox for characters",
"format": "block",
"paramOrder": [
"image",
"name_en",
"name_jp",
"name_kana",
"name_ro",
"name_cn",
"name_kr",
"nicknames",
"birthday",
"class",
"dorm",
"roommate",
"height",
"threesizes",
"shoesize",
"weight",
"strengths",
"weaknesses",
"ears",
"tail",
"family",
"secrets",
"calls_self",
"calls_trainer",
"seiyuu"
]
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:48, 18 April 2024

name_en
"epithet"

Names
English name_en
Japanese name_jp
Kana name_kana
Romaji name_ro
Chinese (Traditional) name_tcn
Chinese (Simplified) name_scn
Korean name_kr
Nicknames nicknames

Profile
Birthday February 24
Class class
Dorm dorm
Roommate Special Week
Height heightcm
Three Sizes threesizes
Shoe Size shoesize
Weight weight
Image Color         
Calls self calls_self
Calls Trainer calls_trainer

Voice
Voice Actor seiyuu

Image Gallery


Mostly used by Template:Character.