Difference between revisions of "Template:ShowSkillCaps"

From ChatWars Wiki
Jump to: navigation, search
(fixed for pages with apostrophe)
m (more formatting adjustments for unknown sections)
 
(3 intermediate revisions by the same user not shown)
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: red" }}
+
       | Unknown | ? = {{#vardefine: backgroundColorModifier | style="background-color: #b02b2b;font-weight:bold;color:white" }}
 
       | #default = {{#vardefine: backgroundColorModifier | }}
 
       | #default = {{#vardefine: backgroundColorModifier | }}
 
     }}
 
     }}

Latest revision as of 06:45, 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