From Dark and Darker Wiki
| No edit summary | m (little better styling) | ||
| Line 14: | Line 14: | ||
| 	<div class="line"></div> | 	<div class="line"></div> | ||
| {{#if:{{{strength|}}}| | {{#if:{{{strength|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Strength</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Strength</div> | ||
| 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{strength}}}</div> | 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{strength}}}</div> | ||
| Line 20: | Line 20: | ||
| |}} | |}} | ||
| {{#if:{{{agility|}}}| | {{#if:{{{agility|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Agility</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Agility</div> | ||
| 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{agility}}}</div> | 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{agility}}}</div> | ||
| Line 26: | Line 26: | ||
| |}} | |}} | ||
| {{#if:{{{will|}}}| | {{#if:{{{will|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Will</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Will</div> | ||
| 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{will}}}</div> | 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{will}}}</div> | ||
| Line 32: | Line 32: | ||
| |}} | |}} | ||
| {{#if:{{{knowledge|}}}| | {{#if:{{{knowledge|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Knowledge</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Knowledge</div> | ||
| 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{knowledge}}}</div> | 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{knowledge}}}</div> | ||
| Line 38: | Line 38: | ||
| |}} | |}} | ||
| {{#if:{{{resourcefulness|}}}| | {{#if:{{{resourcefulness|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Resourcefulness</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Resourcefulness</div> | ||
| 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{resourcefulness}}}</div> | 		<div style="float: right;width: 20%;color:rgb(132,176,5);text-align-last: right;font-weight:bold;">{{{resourcefulness}}}</div> | ||
| Line 45: | Line 45: | ||
| <br><div class="line"></div> | <br><div class="line"></div> | ||
| {{#if:{{{health|}}}| | {{#if:{{{health|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Health</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Health</div> | ||
| 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{health}}}</div> | 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{health}}}</div> | ||
| Line 51: | Line 51: | ||
| |}} | |}} | ||
| {{#if:{{{weight limit|}}}| | {{#if:{{{weight limit|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Weight Limit</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Weight Limit</div> | ||
| 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{weight limit}}}</div> | 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{weight limit}}}</div> | ||
| Line 57: | Line 57: | ||
| |}} | |}} | ||
| {{#if:{{{spell memory|}}}| | {{#if:{{{spell memory|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Spell Memory</div> | 		<div style="float: left; width: 30%; font-weight:bold; color:rgb(221,149,42);">Spell Memory</div> | ||
| 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{spell memory}}}</div> | 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{spell memory}}}</div> | ||
| Line 63: | Line 63: | ||
| |}} | |}} | ||
| {{#if:{{{utility effectiveness|}}}| | {{#if:{{{utility effectiveness|}}}| | ||
| 	<div class="stats-container" style="clear: both | 	<div class="stats-container" style="clear: both;"> | ||
| 		<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Utility Effectiveness</div> | 		<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Utility Effectiveness</div> | ||
| 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{utility effectiveness}}}</div> | 		<div style="float: right;width: 20%;text-align-last: right;font-weight:bold;">{{{utility effectiveness}}}</div> | ||
Revision as of 18:03, 29 June 2023
Usage
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.
{{Infobox Class
|name                  = Barbarian
|type                  = 'The Brawny Warrior'
|strength              = 30
|agility               = 11
|will                  = 18
|knowledge             = 6
|resourcefulness       = 10
|health                = 130
|weight limit          = 0 / 0
|spell memory          = 0 / 0
|utility effectiveness = 0
}}
Results in:

Barbarian
            'The Brawny Warrior'
			Strength
		30
	Agility
		11
	Will
		18
	Knowledge
		6
	Resourcefulness
		10
	Health
		130
	Weight Limit
		0 / 0
	Spell Memory
		0 / 0
	Utility Effectiveness
		0
	
 
						