Difference between revisions of "Template:Infobox character"
Jump to navigation
Jump to search
m (1 revision imported: Person template from Wikipedia.) |
m (Removed the extra Alias row) |
||
(18 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{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 section |
− | | | + | | cond = {{{element|}}}{{{level|}}}{{{skills|}}}{{{str|}}}{{{dex|}}}{{{con|}}}{{{int|}}}{{{wis|}}}{{{cha|}}} <!-- This checks if any of the stats are defined by concatenating them and seeing if the string is empty --> |
+ | | 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 = {{{country|}}}{{{marital|}}}{{{birthDate|}}}{{{birthPlace|}}}{{{deathDate|}}}{{{deathPlace|}}} |
+ | | title = Biographical information | ||
+ | | | ||
+ | {{ Infobox conditional data | Country | {{{country|}}} }} | ||
+ | {{ Infobox conditional data | Marital status | {{{marital|}}} }} | ||
+ | {{ Infobox conditional data | Date of birth | {{{birthDate|}}} }} | ||
+ | {{ Infobox conditional data | Place of birth | {{{birthPlace|}}} }} | ||
+ | {{ Infobox conditional data | Date of death | {{{deathDate|}}} }} | ||
+ | {{ Infobox conditional data | Place of death | {{{deathPlace|}}} }} | ||
+ | }} | ||
− | | | + | {{ Infobox conditional section |
− | | | + | | cond = {{{species|}}}{{{gender|}}}{{{height|}}}{{{weight|}}} |
+ | | title = Biographical information | ||
+ | | | ||
+ | {{ Infobox conditional data | Species | {{{species|}}} }} | ||
+ | {{ Infobox conditional data | Gender | {{{gender|}}} }} | ||
+ | {{ Infobox conditional data | Height | {{{height|}}} }} | ||
+ | {{ Infobox conditional data | Weight | {{{weight|}}} }} | ||
+ | {{ Infobox conditional data | Eye color | {{{eyes|}}} }} | ||
+ | }} | ||
− | + | </table> | |
− | + | <noinclude> | |
− | | | + | ==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. |
+ | <pre> | ||
+ | {{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 = | ||
+ | }} | ||
+ | </pre> | ||
− | | | + | ==Example== |
− | | | + | <table><tr style="vertical-align:top;"><td> |
+ | This source code... | ||
+ | <pre> | ||
+ | {{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) | ||
+ | }} | ||
+ | </pre> | ||
+ | </td><td> | ||
+ | ...becomes this infobox: | ||
+ | {{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) | ||
+ | }} | ||
+ | </td></tr></table> | ||
− | + | [[Category:Templates]] | |
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 19:53, 11 May 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:
|