Difference between revisions of "Template:Honor infobox/echoSkillLevel/echoBadge"

From Pathfinder Wiki
 
Line 37: Line 37:
 
:<nowiki>}}</nowiki>
 
:<nowiki>}}</nowiki>
 
</div>
 
</div>
 +
 +
==== Output ====
 +
<div class="toccolours">
 
{{Honor infobox/echoSkillLevel/echoBadge
 
{{Honor infobox/echoSkillLevel/echoBadge
 
|act-skill=2
 
|act-skill=2
Line 47: Line 50:
 
|skill-of-badge=3
 
|skill-of-badge=3
 
}}
 
}}
 +
</div>

Latest revision as of 12:09, 17 January 2021

This Template outputs one badge for the Skill Level in the Infobox. To work, it needs the Actual Skill Level and the Skill Level represented by the Badge. With thoes values the Badge will be styled correctly. If the Actual Skill Level is the same as the Skill Level of the Badge it will be highlighted.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Actual Skill Levelact-skill

This defines the actual skill level.

Default
1
Example
1
Numberrequired
Skill Level of Badgeskill-of-badge

This defines the Skill Level of the Badge outputed by the Template.

Default
1
Example
2
Numberrequired

Example

{{Honor infobox/echoSkillLevel/echoBadge
|act-skill=2
|skill-of-badge=1
}}{{Honor infobox/echoSkillLevel/echoBadge
|act-skill=2
|skill-of-badge=2
}}{{Honor infobox/echoSkillLevel/echoBadge
|act-skill=2
|skill-of-badge=3
}}

Output

123