Difference between revisions of "Template:Quality"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "<includeonly> {| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 15%; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444" |- | {| class="wikitable" style="border-style: solid; border-width: 10px;" ! style="text-align:left;max-width: 70%" | {{{Name}}} ! style="text-align:left;max-width: 30%" | {{{KarmaCost}}} |- ! colspan="2" style="text-align:left; width: 100%" | {{{Description}}} |}</includeonly> <noi...")
 
Line 6: Line 6:
{| class="wikitable" style="border-style: solid; border-width: 10px;"
{| class="wikitable" style="border-style: solid; border-width: 10px;"
! style="text-align:left;max-width: 70%" | {{{Name}}}
! style="text-align:left;max-width: 70%" | {{{Name}}}
! style="text-align:left;max-width: 30%" | {{{KarmaCost}}}
! style="text-align:left;max-width: 30%" | Cost: {{{KarmaCost}}} karma
|-
! colspan="2" style="text-align:left; width: 100%" | Requires: {{{Requires| }}}  
|-
|-
! colspan="2" style="text-align:left; width: 100%" | {{{Description}}}  
! colspan="2" style="text-align:left; width: 100%" | {{{Description}}}  
Line 19: Line 21:
*Name The name of the quality.
*Name The name of the quality.
*KarmaCost The base cost of the quality in karma (bonus or penalty).
*KarmaCost The base cost of the quality in karma (bonus or penalty).
*Requires Any special requirements that might exist.
*Description The text associated with the quality.
*Description The text associated with the quality.


Line 25: Line 28:
<pre>
<pre>
{{Quality|
{{Quality|
|Name="Test Quality"
|Name=Test Quality
|KarmaCost=14
|KarmaCost=14
|Description="This is some text"
|Requires=Requirement
|Description=This is some text
|}}
|}}
</pre>
</pre>
Line 33: Line 37:
The template will return the characters current essence/total essence.  
The template will return the characters current essence/total essence.  
{{Quality|
{{Quality|
|Name="Test Quality"
|Name=Test Quality
|KarmaCost=14
|KarmaCost=14
|Description="This is some text this is lots of text and I am going to write a bunch of it"
|Requires=Requirement
|Description=This is some text
|}}
|}}



Revision as of 22:24, 23 August 2024


Usage

This template helps create a standard display format for custom qualities.

  • Name The name of the quality.
  • KarmaCost The base cost of the quality in karma (bonus or penalty).
  • Requires Any special requirements that might exist.
  • Description The text associated with the quality.

So, if you enter this:

{{Quality|
|Name=Test Quality
|KarmaCost=14
|Requires=Requirement
|Description=This is some text
|}}

The template will return the characters current essence/total essence.

Test Quality Cost: 14 karma
Requires: Requirement
This is some text