Difference between revisions of "Template:Quality"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: Reverted
(Undo revision 136612 by Bulldogc (talk))
Tag: Undo
Line 5: Line 5:


{| style="width: 100%;"
{| style="width: 100%;"
! style="font-size:110%; border-bottom: 1px solid red; color: red; text-align:left;max-width: 80%" | {{{Name}}}
! colspan="2" style="font-size:110%; border-bottom: 1px solid red; color: red; text-align:left;max-width: 100%" | {{{Name}}}
| style="font-size:100%; text-align:left; max-width: 20%" | Cost:{{{KarmaCost}}} karma
|-
|-
| colspan="2" style="font-size:100%; text-align:left; max-width: 60%" | Requires: {{{Requires| }}}  
| style="font-size:100%; text-align:left; max-width: 60%" | Requires: {{{Requires| }}}  
| style="font-size:100%; text-align:left; max-width: 40%" | Cost: {{{KarmaCost}}} karma
|-
|-
| colspan="2" style="font-size:80%; border-top: 1px solid; text-align:left; width: 100%" | {{{Description}}}  
| colspan="2" style="font-size:80%; border-top: 1px solid; text-align:left; width: 100%" | {{{Description}}}  

Revision as of 01:33, 19 October 2024


Usage

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

  • Name The name of the quality.
  • ScreenWidthPercentage This is an optional param which tells the box to only take up X% of the area its assigned to. This will default to 30 but might need to be changed to something else if placed within its own table or something.
  • 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|
|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.

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

more text