Difference between revisions of "Template:Yokai Infobox"

From Yo-Kai Watch Wiki
Jump to: navigation, search
(Created page with "<onlyinclude><div class="stdinfobox {{#if:{{{class|}}}|{{#replace:{{lc:class-{{English class name|{{{class}}} }} }}| |-}}|}}" style="width: auto;"> {| style="width: 100%;" |-...")
 
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><div class="stdinfobox {{#if:{{{class|}}}|{{#replace:{{lc:class-{{English class name|{{{class}}} }} }}| |-}}|}}" style="width: auto;">
+
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
{| style="width: 100%;"
+
 
|-
 
|-
| class="box" |
+
! colspan="3" style="background-color: #BDBDBD; color: #000000; font-size:120%; padding:0.5em; text-align:center;" | {{{name|{{PAGENAME}}}}}
{| style="width: 100%;"
+
 
|-
 
|-
| rowspan="3" style=" text-align: center; width: 54px;" | {{#if:{{{class|}}}|[[File:{{English class name|{{{class}}} }} icon.png]]|<small>{{{class}}}</small>}}
+
! colspan="3" |{{#if:{{{image|}}}|{{{image|}}}}}
| colspan="3" style="font-size: 150%; text-align: center; width: 412px;" | {{{english name}}}{{#if:{{{english name|}}}|{{#set:Has English name={{{english name}}}|Has name={{{english name}}} }}|}}
+
| rowspan="2" style=" text-align: center; width: 54px;" | {{#if:{{{rank|}}}|[[File:Rank {{uc:{{{rank}}} }} icon.png]]{{#set:Is of rank={{uc:{{{rank}}} }}|Is of rank/index={{Rank index|{{{rank}}} }} }}|<small>{{{rank}}}</small>}}
+
 
|-
 
|-
| style="font-size: 80%; text-align: center; width: 166px;" | {{{japanese name}}}{{#if:{{{japanese name|}}}|{{#set:Has Japanese name={{{japanese name}}}|Has name={{{japanese name}}} }}|}}
+
! colspan="3" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Classification
| style="font-size: 80%; text-align: center; width: 166px;" | {{{romanji}}}{{#if:{{{romanji|}}}|{{#set:Has Romanji name={{{romanji}}}|Has name={{{romanji}}} }}|}}
+
| style="font-size: 80%; text-align: center; width: 80px;" | {{{series}}}{{#if:{{{series|}}}|{{#set:Has series code={{{series}}} }}|}}
+
|}
+
 
|-
 
|-
|  
+
|{{!}} '''Tribe''' || {{!}} '''Rank''' || {{!}} '''Attribute'''
{| style="width: 100%;"
+
 
|-
 
|-
| rowspan="2" class="lightbox" style=" text-align: center; width: 120px;" | {{English class name|{{{class}}} }}<br />({{Japanese class name|{{{class}}} }}){{#if:{{{class|}}}|{{#set:Is of class={{English class name|{{{class}}} }}|Is of class (Japanese)={{Japanese class name|{{{class}}} }} }}|}}
+
|[[File:{{{Tribe|}}} icon.png|38px|link={{{Tribe|}}}]] || [[File:Yokai Rank {{{Rank|}}} icon.png|35px|link=Rank {{{Rank|}}} Yo-kai]] || [[ {{{Attribute|}}} ]]
| class="box" style="text-align: right; width: 100px;" | '''Time'''
+
| colspan="3" class="lightbox" style="width: 300px;" | {{{time}}}{{#if:{{{time|}}}|{{#set:Is of time={{{time}}} }}|}}
+
 
|-
 
|-
| class="box" style="text-align: right;" | '''Evolution'''
+
|}
| colspan="3" class="lightbox" | {{{evolution}}}{{#if:{{{evolution|}}}|{{#set:Has evolution={{{evolution}}} }}|}}
+
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
 
|-
 
|-
| class="lightbox" style=" text-align: center;" | {{{favorite food}}}{{#if:{{{favorite food|}}}|{{#set:Has favorite food={{{favorite food}}} }}|}}
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Number
| class="box" style="text-align: right;" | '''Type'''
+
| colspan="3" class="lightbox" | {{{type}}}{{#if:{{{type|}}}|{{#set:Is of element={{{type}}}|Is of element/index={{Element index|{{{type}}} }} }}|}}
+
 
|-
 
|-
| class="lightbox" style=" text-align: center;" | {{{role}}}{{#if:{{{role|}}}|{{#set:Has role={{{role}}} }}|}}
+
|{{!}} '''Yokai Watch 1''' || {{!}} '''Yokai Watch 2'''
| class="box" style="text-align: right; width: 100px;" | '''HP'''
+
| class="lightbox" style="width: 100px;" | {{#if:{{{hp|}}}|{{Yokai stat|{{{hp}}}|Has HP|Has HP rank|Has HP rank/index}}|{{{hp}}} }}
+
| class="box" style="text-align: right; width: 100px;" | '''Spirit'''
+
| class="lightbox" style="width: 100px;" | {{#if:{{{spirit|}}}|{{Yokai stat|{{{spirit}}}|Has spirit|Has spirit rank|Has spirit rank/index}}|{{{spirit}}} }}
+
 
|-
 
|-
| rowspan="13" class="box" style="text-align: center; vertical-align: middle;" | {{#if:{{{image|}}}|[[File:{{{image}}}|120px]]{{#set:Has image=File:{{{image}}} }}|{{{image}}} }}
+
{{!}} {{{Yokai Watch 1|}}} || {{!}} {{{Yokai Watch 2|}}}
| class="box" style="text-align: right;" | '''Power'''
+
| class="lightbox" | {{#if:{{{power|}}}|{{Yokai stat|{{{power}}}|Has power|Has power rank|Has power rank/index}}|{{{power}}} }}
+
| class="box" style="text-align: right;" | '''Speed'''
+
| class="lightbox" | {{#if:{{{speed|}}}|{{Yokai stat|{{{speed}}}|Has speed|Has speed rank|Has speed rank/index}}|{{{speed}}} }}
+
 
|-
 
|-
| class="box" style="text-align: right;" | '''Defense'''
+
|}
| colspan="3" class="lightbox" | {{#if:{{{defense|}}}|{{Yokai stat|{{{defense}}}|Has defense|Has defense rank|Has defense rank/index}}|{{{defense}}} }}
+
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
 
|-
 
|-
| class="box" style="text-align: right;" | '''Command'''
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | General Information
| colspan="3" class="lightbox" | {{#if:{{{command|}}}|{{#lstmap:{{{command}}}|,|@@@@|<div>[[File:@@@@ icon.png|16px]] @@@@</div><esc>{{#set:Has command=@@@@}}</esc>|}}|{{{command}}} }}
+
 
|-
 
|-
| class="box" style="text-align: right;" | '''Buster<br />Command'''
+
|{{!}} '''Japanese Name'''
| colspan="3" class="lightbox" | {{#if:{{{buster command type|}}}|[[File:Buster command {{lc:{{{buster command type}}} }} icon.png|80px]]{{#set:Has buster command type={{lc:{{{buster command type}}} }}|Has buster command type/index={{Buster command type index|{{{buster command type}}} }} }}|}} {{{buster command}}}{{#if:{{{buster command|}}}|{{#set:Has buster command={{{buster command}}} }}|}}
+
{{!}} {{{Japanese Name|}}}
 
|-
 
|-
| class="box" style="text-align: right;" | '''Skill'''
+
|{{!}} '''French Name'''
| colspan="3" class="lightbox" | {{{skill}}}{{#if:{{{skill|}}}|{{#set:Has skill={{{skill}}} }}|}}
+
{{!}} {{{French Name|}}}
 
|-
 
|-
| class="box" style="text-align: right;" | '''Special Effect'''
+
|{{!}} '''Italian Name'''
| colspan="3" class="lightbox" | {{{special effect}}}{{#if:{{{special effect|}}}|{{#set:Has special effect={{{special effect}}} }}|}}
+
{{!}} {{{Italian Name|}}}
 
|-
 
|-
| class="box" style="text-align: right;" | '''Characteristics'''
+
|{{!}} '''Time'''
| colspan="3" class="lightbox" style="text-align: center;" | {{{characteristics}}}{{#if:{{{characteristics|}}}|{{#set:Has characteristic={{{characteristics}}} }}|}}
+
{{!}} {{{Time|}}}
 
|-
 
|-
{{#if: {{{other lan|}}}|
+
|{{!}} '''Evolution'''
{{!}} class="box" style="text-align: right;" {{!}} '''Other names'''
+
{{!}} {{{Evolution|}}}
{{!}} colspan="3" class="lightbox" {{!}} {{#lstmap:{{{other lan}}}|,|@@@@|<div>@@@@</div><esc>{{#set:Has other name=@@@@|Has name=@@@@}}</esc>|}} | }}
+
 
|-
 
|-
{{#if: {{{game|}}}{{{chapter|}}}{{{episode|}}}{{{jva|}}}|
+
|{{!}} '''Fusion'''
{{!}} colspan="4" class="box" style="text-align: center;" {{!}} '''Debut''' | }}
+
{{!}} {{{Fusion|}}}
 
|-
 
|-
{{#if: {{{game|}}}|
+
|{{!}} '''Favorite Food'''
{{!}} class="box" style="text-align: right;" {{!}} ''Game''
+
{{!}} {{{Favorite Food|}}}
{{!}} colspan="3" class="lightbox" {{!}} [[{{{game}}}]]{{#set:Debuts in game={{{game}}} }} | }}
+
 
|-
 
|-
{{#if: {{{chapter|}}}|
+
|{{!}} '''Acquired by'''
{{!}} class="box" style="text-align: right;" {{!}} ''Manga''
+
{{!}} {{{Acquired by|}}}
{{!}} colspan="3" class="lightbox" {{!}} [[{{{chapter}}}]]{{#set:Debuts in manga={{{chapter}}} }} | }}
+
 
|-
 
|-
{{#if: {{{episode|}}}|
 
{{!}} class="box" style="text-align: right;" {{!}} ''Anime''
 
{{!}} colspan="3" class="lightbox" {{!}} [[{{{episode}}}]]{{#set:Debuts in anime={{{episode}}} }} | }}
 
|-
 
{{#if: {{{jva|}}}|
 
{{!}} class="box" style="text-align: right;" {{!}} ''Japanese VA''
 
{{!}} colspan="3" class="lightbox" {{!}} [[{{{jva}}}]]{{#set:Has Japanese voice actor={{{jva}}} }} | }}
 
|-
 
{{#if: {{{eva|}}}|
 
{{!}} class="box" style="text-align: right;" {{!}} ''English VA''
 
{{!}} colspan="3" class="lightbox" {{!}} [[{{{eva}}}]]{{#set:Has English voice actor={{{eva}}} }} | }}
 
 
|}
 
|}
|}
+
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
</div><includeonly>[[Category:Yokai data]][[Category:All Yokai data]]</includeonly></onlyinclude>
+
<nowiki>{{Infobox Yokai
+
  |english name=the English name
+
  |japanese name=the Japanese name
+
  |romanji=The name in Romanji
+
  |series=Series code
+
  |image=Filename of image, not including File:
+
  |class=Class
+
  |rank=Rank
+
  |favorite food=Favorite food
+
  |role=Attacker or Defender
+
  |time=Time
+
  |evolution=Evolution
+
  |type=Type
+
  |hp=HP value and rank, separated by a space
+
  |spirit=Spirit value and rank, separated by a space
+
  |power=Power value and rank, separated by a space
+
  |speed=Speed value and rank, separated by a space
+
  |defense=Defense value and rank, separated by a space
+
  |command=first command,second command,etc.
+
  |buster command type=Buster command type
+
  |buster command=Buster command
+
  |skill=Skill
+
  |special effect=Special effect
+
  |characteristics=characteristics
+
  |other lan=names in non-English, non-Japanese languages, separated by commas. Optional.
+
  |game=debut game, autolinks, optional
+
  |chapter=debut in manga, autolinks, optional
+
  |episode=debut in anime, autolinks, optional
+
  |jva=Japanese voice actor
+
  |eva=English voice actor
+
}}
+
</nowiki>
+
 
+
This template also sets semantic properties in [[:Category:Yokai semantics]] as follows:
+
{| class="wikitable"
+
 
|-
 
|-
!Parameter !!Properties !!Notes
+
! colspan="5" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;"  | Stats
 
|-
 
|-
|<tt>english name</tt> ||[[Property:Has English name|Has English name]], [[Property:Has name|Has name]] ||
+
|{{!}} '''HP''' || {{!}} '''Spirit''' || {{!}} '''Strength''' || {{!}} '''Speed''' || {{!}} '''Defense'''
 
|-
 
|-
|<tt>japanese name</tt> ||[[Property:Has Japanese name|Has Japanese name]], [[Property:Has name|Has name]] ||
+
|{{!}} {{{HP|}}} || {{!}} {{{Spirit|}}} || {{!}} {{{Strength|}}} || {{!}} {{{Speed|}}} || {{!}} {{{Defense|}}}
 
|-
 
|-
|<tt>romanji name</tt> ||[[Property:Has Romanji name|Has Romanji name]], [[Property:Has name|Has name]] ||
+
|[[file:Rank {{{HP Rank|}}} icon.png]] || [[file:Rank {{{Spirit Rank|}}} icon.png]] || [[file:Rank {{{Strength Rank|}}} icon.png]] || [[file:Rank {{{Speed Rank|}}} icon.png]] || [[file:Rank {{{Defense Rank|}}} icon.png]]
 +
|}
 +
{| class="infobox" id="infobox" style="font-size:89%; width:365px;"
 
|-
 
|-
|<tt>series</tt> ||[[Property:Has series code|Has series code]] ||
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Combat
 
|-
 
|-
|<tt>image</tt> ||[[Property:Has image|Has image]] ||
+
|{{!}} '''Attack'''
 +
{{!}} {{{Attack|}}}
 
|-
 
|-
|<tt>class</tt> ||[[Property:Is of class|Is of class]], [[Property:Is of class (Japanese)|Is of class (Japanese)]] || See {{tl|Japanese class name}} and {{tl|English class name}} for viewing and editing automatic class name translations
+
|{{!}} '''Technique'''
 +
{{!}} {{{Technique|}}}
 
|-
 
|-
|<tt>rank</tt> ||[[Property:Is of rank|Is of rank]], [[Property:Is of rank/index|Is of rank/index]] || See {{tl|Rank index}} for viewing or editing sorting indices
+
|{{!}} '''Inspirit'''
 +
{{!}} {{{Inspirit|}}}
 
|-
 
|-
|<tt>favorite food</tt> ||[[Property:Has favorite food|Has favorite food]] ||
+
|{{!}} '''Soultimate Move'''
 +
{{!}} {{{Soultimate Move|}}}
 
|-
 
|-
|<tt>role</tt> ||[[Property:Has role|Has role]] ||
+
|{{!}} '''Skill'''
 +
{{!}} {{{Skill|}}}
 
|-
 
|-
|<tt>time</tt> ||[[Property:Is of time|Is of time]] ||
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Debut
 
|-
 
|-
|<tt>evolution</tt> ||[[Property:Has evolution|Has evolution]] ||
+
|{{!}} '''Anime'''
 +
{{!}} {{{Anime|}}}
 
|-
 
|-
|<tt>type</tt> ||[[Property:Is of element|Is of element]], [[Property:Is of element/index|Is of element/index]] || See {{tl|Element index}} for viewing or editing sorting indices
+
|{{!}} '''Game'''
 +
{{!}} {{{Game|}}}
 
|-
 
|-
|<tt>hp</tt> ||[[Property:Has HP|Has HP]], [[Property:Has HP rank|Has HP rank]], [[Property:Has HP rank/index|Has HP rank/index]] || See <tt><nowiki>{{Rank index}}</nowiki></tt> for viewing or editing sorting indices
+
! colspan="2" style="background-color: #BDBDBD; color: #000000; padding:0em; text-align:center;" | Voice Actor
 
|-
 
|-
|<tt>spirit</tt> ||[[Property:Has spirit|Has spirit]], [[Property:Has spirit rank|Has spirit rank]], [[Property:Has spirit rank/index|Has spirit rank/index]] || See <tt><nowiki>{{Rank index}}</nowiki></tt> for viewing or editing sorting indices
+
|{{!}} '''English'''
 +
{{!}} {{{English|}}}
 
|-
 
|-
|<tt>power</tt> ||[[Property:Has power|Has power]], [[Property:Has power rank|Has power rank]], [[Property:Has power rank/index|Has power rank/index]] || See <tt><nowiki>{{Rank index}}</nowiki></tt> for viewing or editing sorting indices
+
|{{!}} '''Japanese'''
 +
{{!}} {{{Japanese|}}}
 
|-
 
|-
|<tt>speed</tt> ||[[Property:Has speed|Has speed]], [[Property:Has speed rank|Has speed rank]], [[Property:Has speed rank/index|Has speed rank/index]] || See <tt><nowiki>{{Rank index}}</nowiki></tt> for viewing or editing sorting indices
 
|-
 
|<tt>defense</tt> ||[[Property:Has defense|Has defense]], [[Property:Has defense rank|Has defense rank]], [[Property:Has defense rank/index|Has defense rank/index]] || See <tt><nowiki>{{Rank index}}</nowiki></tt> for viewing or editing sorting indices
 
|-
 
|<tt>command</tt> ||[[Property:Has command|Has command]] ||
 
|-
 
|<tt>buster command type</tt> ||[[Property:Has buster command type|Has buster command type]], [[Property:Has buster command type/index|Has buster command type/index]] || See {{tl|Buster command type index}} for viewing or editing sorting indices
 
|-
 
|<tt>buster command</tt> ||[[Property:Has buster command|Has buster command]] ||
 
|-
 
|<tt>skill</tt> ||[[Property:Has skill|Has skill]] ||
 
|-
 
|<tt>special effect</tt> ||[[Property:Has special effect|Has special effect]] ||
 
|-
 
|<tt>characteristics</tt> ||[[Property:Has characteristic|Has characteristic]] ||
 
|-
 
|<tt>other lan</tt> ||[[Property:Has other name|Has other name]], [[Property:Has name|Has name]] ||
 
|-
 
|<tt>game</tt> ||[[Property:Debuts in game|Debuts in game]] ||
 
|-
 
|<tt>chapter</tt> ||[[Property:Debuts in manga|Debuts in manga]] ||
 
|-
 
|<tt>episode</tt> ||[[Property:Debuts in anime|Debuts in anime]] ||
 
|-
 
|<tt>jva</tt> ||[[Property:Has Japanese voice actor|Has Japanese voice actor]] ||
 
|-
 
|<tt>eva</tt> ||[[Property:Has English voice actor|Has English voice actor]] ||
 
 
|}
 
|}
 +
{{forum}}<includeonly>[[Category:Yokai|{{PAGENAME}}]] {{#set:Tribe={{{Tribe|}}} |+sep}} {{#set:Rank={{{Rank|}}} |+sep}} {{#set:Attribute={{{Attribute|}}} |+sep}} {{#set:Yokai Watch 1={{{Yokai Watch 1|}}} }} {{#set:Yokai Watch 2={{{Yokai Watch 2|}}} }} {{#set:Japanese Name={{{Japanese Name|}}} |+sep}} {{#set:French Name={{{French Name|}}} |+sep}} {{#set:Italian Name={{{Italian Name|}}} |+sep}} {{#set:Time={{{Time|}}} |+sep}}{{#set:Evolution={{{Evolution|}}} |+sep}} {{#set:Fusion={{{Fusion|}}} |+sep}} {{#set:Favorite Food={{{Favorite Food|}}} |+sep}} {{#set:Acquired by={{{Acquired by|}}} |+sep}} {{#set:HP={{{HP|}}} |+sep}}{{#set:Spirit={{{Spirit|}}} |+sep}} {{#set:Strength={{{Strength|}}} |+sep}} {{#set:Speed={{{Speed|}}} |+sep}} {{#set:Defense={{{Defense|}}} |+sep}} {{#set:Skill={{{Skill|}}} |+sep}} {{#set:Attack={{{Attack|}}} |+sep}}  {{#set:Technique={{{Technique|}}} |+sep}} {{#set:Inspirit={{{Inspirit|}}} |+sep}} {{#set:Soultimate Move={{{Soultimate Move|}}} |+sep}} {{#set:Anime={{{Anime|}}} |+sep}} {{#set:Game={{{Game|}}} |+sep}} {{#set:English={{{English|}}} |+sep}} {{#set:Japanese={{{Japanese|}}} |+sep}} </includeonly>
 +
<noinclude>
 +
Used on [[Yo-kai]] pages
 +
 +
==Usage==
 +
<pre>
 +
{{Yokai Infobox
 +
|image=
 +
|Tribe=
 +
|Rank=
 +
|Attribute=
 +
|Japanese Name=
 +
|French Name=
 +
|Italian Name=
 +
|Yokai Watch 1=
 +
|Yokai Watch 2=
 +
|Time=
 +
|Evolution=
 +
|Fusion=
 +
|Favorite Food=
 +
|Acquired by=
 +
|HP=
 +
|Spirit=
 +
|Strength=
 +
|Speed=
 +
|Defense=
 +
|HP Rank=
 +
|Spirit Rank=
 +
|Strength Rank=
 +
|Speed Rank=
 +
|Defense Rank=
 +
|Attack=
 +
|Technique=
 +
|Inspirit=
 +
|Soultimate Move=
 +
|Skill=
 +
|Anime=
 +
|Game=
 +
|English=
 +
|Japanese=
 +
}}
 +
</pre>
 +
 +
  
[[Category:Yokai semantics]][[Category:Infobox templates]]
+
<br><br>
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 05:04, 1 July 2016

Yokai Infobox
Classification
Tribe Rank Attribute
38px 35px [[ ]]
Number
Yokai Watch 1 Yokai Watch 2
General Information
Japanese Name
French Name
Italian Name
Time
Evolution
Fusion
Favorite Food
Acquired by
Stats
HP Spirit Strength Speed Defense
File:Rank icon.png File:Rank icon.png File:Rank icon.png File:Rank icon.png File:Rank icon.png
Combat
Attack
Technique
Inspirit
Soultimate Move
Skill
Debut
Anime
Game
Voice Actor
English
Japanese

For more Yo-kai Watch information and discussion, check out our Forums

Used on Yo-kai pages

Usage

{{Yokai Infobox
|image=
|Tribe=
|Rank=
|Attribute=
|Japanese Name=
|French Name=
|Italian Name=
|Yokai Watch 1=
|Yokai Watch 2=
|Time=
|Evolution=
|Fusion=
|Favorite Food=
|Acquired by=
|HP=
|Spirit=
|Strength=
|Speed=
|Defense=
|HP Rank=
|Spirit Rank=
|Strength Rank=
|Speed Rank=
|Defense Rank=
|Attack=
|Technique=
|Inspirit=
|Soultimate Move=
|Skill=
|Anime=
|Game=
|English=
|Japanese=
}}