Template:SPECIAL

From The Vault - Fallout Wiki
Jump to: navigation, search
Template documentation (for the template shown above, sometimes hidden or invisible)

This template is used for formatting SPECIAL stat listings.

Usage

{{SPECIAL|1,2,3,4,5,6,7}}

Parameters

RequiredIcon required.png
<unnamed 1> or string

The numbers, separated by the character/string specified by split by.

OptionalIcon optional.png
(default: ",")
split by

This is the character/string which is used as a delimiter for the numbers in <unnamed 1>/string, i.e. the character/string which separates the individual numbers.

Note that spaces at the beginning or end of the string need to be HTML encoded (& #032; without the space in between), and that using | is not recommended.

Examples

Default separator

{{SPECIAL|1,2,3,4,5,6,7}}

results in: Strength: 1
Perception: 2
Endurance: 3
Charisma: 4
Intelligence: 5
Agility: 6
Luck: 7

{{SPECIAL|1, 2, 3, 4, 5, 6, 7}}

results in: Strength: 1
Perception: 2
Endurance: 3
Charisma: 4
Intelligence: 5
Agility: 6
Luck: 7

Custom separator

{{SPECIAL|1-2-3-4-5-6-7|split by=-}}

results in: Strength: 1
Perception: 2
Endurance: 3
Charisma: 4
Intelligence: 5
Agility: 6
Luck: 7

Documentation transcluded from Template:SPECIAL/doc.