Difference between revisions of "Template:Infobox character"

From Dwaia Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<table class="infobox">
 
<table class="infobox">
 +
{{ Infobox default title      | {{{name|{{PAGENAME}}}}} }}
 +
 +
{{ Infobox conditional image  | {{{image|}}}      }}
 +
{{ Infobox conditional caption | {{{imagecaption|}}}    }}
 +
 +
 +
{{ Infobox conditional data    | Aliases    | {{{aliases|}}}        }}
 +
{{ Infobox conditional data    | Relatives  | {{{relatives|}}}        }}
 +
{{ Infobox conditional data    | Affiliation| {{{affiliation|}}}        }}
 +
{{ Infobox conditional data    | Aliases    | {{{aliases|}}}        }}
 +
 +
{{ Infobox conditional section
 +
| cond = {{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}}
 +
| title = Stats
 +
|
 +
{{ Infobox conditional data    | Elements  | {{{element|}}}        }}
 +
{{ Infobox conditional data    | Level      | {{{level|}}}        }}
 +
{{ Infobox conditional data    | Skills    | {{{skills|}}}        }}
 +
{{ Infobox conditional data    | STR        | {{{str|}}}        }}
 +
{{ Infobox conditional data    | DEX        | {{{dex|}}}        }}
 +
{{ Infobox conditional data    | CON        | {{{con|}}}        }}
 +
{{ Infobox conditional data    | INT        | {{{int|}}}        }}
 +
{{ Infobox conditional data    | WIS        | {{{wis|}}}        }}
 +
{{ Infobox conditional data    | CHA        | {{{cha|}}}        }}
 +
{{ Infobox conditional caption | [[Stats Explained|What are these stats?]]        }}
 +
}}
 +
 +
{{ Infobox conditional section
 +
| cond = {{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}}
 +
| title = Stats
 +
|
 +
{{ Infobox conditional data    | Elements  | {{{element|}}}        }}
 +
{{ Infobox conditional data    | Level      | {{{level|}}}        }}
 +
{{ Infobox conditional data    | Skills    | {{{skills|}}}        }}
 +
{{ Infobox conditional data    | STR        | {{{str|}}}        }}
 +
{{ Infobox conditional data    | DEX        | {{{dex|}}}        }}
 +
{{ Infobox conditional data    | CON        | {{{con|}}}        }}
 +
{{ Infobox conditional data    | INT        | {{{int|}}}        }}
 +
{{ Infobox conditional data    | WIS        | {{{wis|}}}        }}
 +
{{ Infobox conditional data    | CHA        | {{{cha|}}}        }}
 +
{{ Infobox conditional caption | [[Stats Explained|What are these stats?]]        }}
 +
}}
 +
 
<tr>
 
<tr>
<th colspan="2" style="font-size:20px">{{{name|{{PAGENAME}}}}}</th>
 
</tr>{{#if:{{{image|}}}|<tr>
 
<td colspan="2" style="font-size:20px">[[File:{{{image}}}|frameless]]</td>
 
</tr>|}}{{#if:{{{imagecaption|}}}|<tr>
 
<td colspan="2" class="caption">{{{imagecaption}}}</td>
 
</tr>|}}{{#if:{{{aliases|}}}|<tr>
 
<td>Aliases</td><td>{{{aliases}}}</td>
 
</tr>|}}{{#if:{{{relatives|}}}|<tr>
 
<td>Relatives</td><td>{{{relatives}}}</td>
 
</tr>|}}{{#if:{{{affiliation|}}}|<tr>
 
<td>Affiliation</td><td>{{{affiliation}}}</td>
 
</tr>|}}{{#if:{{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}}|<tr>
 
<th colspan="2" style="font-size:16px">Stats</td>
 
</tr><tr>
 
<td>Elements</td><td>{{{element|-}}}</td>
 
</tr><tr>
 
<td>Level</td><td>{{{level|-}}}</td>
 
</tr><tr>
 
<td>Skills</td><td>{{{skills|-}}}</td>
 
</tr><tr>
 
<td>STR</td><td>{{{str|-}}}</td>
 
</tr><tr>
 
<td>DEX</td><td>{{{dex|-}}}</td>
 
</tr><tr>
 
<td>CON</td><td>{{{con|-}}}</td>
 
</tr><tr>
 
<td>INT</td><td>{{{int|-}}}</td>
 
</tr><tr>
 
<td>WIS</td><td>{{{wis|-}}}</td>
 
</tr><tr>
 
<td>CHA</td><td>{{{cha|-}}}</td>
 
</tr><tr>
 
<td class="caption">[[Stats Explained|What are these stats?]]</td>
 
</tr>|}}<tr>
 
 
{{#if:{{{country|}}}{{{marital|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}}|
 
{{#if:{{{country|}}}{{{marital|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}}|
 
<th colspan="2" style="font-size:16px">Biographical information</td>
 
<th colspan="2" style="font-size:16px">Biographical information</td>

Revision as of 14:45, 10 March 2019

Infobox character


How to use

Fill in the fields in this empty template with the appropriate values for the character. Fields that are not filled are automatically hidden.

{{infobox character
 | name         =
 | image        =
 | imagecaption =
 | aliases      =
 | affiliation  =
 | element      =
 | level        =
 | skills       =
 | str          =
 | con          =
 | dex          =
 | int          =
 | cha          =
 | wis          =
 | marital      =
 | birthDate    =
 | birthPlace   =
 | deathDate    =
 | deathPlace   =
 | species      =
 | gender       =
 | height       =
 | weight       =
 | eyes         =
}}

Example

This source code...

{{infobox character
 | name = gremscro big hands
 | image = 3d61387525a4b6817f6e4f80395f16bf.png
 | imagecaption = he
 | aliases = gremscro,<br/>big hands
 | relatives = [[Biggie Hands]] (father),<br/>[[Handa Biggs]] (mother),<br/>[[gremscro big hands]] (himself)
 | affiliation = idunno
 | element      = [[Meat (element)|Meat]]
 | level        = ∞
 | skills       = all
 | str          = big hands
 | con          = big hands
 | dex          = big hands
 | int          = big hands
 | cha          = big hands
 | wis          = big hands
 | country = [[Edgeon // The Dark Rift]]
 | marital = big
 | species = gremscro big hands
 | gender = big hands
 | height = 1.80m (body),<br/>1.20m (hands)
 | weight = 105kg (body),<br/>400kg (hands)
}}

...becomes this infobox:

gremscro big hands
3d61387525a4b6817f6e4f80395f16bf.png
he
Aliases gremscro,
big hands
Relatives Biggie Hands (father),
Handa Biggs (mother),
gremscro big hands (himself)
Affiliation idunno
Aliases gremscro,
big hands
Stats
Elements Meat
Level
Skills all
STR big hands
DEX big hands
CON big hands
INT big hands
WIS big hands
CHA big hands
What are these stats?
Stats
Elements Meat
Level
Skills all
STR big hands
DEX big hands
CON big hands
INT big hands
WIS big hands
CHA big hands
What are these stats?
Biographical information
CountryEdgeon // The Dark Rift
Marital statusbig
Psysical description
Speciesgremscro big hands
Genderbig hands
Height1.80m (body),
1.20m (hands)
Weight105kg (body),
400kg (hands)