Template:Character: Difference between revisions

From The Coffin of Andy and Leyley

(Use Lua Module)
Tags: Replaced Reverted
m (Reverted edits by Ashley Graves (talk) to last revision by [[User:fandom>UDie2day|fandom>UDie2day]])
Tag: Rollback
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><infobox type="Character">
<includeonly>{{#invoke:Character|main}}</includeonly>
<title source="name"/>
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
<image source="image">
    <caption source="imagecaption" />
</image>
<group>
    <data source="aliases"><label>Aliases</label></data>
    <data source="relatives"><label>Relatives</label></data>
    <data source="other"><label>Other</label></data>
    <data source="affiliation"><label>Affiliation</label></data>
        <data source="occupation"><label>Occupation</label></data>
    </group>
    <group>
        <header>Biographical information</header>
        <data source="status"><label>Status</label></data>
        <data source="marital"><label>Marital status</label></data>
        <data source="age"><label>Age</label></data>
    <data source="birthDate"><label>Date of birth</label></data>
        <data source="birthPlace"><label>Place of birth</label></data>
        <data source="deathDate"><label>Date of death</label></data>
        <data source="deathPlace"><label>Place of death</label></data>
    </group>
    <group>
        <header>Physical description</header>
        <data source="species"><label>Species</label></data>
        <data source="gender"><label>Gender</label></data>
        <data source="height"><label>Height</label></data>
        <data source="weight"><label>Weight</label></data>
        <data source="eyes"><label>Eye color</label></data>
</group>
<group>
    <header>General Information</header>
    <data source="crimes"><label>Crime(s)</label></data>
    <data source="equipment"><label>Equipment</label></data>
</group>
    <group>
      <header>Appearances</header>
      <data source="portrayedby"><label>Portrayed by</label></data>
      <data source="appearsin"><label>Appears in</label></data>
      <data source="debut"><label>Debut</label></data>
</group>
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:08, 2 January 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[edit]

To use this template, add the {{Character}} template and fill in the appropriate fields. Fields left blank will not appear in articles.

Syntax[edit]

{{Character
 | name         = 
 | image        = 
 | imagecaption = 
 | aliases      = 
 | relatives    = 
 | other        =
 | affiliation  = 
 | occupation   = 
 | status       =
 | marital      = 
 | birthDate    = 
 | birthPlace   = 
 | deathDate    = 
 | deathPlace   = 
 | species      = 
 | gender       = 
 | height       = 
 | weight       = 
 | eyes         = 
 | crimes       =
 | equipment    =
 | portrayedby  = 
 | appearsin    = 
 | debut        = 

}}

Sample output[edit]

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