From Texas Chain Saw Massacre Wiki
(little more styling) |
(added documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 56: | Line 56: | ||
|}}<!-- | |}}<!-- | ||
--><br><div class="line"></div> | --><br><div class="line"></div> | ||
{{#if:{{{ | {{#if:{{{stat1|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat1}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat1'}}}</div> | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{stat2|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat2}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat2'}}}</div> | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{stat3|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat3}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat3'}}}</div> | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{stat4|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat4}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat4'}}}</div> | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{stat5|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat5}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat5'}}}</div> | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{stat6|}}}| | ||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | <div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | ||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);"> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat6}}}</div> | ||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{ | <div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat6'}}}</div> | ||
</div> | |||
|}}<!-- | |||
-->{{#if:{{{stat7|}}}| | |||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | |||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat7}}}</div> | |||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat7'}}}</div> | |||
</div> | |||
|}}<!-- | |||
-->{{#if:{{{stat8|}}}| | |||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | |||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat8}}}</div> | |||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat8'}}}</div> | |||
</div> | |||
|}}<!-- | |||
-->{{#if:{{{stat9|}}}| | |||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | |||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat9}}}</div> | |||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat9'}}}</div> | |||
</div> | |||
|}}<!-- | |||
-->{{#if:{{{stat10|}}}| | |||
<div class="stats-container" style="clear: both; padding:0 20px 0 20px;"> | |||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">{{{stat10}}}</div> | |||
<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{stat10'}}}</div> | |||
</div> | </div> | ||
|}} | |}} | ||
</div> | </div> | ||
</includeonly> | </includeonly><noinclude> | ||
<noinclude> | == Example == | ||
== | |||
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages. | This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages. | ||
<table class="wikitable"> | |||
<tr> | |||
<th>Code</th> | |||
<th>Preview</th> | |||
</tr><tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{Infobox Character | <pre>{{Infobox Character | ||
|name = Cook | |name = Cook | ||
Line 104: | Line 133: | ||
|harvesting = 11 | |harvesting = 11 | ||
|endurance = 18 | |endurance = 18 | ||
| | |stat1 = Melee Damage | ||
| | |stat1' = 16 | ||
| | |stat2 = Walk Speed | ||
| | |stat2' = 5 | ||
}} | |stat3 = Run Speed | ||
</pre> | |stat3' = 7 | ||
|stat4 = Sprint Speed | |||
|stat4' = 9 | |||
}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{Infobox Character | {{Infobox Character | ||
|name = Cook | |name = Cook | ||
Line 119: | Line 150: | ||
|harvesting = 11 | |harvesting = 11 | ||
|endurance = 18 | |endurance = 18 | ||
| | |stat1 = Melee Damage | ||
| | |stat1' = 16 | ||
| | |stat2 = Walk Speed | ||
| | |stat2' = 5 | ||
|stat3 = Run Speed | |||
|stat3' = 7 | |||
|stat4 = Sprint Speed | |||
|stat4' = 9 | |||
}} | }} | ||
</td> | |||
< | </tr><tr> | ||
<td style="padding: 20px 30px;"> | |||
<pre>{{Infobox Character | <pre>{{Infobox Character | ||
|name = Ana | |name = Ana | ||
Line 136: | Line 171: | ||
|proficiency = 10 | |proficiency = 10 | ||
|stealth = 25 | |stealth = 25 | ||
| | |stat1 = Stat1 | ||
| | |stat1' = 1 | ||
|stat2 = Stat2 | |||
|stat2' = 2 | |||
|stat3 = Stat3 | |||
|stat3' = 3 | |||
|stat4 = Stat4 | |||
|stat4' = 4 | |||
|stat5 = Stat5 | |||
|stat5' = 5 | |||
|stat6 = Stat6 | |||
|stat6' = 6 | |||
|stat7 = Stat7 | |||
|stat7' = 7 | |||
|stat8 = Stat8 | |||
|stat8' = 8 | |||
|stat9 = Stat9 | |||
|stat9' = 9 | |||
|stat10 = Stat10 | |||
|stat10' = 10 | |||
}} | }} | ||
</pre> | </pre></td> | ||
<td style="padding: 20px 30px;"> | |||
{{Infobox Character | {{Infobox Character | ||
|name = Ana | |name = Ana | ||
Line 151: | Line 203: | ||
|proficiency = 10 | |proficiency = 10 | ||
|stealth = 25 | |stealth = 25 | ||
| | |stat1 = Stat1 | ||
| | |stat1' = 1 | ||
|stat2 = Stat2 | |||
|stat2' = 2 | |||
|stat3 = Stat3 | |||
|stat3' = 3 | |||
|stat4 = Stat4 | |||
|stat4' = 4 | |||
|stat5 = Stat5 | |||
|stat5' = 5 | |||
|stat6 = Stat6 | |||
|stat6' = 6 | |||
|stat7 = Stat7 | |||
|stat7' = 7 | |||
|stat8 = Stat8 | |||
|stat8' = 8 | |||
|stat9 = Stat9 | |||
|stat9' = 9 | |||
|stat10 = Stat10 | |||
|stat10' = 10 | |||
}} | }} | ||
</td> | |||
</tr> | |||
</table> | |||
== All Options == | |||
The full list of options are listed below. | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"example": "Cook", | |||
"type": "string", | |||
"required": true, | |||
"description": "The name of the item" | |||
}, | |||
"image": { | |||
"label": "image", | |||
"example": "Cook.png", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Image of the item, optional, name variable is used on default" | |||
}, | |||
"savagery": { | |||
"label": "savagery", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"harvesting": { | |||
"label": "harvesting", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"endurance": { | |||
"label": "endurance", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"toughness": { | |||
"label": "toughness", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"strength": { | |||
"label": "strength", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"proficiency": { | |||
"label": "proficiency", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"stealth": { | |||
"label": "stealth", | |||
"example": "20", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Attribute of the character" | |||
}, | |||
"stat1": { | |||
"label": "Stat1", | |||
"example": "Walk Speed", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat1" | |||
}, | |||
"stat1'": { | |||
"label": "Stat1'", | |||
"example": "1.4 m/s", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat1" | |||
}, | |||
"stat2": { | |||
"label": "Stat2", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat2" | |||
}, | |||
"stat2'": { | |||
"label": "Stat2'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat2" | |||
}, | |||
"stat3": { | |||
"label": "Stat3", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat3" | |||
}, | |||
"stat3'": { | |||
"label": "Stat3'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat3" | |||
}, | |||
"stat4": { | |||
"label": "Stat4", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat4" | |||
}, | |||
"stat4'": { | |||
"label": "Stat4'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat4" | |||
}, | |||
"stat5": { | |||
"label": "Stat5", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat5" | |||
}, | |||
"stat5'": { | |||
"label": "Stat5'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat5" | |||
}, | |||
"stat6": { | |||
"label": "Stat6", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat6" | |||
}, | |||
"stat6'": { | |||
"label": "Stat6'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat6" | |||
}, | |||
"stat7": { | |||
"label": "Stat7", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat7" | |||
}, | |||
"stat7'": { | |||
"label": "Stat7'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat7" | |||
}, | |||
"stat8": { | |||
"label": "Stat8", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat8" | |||
}, | |||
"stat8'": { | |||
"label": "Stat8'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat8" | |||
}, | |||
"stat9": { | |||
"label": "Stat9", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat9" | |||
}, | |||
"stat9'": { | |||
"label": "Stat9'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat9" | |||
}, | |||
"stat10": { | |||
"label": "Stat10", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Name of stat10" | |||
}, | |||
"stat10'": { | |||
"label": "Stat10'", | |||
"type": "string", | |||
"suggested": false, | |||
"description": "Value of stat10" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"savagery", | |||
"harvesting", | |||
"endurance", | |||
"toughness", | |||
"strength", | |||
"proficiency", | |||
"stealth", | |||
"stat1", | |||
"stat1'", | |||
"stat2", | |||
"stat2'", | |||
"stat3", | |||
"stat3'", | |||
"stat4", | |||
"stat4'", | |||
"stat5", | |||
"stat5'", | |||
"stat6", | |||
"stat6'", | |||
"stat7", | |||
"stat7'", | |||
"stat8", | |||
"stat8'", | |||
"stat9", | |||
"stat9'", | |||
"stat10", | |||
"stat10'" | |||
] | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 18:51, 29 June 2023
Example
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
Code | Preview |
---|---|
{{Infobox Character |name = Cook |image = Cookim.png |info = 6'7" • 330 lbs. • ??? years • Hometown ??? |savagery = 30 |harvesting = 11 |endurance = 18 |stat1 = Melee Damage |stat1' = 16 |stat2 = Walk Speed |stat2' = 5 |stat3 = Run Speed |stat3' = 7 |stat4 = Sprint Speed |stat4' = 9 }} |
|
{{Infobox Character |name = Ana |image = Anaim.png |info = 5'4" • 105 lbs. • 18 years • Uvalde, Texas |toughness = 40 |endurance = 25 |strength = 20 |proficiency = 10 |stealth = 25 |stat1 = Stat1 |stat1' = 1 |stat2 = Stat2 |stat2' = 2 |stat3 = Stat3 |stat3' = 3 |stat4 = Stat4 |stat4' = 4 |stat5 = Stat5 |stat5' = 5 |stat6 = Stat6 |stat6' = 6 |stat7 = Stat7 |stat7' = 7 |stat8 = Stat8 |stat8' = 8 |stat9 = Stat9 |stat9' = 9 |stat10 = Stat10 |stat10' = 10 }} |
All Options
The full list of options are listed below.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the item
| String | required |
image | image | Image of the item, optional, name variable is used on default
| String | optional |
savagery | savagery | Attribute of the character
| String | optional |
harvesting | harvesting | Attribute of the character
| String | optional |
endurance | endurance | Attribute of the character
| String | optional |
toughness | toughness | Attribute of the character
| String | optional |
strength | strength | Attribute of the character
| String | optional |
proficiency | proficiency | Attribute of the character
| String | optional |
stealth | stealth | Attribute of the character
| String | optional |
Stat1 | stat1 | Name of stat1
| String | optional |
Stat1' | stat1' | Value of stat1
| String | optional |
Stat2 | stat2 | Name of stat2 | String | optional |
Stat2' | stat2' | Value of stat2 | String | optional |
Stat3 | stat3 | Name of stat3 | String | optional |
Stat3' | stat3' | Value of stat3 | String | optional |
Stat4 | stat4 | Name of stat4 | String | optional |
Stat4' | stat4' | Value of stat4 | String | optional |
Stat5 | stat5 | Name of stat5 | String | optional |
Stat5' | stat5' | Value of stat5 | String | optional |
Stat6 | stat6 | Name of stat6 | String | optional |
Stat6' | stat6' | Value of stat6 | String | optional |
Stat7 | stat7 | Name of stat7 | String | optional |
Stat7' | stat7' | Value of stat7 | String | optional |
Stat8 | stat8 | Name of stat8 | String | optional |
Stat8' | stat8' | Value of stat8 | String | optional |
Stat9 | stat9 | Name of stat9 | String | optional |
Stat9' | stat9' | Value of stat9 | String | optional |
Stat10 | stat10 | Name of stat10 | String | optional |
Stat10' | stat10' | Value of stat10 | String | optional |