Difference between revisions of "Template:ShowSkillCaps"
(fixed for pages with apostrophe) |
m (change unknown color to something less "in your face" red) |
||
Line 57: | Line 57: | ||
<!-- mark "unknown" and "?" as red--> | <!-- mark "unknown" and "?" as red--> | ||
{{#switch: {{#show: {{#var: skill}} |?{{#var: queryText}}{{#var: i}}# }} | {{#switch: {{#show: {{#var: skill}} |?{{#var: queryText}}{{#var: i}}# }} | ||
− | | Unknown | ? = {{#vardefine: backgroundColorModifier | style="background-color: | + | | Unknown | ? = {{#vardefine: backgroundColorModifier | style="background-color: crimson" }} |
| #default = {{#vardefine: backgroundColorModifier | }} | | #default = {{#vardefine: backgroundColorModifier | }} | ||
}} | }} |
Revision as of 06:40, 8 December 2021
This template shows the skill caps of a skill within certain boundaries If parameter "standalone" is set to true (default), it generates a table head to be used completely on its own, if set to false it only shows the name, description and skill caps without adding wikitable beginnings and ends