Difference between revisions of "Template:ShowSkillCaps"

From ChatWars Wiki
Jump to: navigation, search
m (change unknown color to something less "in your face" red)
m (color update)
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: crimson" }}
+
       | Unknown | ? = {{#vardefine: backgroundColorModifier | style="background-color: indianred" }}
 
       | #default = {{#vardefine: backgroundColorModifier | }}
 
       | #default = {{#vardefine: backgroundColorModifier | }}
 
     }}
 
     }}

Revision as of 06:41, 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