Template:Infobox character: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(sorry, I was trying to get the left columns in the info box to widen enough so "release date JP" doesn't get cut in half.)
(Implement an alternate means of specifying release dates which allows the wikitext to decide on the order that they're displayed in.)
Line 35: Line 35:
   }}
   }}
  {{Infobox/row
  {{Infobox/row
   | label      =Release Date (JP):
   | label      =Release Date (NA):
   | labelstyle =background-color: #eef; font-weight: bold;
   | labelstyle =background-color: #eef; font-weight: bold;
   | data      ={{{JP_release|}}}
   | data      ={{#if:{{{JP_release|}}}|{{{JP_release}}} [[Category:Pages that need to update their release date format]]}}
   }}
   }}
  {{Infobox/row
  {{Infobox/row
   | label      =Release Date (NA):
   | label      =Release Date (NA):
   | labelstyle =background-color: #eef; font-weight: bold;
   | labelstyle =background-color: #eef; font-weight: bold;
   | data      ={{{NA_release|}}}
   | data      ={{#if:{{{NA_release|}}}|{{{NA_release}}} [[Category:Pages that need to update their release date format]]}}
  }}
{{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}}}}
   }}
   }}
  |}
  |}
Line 64: Line 79:
|id=666
|id=666
|nocategory=yes
|nocategory=yes
|JP_release=April 25, 2023
|release1=JP:April 25, 2023
|NA_release=April 26, 2023
|release2=NA:April 26, 2023
}}
}}


Line 78: Line 93:
|weapon=roses
|weapon=roses
|id=666
|id=666
|JP_release=April 25, 2023
|release1=JP:April 25, 2023
|NA_release=April 26, 2023
|release2=NA:April 26, 2023
}}</pre>
}}</pre>


Line 107: Line 122:
|id ||The character's ingame id number (mostly for magireco)
|id ||The character's ingame id number (mostly for magireco)
|-
|-
|JP_release ||The date the character was released (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>
|-
|NA_release ||The date the character was released on NA server (mostly for magireco)
|}
|}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 07:22, 5 February 2024

ANTHONY
Album test.jpg
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


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
}}
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