Template:Character: Difference between revisions
From 18TRIP Wiki
Content added Content deleted
No edit summary |
(trying to allow for custom colors!!) |
||
Line 1: | Line 1: | ||
<includeonly><infobox> |
<includeonly><infobox style="background-color:{{{color|defaultcolor}}}"> |
||
<title source="Name"> |
<title source="Name"> |
||
<default>{{PAGENAME}}</default> |
<default>{{PAGENAME}}</default> |
||
Line 35: | Line 35: | ||
<label>Voice actor</label> |
<label>Voice actor</label> |
||
</data> |
</data> |
||
</group> |
|||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 02:01, 1 April 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
To use this template, add the {{Character}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.
Syntax
{{Character | name = | image = | imagecaption = | japanese = | age = | birthday = | height = | ward = | group = | occupation = | voice actor = }}
Sample output
Attribute "style" is not supported in <infobox> tag
{{Character | name = Flowa | image = Example.jpg | imagecaption = Flowa, at rest | aliases = Flo | relatives = | affiliation = | occupation = | marital = | birthDate = July 21st, 2013 | birthPlace = Iowa | deathDate = | deathPlace = | species = Plant | gender = | height = | weight = | eyes = | portrayedby = | appearsin = | debut = }}