Difference between revisions of "Template:Infobox character"

From Dwaia Wiki
Jump to navigation Jump to search
(converted to html tags for more power)
Line 1: Line 1:
{| class="wikitable infobox" style="float:right; margin-left: 10px; width:300px"
+
<table class="wikitable infobox">
!colspan="2" style="font-size:20px"|{{{name|{{PAGENAME}}}}}
+
<tr>
|-
+
<th colspan="2" style="font-size:20px">{{{name|{{PAGENAME}}}}}</th>
|colspan="2"|[[File:{{{image}}}|frameless]]
+
</tr>{{#if:{{{image}}}|<tr>
|-
+
<td colspan="2" style="font-size:20px">[[File:{{{image}}}|frameless]]</td>
|colspan="2" class="caption"|{{{imagecaption|}}}
+
</tr>|}}{{#if:{{{imagecaption}}}|<tr>
|-
+
<td colspan="2" class="caption">{{{imagecaption}}}</td>
| Aliases
+
</tr>|}}{{#if:{{{aliases}}}|<tr>
| {{{aliases|}}}
+
<td>Aliases</td><td>{{{aliases}}}</td>
|-
+
</tr>|}}{{#if:{{{relatives}}}|<tr>
| Relatives
+
<td>Relatives</td><td>{{{relatives}}}</td>
| {{{relatives|}}}
+
</tr>|}}{{#if:{{{affiliation}}}|<tr>
|-
+
<td>Affiliation</td><td>{{{affiliation}}}</td>
| Affiliation
+
</tr>|}}{{#if:{{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}}|<tr>
| {{{affiliation|}}}
+
<td colspan="2" style="font-size:16px">Stats</td>
|-
+
</tr><tr>
!colspan="2" style="text-align:center; font-size:16px"|Stats
+
<td>Elements</td><td>{{{element|-}}}</td>
|-
+
</tr><tr>
| Element
+
<td>Level</td><td>{{{level|-}}}</td>
| {{{element|}}}
+
</tr><tr>
|-
+
<td>Skills</td><td>{{{skills|-}}}</td>
| Level
+
</tr><tr>
| {{{level|}}}
+
<td>STR</td><td>{{{str|-}}}</td>
|-
+
</tr><tr>
| Skills
+
<td>DEX</td><td>{{{dex|-}}}</td>
| {{{skills|}}}
+
</tr><tr>
|-
+
<td>CON</td><td>{{{con|-}}}</td>
| STR
+
</tr><tr>
| {{{str|-}}}
+
<td>INT</td><td>{{{int|-}}}</td>
|-
+
</tr><tr>
| DEX
+
<td>WIS</td><td>{{{wis|-}}}</td>
| {{{dex|-}}}
+
</tr><tr>
|-
+
<td>CHA</td><td>{{{cha|-}}}</td>
| CON
+
</tr><tr>
| {{{con|-}}}
+
<td class="caption">[[Stats Explained|What are these stats?]]</td>
|-
+
</tr>|}}<tr>
| INT
+
<td colspan="2" style="font-size:16px">Biographical information</td>
| {{{int|-}}}
+
</tr><tr>
|-
+
<td>Country</td><td>{{{country}}}</td>
| WIS
+
</tr><tr>
| {{{wis|-}}}
+
<td>Marital status</td><td>{{{marital}}}</td>
|-
+
</tr><tr>
| CHA
+
<td>Date of birth</td><td>{{{birthDate}}}</td>
| {{{cha|-}}}
+
</tr><tr>
|-
+
<td>Place of birth</td><td>{{{birthPlace}}}</td>
|colspan="2" class="caption"|[[Stats Explained|What are these stats?]]
+
</tr><tr>
|-
+
<td>Date of death</td><td>{{{deathDate}}}</td>
!colspan="2" style="font-size:16px"|Biographical information
+
</tr><tr>
|-
+
<td>Place of death</td><td>{{{deathPlace}}}</td>
| Country
+
</tr><tr>
| {{{country|}}}
+
<td>Species</td><td>{{{species}}}</td>
|-
+
</tr><tr>
| Marital status
+
<td>Gender</td><td>{{{gender}}}</td>
| {{{marital|}}}
+
</tr><tr>
|-
+
<td>Height</td><td>{{{height}}}</td>
|Date of birth
+
</tr><tr>
|{{{birthDate|}}}
+
<td>Weight</td><td>{{{weight}}}</td>
|-
+
</tr>
|Place of birth
+
</table>
|{{{birthPlace|}}}
 
|-
 
|Date of death
 
|{{{birthDate|}}}
 
|-
 
|Place of death
 
|{{{birthPlace|}}}
 
|-
 
!colspan="2" style="font-size:16px"|Physical description
 
|-
 
| Species
 
| {{{species|}}}
 
|-
 
| Gender
 
| {{{gender|}}}
 
|-
 
| Height
 
| {{{height|}}}
 
|-
 
| Weight
 
| {{{weight|}}}
 
|}
 
 
<noinclude>
 
<noinclude>
  

Revision as of 04:38, 28 January 2019

Infobox character
[[File:{{{image}}}|frameless]]
{{{imagecaption}}}
Aliases{{{aliases}}}
Relatives{{{relatives}}}
Affiliation{{{affiliation}}}
Biographical information
Country{{{country}}}
Marital status{{{marital}}}
Date of birth{{{birthDate}}}
Place of birth{{{birthPlace}}}
Date of death{{{deathDate}}}
Place of death{{{deathPlace}}}
Species{{{species}}}
Gender{{{gender}}}
Height{{{height}}}
Weight{{{weight}}}


How to use

Fill in the fields in this empty template with the appropriate values for the character:

{{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
Aliasesgremscro,
big hands
RelativesBiggie Hands (father),
Handa Biggs (mother),
gremscro big hands (himself)
Affiliationidunno
Stats
ElementsMeat
Level
Skillsall
STRbig hands
DEXbig hands
CONbig hands
INTbig hands
WISbig hands
CHAbig hands
What are these stats?
Biographical information
CountryEdgeon // The Dark Rift
Marital statusbig
Date of birth{{{birthDate}}}
Place of birth{{{birthPlace}}}
Date of death{{{deathDate}}}
Place of death{{{deathPlace}}}
Speciesgremscro big hands
Genderbig hands
Height1.80m (body),
1.20m (hands)
Weight105kg (body),
400kg (hands)

test

test

test

test

test

test