Difference between revisions of "Template:Quality"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 30%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" | {| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: {{{ScreenWidthPercentage|30}}}%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" | ||
|- | |- | ||
| | | | ||
Line 30: | Line 30: | ||
<pre> | <pre> | ||
{{Quality| | {{Quality| | ||
|ScreenWidthPercentage=30 (optional, defaults to 30) | |||
|Name=Test Quality | |Name=Test Quality | ||
|KarmaCost=14 | |KarmaCost=14 | ||
Line 39: | Line 40: | ||
The template will return the characters current essence/total essence. | The template will return the characters current essence/total essence. | ||
{{Quality| | {{Quality| | ||
|ScreenWidthPercentage=50 | |||
|Name=Test Quality | |Name=Test Quality | ||
|KarmaCost=14 | |KarmaCost=14 |
Revision as of 12:51, 25 August 2024
UsageThis template helps create a standard display format for custom qualities.
So, if you enter this: {{Quality| |ScreenWidthPercentage=30 (optional, defaults to 30) |Name=Test Quality |KarmaCost=14 |Requires=Requirement |Description=This is some text |}} The template will return the characters current essence/total essence.
|