Difference between revisions of "Template:ShowSkillCaps"

From ChatWars Wiki
Jump to: navigation, search
Line 43: Line 43:
 
       | {{#ifexpr: {{#expr: {{#var: i}} < {{#var:upperBound}} }} and {{#if: {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#var: i}}# }}
 
       | {{#ifexpr: {{#expr: {{#var: i}} < {{#var:upperBound}} }} and {{#if: {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#var: i}}# }}
 
                                                                       | {{#ifeq: {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#var: i}}# }}
 
                                                                       | {{#ifeq: {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#var: i}}# }}
                                                                      | {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#expr: {{#var: i}} + 1}}# }}
+
                                                                          | {{#show: {{{source | {{PAGENAME}} }}} |?{{#var: queryText}}{{#expr: {{#var: i}} + 1}}# }}
                                                                      | 1
+
                                                                          | 1
 +
                                                                          | 0
 +
                                                                        }}
 
                                                                       | 0
 
                                                                       | 0
 
                                                                     }}
 
                                                                     }}

Revision as of 16:04, 4 February 2019


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