Template:Infobox character: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Add Chinese release date to example code) |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| class="infobox" style="width: 25em; text-align: left; margin: 0.5em 0 0.5em 1em; padding: 0.2em; border: solid #aaa 1px; float: right; clear: right;" | ||
! colspan="2" style="text-align: center; background-color: #ccf; font-size: 120%; font-weight: bold;" |{{{name|}}} | |||
{{{name|}}} | |- | ||
| colspan="2" style="text-align: center" |{{{image|}}} | |||
|- | |||
|label=Japanese Name | {{Infobox/row | ||
|labelstyle=background-color:# | | label =Japanese Name | ||
|data={{{jname|}}} | | labelstyle =background-color: #eef; font-weight: bold; | ||
}}{{Infobox/row | | data ={{{jname|}}} | ||
|label=Seiyū | }} | ||
|labelstyle=background-color:# | {{Infobox/row | ||
|data={{{seiyuu|}}} | | label =Seiyū | ||
}}{{Infobox/row | | labelstyle =background-color: #eef; font-weight: bold; | ||
|label=Voiced by | | data ={{{seiyuu|}}} | ||
|labelstyle=background-color:# | }} | ||
|data={{{voices|}}} | {{Infobox/row | ||
}}{{Infobox/row | | label =Voiced by | ||
|label=Age | | labelstyle =background-color: #eef; font-weight: bold; | ||
|labelstyle=background-color:# | | data ={{{voices|}}} | ||
|data={{{age|}}} | }} | ||
}}{{Infobox/row | {{Infobox/row | ||
|label=[[Weapons|Weapon]] | | label =Age | ||
|labelstyle=background-color:# | | labelstyle =background-color: #eef; font-weight:bold; | ||
|data={{{weapon|}}} | | data ={{{age|}}} | ||
}} | }} | ||
{{Infobox/row | |||
| label =[[Weapons|Weapon]] | |||
| labelstyle =background-color: #eef; font-weight: bold; | |||
| data ={{{weapon|}}} | |||
}} | |||
{{Infobox/row | |||
| label =ID No: | |||
| labelstyle =background-color: #eef; font-weight: bold; | |||
| data ={{#if:{{{id|}}}|[[:Category:Magia Record by ID|{{{id}}}]]}} | |||
}} | |||
{{Infobox/row | |||
| label =Release Date ({{#explode:{{{release1|}}}|:|0}}): | |||
| labelstyle =background-color: #eef; font-weight: bold; | |||
| data ={{#if:{{{release1|}}}|{{#explode:{{{release1|}}}|:|1}}}} | |||
}} | |||
{{Infobox/row | |||
| label =Release Date ({{#explode:{{{release2|}}}|:|0}}): | |||
| labelstyle =background-color: #eef; font-weight: bold; | |||
| data ={{#if:{{{release2|}}}|{{#explode:{{{release2|}}}|:|1}}}} | |||
}} | |||
{{Infobox/row | |||
| label =Release Date ({{#explode:{{{release3|}}}|:|0}}): | |||
| labelstyle =background-color: #eef; font-weight: bold; | |||
| data ={{#if:{{{release3|}}}|{{#explode:{{{release3|}}}|:|1}}}} | |||
}} | |||
|} | |||
{{#ifeq:{{{nocategory|}}}|yes|| | |||
[[Category:Characters]] | |||
{{#ifeq:{{{magicalgirl|}}}|yes|[[Category:Magical girls]]|}} | |||
{{#if:{{{id|}}}|[[Category:Magia Record by ID|{{{id}}}]]|}} | |||
{{#if:{{{surname|}}}| | |||
[[Category:Characters by Surname|{{{surname}}}]] | |||
{{#ifeq:{{{magicalgirl|}}}|yes|[[Category:Magical girls by Surname|{{{surname}}}]]|}} | |||
|}} | |||
}} | |||
</includeonly><noinclude> | |||
{{Infobox_character | {{Infobox_character | ||
|name=ANTHONY | |name=ANTHONY | ||
Line 31: | Line 67: | ||
|age=ETERNAL | |age=ETERNAL | ||
|weapon=roses | |weapon=roses | ||
|id=666 | |||
|nocategory=yes | |||
|release1=JP:April 25, 2023 | |||
|release2=NA:April 26, 2023 | |||
|release3=CN:April 27, 2023 | |||
}} | }} | ||
Line 42: | Line 83: | ||
|age=ETERNAL | |age=ETERNAL | ||
|weapon=roses | |weapon=roses | ||
|id=666 | |||
|release1=JP:April 25, 2023 | |||
|release2=NA:April 26, 2023 | |||
|release3=CN:April 27, 2023 | |||
}}</pre> | }}</pre> | ||
Line 54: | Line 99: | ||
|- | |- | ||
|jname || The character's name in japanese characters | |jname || The character's name in japanese characters | ||
|- | |||
|surname || The character's surname, to add them to [[:Category:Characters by Surname]] | |||
|- | |- | ||
|seiyuu || The character's voice actor | |seiyuu || The character's voice actor | ||
Line 59: | Line 106: | ||
|voices || The character's voice actors - intended for multilanguage entries | |voices || The character's voice actors - intended for multilanguage entries | ||
|- | |- | ||
|age || | |age || The character's age | ||
|- | |||
|weapon || The weapon used by the character | |||
|- | |||
|magicalgirl || Set <tt>magicalgirl=yes</tt> if the character is a magical girl – this will add them to the appropriate categories | |||
|- | |||
|id ||The character's ingame id number (mostly for magireco) | |||
|- | |- | ||
| | |releaseN ||The date the character was released (mostly for magireco); N is 1-3 and the format is <tt>Country:Date</tt>, for example <tt>JP:April 20, 2018</tt> | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 03:44, 7 February 2024
ANTHONY | |
---|---|
Japanese Name | アンソニー (Ansonii) |
Seiyū | some guy on acid |
Age | ETERNAL |
Weapon | roses |
ID No: | 666 |
Release Date (JP): | April 25, 2023 |
Release Date (NA): | April 26, 2023 |
Release Date (CN): | April 27, 2023 |
Example use:
{{Infobox_character |name=ANTHONY |image=[[File:Album_test.jpg|300px]] |jname= アンソニー (Ansonii) |seiyuu=some guy on acid |age=ETERNAL |weapon=roses |id=666 |release1=JP:April 25, 2023 |release2=NA:April 26, 2023 |release3=CN:April 27, 2023 }}
Parameter | Explanation |
---|---|
name | Name of the character |
image | Link to an image of the character (e.g. [[File:Album_test.jpg|300px]]) |
jname | The character's name in japanese characters |
surname | The character's surname, to add them to Category:Characters by Surname |
seiyuu | The character's voice actor |
voices | The character's voice actors - intended for multilanguage entries |
age | The character's age |
weapon | The weapon used by the character |
magicalgirl | Set magicalgirl=yes if the character is a magical girl – this will add them to the appropriate categories |
id | The character's ingame id number (mostly for magireco) |
releaseN | The date the character was released (mostly for magireco); N is 1-3 and the format is Country:Date, for example JP:April 20, 2018 |