Template:Character: Difference between revisions

From 18TRIP Wiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
User
<includeonly>
how to make it so that for each page, we can decide which color to make it <includeonly><infobox>
<div class="custom-infobox {{{color|}}}">
<title source="Name">
<infobox>
<default>{{PAGENAME}}</default>
<title source="Name">
</title>
<default>{{PAGENAME}}</default>
<image source="characterimg">
</title>
<image source="characterimg">
<caption source="caption-characterimg"/>
</image>
<caption source="caption-characterimg"/>
</image>
<group>
<header source="Profile">Profile</header>
<group>
<header source="Profile">Profile</header>
<data source="Kanji">
<data source="Kanji">
<label>Kanji</label>
<label>Kanji</label>
</data>
</data>
<data source="Romaji">
<data source="Romaji">
<label>Romaji</label>
<label>Romaji</label>
</data>
</data>
<data source="Age">
<data source="Age">
<label>Age</label>
<label>Age</label>
</data>
</data>
<data source="Height">
<data source="Height">
<label>Height</label>
<label>Height</label>
</data>
</data>
<data source="Ward">
<data source="Ward">
<label>Ward</label>
<label>Ward</label>
</data>
</data>
<data source="Group">
<data source="Group">
<label>Group</label>
<label>Group</label>
</data>
</data>
<data source="Occupation">
<data source="Occupation">
<label>Occupation</label>
<label>Occupation</label>
</data>
</data>
</group>
</group>
<group>
<header source="Voice Actor">Voice actor</header>
<group>
<header source="Voice Actor">Voice actor</header>
<data source="Voice actor">
<data source="Voice actor">
<label>Voice actor</label>
<label>Voice actor</label>
</data>
</group></infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
</data>
</group>
</infobox>
</div>
{{#ifeq: {{NAMESPACE}} | 0 | [[Category:Characters]]}}
</includeonly>
<noinclude>{{Documentation}}</noinclude>

Revision as of 02:05, 1 April 2024

User how to make it so that for each page, we can decide which color to make it

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

User how to make it so that for each page, we can decide which color to make it

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