Difference between revisions of "Template:ShowSkillCaps"

From ChatWars Wiki
Jump to: navigation, search
Line 7: Line 7:
 
   | Blacksmith = {{#vardefine: queryText | BsLevel }}
 
   | Blacksmith = {{#vardefine: queryText | BsLevel }}
 
   | Collector = {{#vardefine: queryText | ClLevel }}
 
   | Collector = {{#vardefine: queryText | ClLevel }}
}}{|class="wikitable" style="width: 90%; text-align: center"
+
}}{{#ifeq: {{{standalone|true}}} | false
 +
  |
 +
  | {|class="wikitable" style="width: 90%; text-align: center"
 
|+ Skill caps for levels 20-39
 
|+ Skill caps for levels 20-39
 
|-
 
|-
Line 16: Line 18:
 
   | {{!}} {{#var:i}}<br><br>
 
   | {{!}} {{#var:i}}<br><br>
 
     {{#vardefine: i | {{#expr: {{#var: i}} + 1 }} }}
 
     {{#vardefine: i | {{#expr: {{#var: i}} + 1 }} }}
 +
}}
 
}}
 
}}
 
|-
 
|-
Line 35: Line 38:
 
<noinclude>
 
<noinclude>
 
This template shows the skill caps of a skill within certain boundaries
 
This template shows the skill caps of a skill within certain boundaries
If parameter "standalone" is set to true, it generates a table head to be used completely on its own,
+
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
 
if set to false it only shows the name, description and skill caps without adding wikitable beginnings and ends
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 21:30, 10 September 2018


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