Template:Infobox character: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> <table class="infobox" style="width:22em;text-align:left;float:right;margin:1em;border:solid black 1px;"> <th colspan="2" style="text-align:center;background-color:...")
 
No edit summary
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| class="infobox" style="width: 22em; text-align: left; margin: 0.5em 0 0.5em 1em; padding: 0.2em; border: solid #aaa 1px; float: right; clear: right;"
<table class="infobox" style="width:22em;text-align:left;float:right;margin:1em;border:solid black 1px;">
! colspan="2" style="text-align: center; background-color: #ccf; font-size: 120%; font-weight: bold;" |{{{name|}}}
<th colspan="2" style="text-align:center;background-color:#CCF;font-size: 120%;font-weight:bold;">
|-
{{{name}}}
| colspan="2" style="text-align: center" |{{{image|}}}
</th>
|-
<tr><td colspan="2">{{{image}}}</td></tr>
{{Infobox/row
{{Infobox/row
  | label     =Japanese Name
|label=Japanese Name
  | labelstyle =background-color: #eef; font-weight: bold;
|labelstyle=background-color:#EEF; font-weight:bold;
  | data       ={{{jname|}}}
|data={{{jname}}}
  }}
}}
{{Infobox/row
{{Infobox/row
  | label     =Seiyū
|label=Seiyū
  | labelstyle =background-color: #eef; font-weight: bold;
|labelstyle=background-color:#EEF; font-weight:bold;
  | data       ={{{seiyuu|}}}
|data={{{seiyuu}}}
  }}
}}
{{Infobox/row
{{Infobox/row
  | label     =Voiced by
|label=Age
  | labelstyle =background-color: #eef; font-weight: bold;
|labelstyle=background-color:#EEF; font-weight:bold;
  | data      ={{{voices|}}}
|data={{{age}}}
  }}
}}
  {{Infobox/row
</table>
  | label      =Age
</includeonly>
  | labelstyle =background-color: #eef; font-weight:bold;
 
  | data       ={{{age|}}}
<noinclude>
  }}
{{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      ={{{id|}}}
  }}
|}</includeonly><noinclude>
{{Infobox_character
{{Infobox_character
|name=ANTHONY
|name=ANTHONY
|image=[[File:Album_test.jpg|300px]]
|image=[[File:Album_test.jpg|300px]]
|jname=
|jname= アンソニー (Ansonii)
|seiyuu=some guy on acid
|seiyuu=some guy on acid
|Age=ETERNAL
|age=ETERNAL
|weapon=roses
|id=666
}}
}}


Example use :
Example use:
<pre>
<pre style="width:auto; overflow:auto">
{{Infobox_character
{{Infobox_character
|name=ANTHONY
|name=ANTHONY
|image=[[File:Album_test.jpg|300px]]
|image=[[File:Album_test.jpg|300px]]
|jname=
|jname= アンソニー (Ansonii)
|seiyuu=some guy on acid
|seiyuu=some guy on acid
|Age=ETERNAL
|age=ETERNAL
}}
|weapon=roses
</pre></noinclude>
|id=666
}}</pre>
 
{|class="wikitable" style="width: 100%; clear: right;
|-
!Parameter
!Explanation
|-
|name || Name of the character
|-
|image || Link to an image of the character (e.g. <nowiki>[[File:Album_test.jpg|300px]]</nowiki>)
|-
|jname || The character's name in japanese characters
|-
|seiyuu || The character's voice actor
|-
|voices || The character's voice actors - intended for multilanguage entries
|-
|age ||
|-
|weapon ||
|-
|id ||The character's ingame id number (mostly for magireco)
|}
[[Category:Templates]]</noinclude>

Revision as of 16:23, 22 February 2020

ANTHONY
Album test.jpg
Japanese Name アンソニー (Ansonii)
Seiyū some guy on acid
Age ETERNAL
Weapon roses
ID No: 666

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
}}
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
seiyuu The character's voice actor
voices The character's voice actors - intended for multilanguage entries
age
weapon
id The character's ingame id number (mostly for magireco)