mNo edit summary |
No edit summary |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly> |
||
⚫ | |||
− | <onlyinclude> |
||
<!-- Split description --> |
<!-- Split description --> |
||
{{#if:{{{description|}}}| |
{{#if:{{{description|}}}| |
||
− | {{#vardefine:desc|{{#replace:{{{description}}}|{{!}}||}}}} |
+ | {{#vardefine:desc|{{#replace:{{{description}}}|{{!}}||}}}} <!-- Whole text description --> |
− | {{#vardefine:nubegin|{{#rpos:{{#var:desc}}|{}}}} |
+ | {{#vardefine:nubegin|{{#rpos:{{#var:desc}}|{}}}} <!-- Number of character one before the { (wich marks the values) --> |
− | {{#vardefine:start|{{#sub:{{#var:desc}}|0|{{#var:nubegin}}}}}} |
+ | {{#vardefine:start|{{#sub:{{#var:desc}}|0|{{#var:nubegin}}}}}} <!-- The first half of the text description til the { --> |
− | {{#vardefine:remains|{{#explode:{{#var:desc}}|{|-1}}}} |
+ | {{#vardefine:remains|{{#explode:{{#var:desc}}|{|-1}}}} <!-- All the remaining character including the values --> |
− | {{#vardefine:base|{{#explode:{{#var:remains}}|&|0}}}} |
+ | {{#vardefine:base|{{#explode:{{#var:remains}}|&|0}}}} <!-- The base value (first value in the {} block) --> |
− | {{#vardefine: |
+ | {{#vardefine:remains2|{{#explode:{{#var:remains}}|}|0}}}} <!-- Only the inner block of {}, so x|x --> |
+ | {{#vardefine:step|{{#explode:{{#var:remains2}}|;|-1}}}} <!-- The step value (second value in the {} block) --> |
||
+ | {{#vardefine:end|{{#explode:{{#var:desc}}|}|-1}}}} <!-- The second half of the text description after } --> |
||
+ | |||
+ | {{#vardefine:desc1|{{#replace:{{#var:start}}|{{!}}||}}}} <!-- Whole start description --> |
||
+ | {{#vardefine:nubegin1|{{#rpos:{{#var:desc1}}|{}}}} <!-- Number of character one before the { (wich marks the values) --> |
||
+ | {{#ifeq:{{#var:nubegin1}}|-1|| |
||
+ | {{#vardefine:start|{{#sub:{{#var:desc1}}|0|{{#var:nubegin1}}}}}} <!-- The first half of the text description til the { --> |
||
+ | {{#vardefine:remains1|{{#explode:{{#var:desc1}}|{|-1}}}} <!-- All the remaining character including the values --> |
||
+ | {{#vardefine:base2|{{#explode:{{#var:remains1}}|&|0}}}} <!-- The base value (first value in the {} block) --> |
||
+ | {{#vardefine:remains3|{{#explode:{{#var:remains1}}|}|0}}}} <!-- Only the inner block of {}, so x|x --> |
||
+ | {{#vardefine:step2|{{#explode:{{#var:remains3}}|;|-1}}}} <!-- The step value (second value in the {} block) --> |
||
+ | {{#vardefine:mid|{{#explode:{{#var:desc1}}|}|-1}}}} |}} |}} <!-- The second half of the text description after } --> |
||
+ | |||
<!-- Page Text --> |
<!-- Page Text --> |
||
+ | {{#if:{{{cat|}}}|<span style="float:right; color: white; text-transform: uppercase; position: relative; font: bold 18px Montserrat;">{{#ifeq:{{{cat}}}|Armor / Weapon|[[File:WeaponAttack {{{champion|}}} Icon.png|40px|link={{{champion|}}}#Skills]]|[[File:Ability {{{cat}}}.png|40px|link={{{champion|}}}#Skills]]}} {{{cat}}}</span>||}} |
||
+ | |||
'''{{{name|{{PAGENAME}}}}}''' is one of the [[Cards]] available to [[{{{champion}}}]] in [[Paladins]]. |
'''{{{name|{{PAGENAME}}}}}''' is one of the [[Cards]] available to [[{{{champion}}}]] in [[Paladins]]. |
||
+ | <br><br> |
||
+ | '''Description'''<br> |
||
+ | {{{description|}}} |
||
<!-- Cards and tabs for rarities --> |
<!-- Cards and tabs for rarities --> |
||
<div style="text-align: right;"><tabber>Common= |
<div style="text-align: right;"><tabber>Common= |
||
Line 21: | Line 38: | ||
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
||
|startdescription={{#var:start}} |
|startdescription={{#var:start}} |
||
+ | |middescription={{#var:mid}} |
||
|enddescription={{#var:end}} |
|enddescription={{#var:end}} |
||
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
||
+ | |step={{#ifeq:{{#var:step}}||0|{{#var:step}}}} |
||
+ | |base2={{#ifeq:{{#var:base2}}|||{{#var:base2}}}} |
||
+ | |step2={{#ifeq:{{#var:step2}}|||{{#var:step2}}}} |
||
}} |
}} |
||
|-|Uncommon= |
|-|Uncommon= |
||
Line 33: | Line 54: | ||
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
||
|startdescription={{#var:start}} |
|startdescription={{#var:start}} |
||
+ | |middescription={{#var:mid}} |
||
|enddescription={{#var:end}} |
|enddescription={{#var:end}} |
||
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
||
+ | |step={{#ifeq:{{#var:step}}||0|{{#var:step}}}} |
||
+ | |base2={{#ifeq:{{#var:base2}}|||{{#var:base2}}}} |
||
+ | |step2={{#ifeq:{{#var:step2}}|||{{#var:step2}}}} |
||
}} |
}} |
||
|-|Rare= |
|-|Rare= |
||
Line 45: | Line 70: | ||
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
||
|startdescription={{#var:start}} |
|startdescription={{#var:start}} |
||
+ | |middescription={{#var:mid}} |
||
|enddescription={{#var:end}} |
|enddescription={{#var:end}} |
||
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
||
+ | |step={{#ifeq:{{#var:step}}||0|{{#var:step}}}} |
||
+ | |base2={{#ifeq:{{#var:base2}}|||{{#var:base2}}}} |
||
+ | |step2={{#ifeq:{{#var:step2}}|||{{#var:step2}}}} |
||
}} |
}} |
||
|-|Epic= |
|-|Epic= |
||
Line 57: | Line 86: | ||
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
||
|startdescription={{#var:start}} |
|startdescription={{#var:start}} |
||
+ | |middescription={{#var:mid}} |
||
|enddescription={{#var:end}} |
|enddescription={{#var:end}} |
||
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
||
+ | |step={{#ifeq:{{#var:step}}||0|{{#var:step}}}} |
||
+ | |base2={{#ifeq:{{#var:base2}}|||{{#var:base2}}}} |
||
+ | |step2={{#ifeq:{{#var:step2}}|||{{#var:step2}}}} |
||
}} |
}} |
||
|-|Legendary= |
|-|Legendary= |
||
Line 69: | Line 102: | ||
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
|cooldown={{#if:{{{cooldown|}}}|{{{cooldown|}}}|}} |
||
|startdescription={{#var:start}} |
|startdescription={{#var:start}} |
||
+ | |middescription={{#var:mid}} |
||
|enddescription={{#var:end}} |
|enddescription={{#var:end}} |
||
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
|base={{#ifeq:{{#var:base}}||0|{{#var:base}}}} |
||
+ | |step={{#ifeq:{{#var:step}}||0|{{#var:step}}}} |
||
⚫ | |||
+ | |base2={{#ifeq:{{#var:base2}}|||{{#var:base2}}}} |
||
+ | |step2={{#ifeq:{{#var:step2}}|||{{#var:step2}}}} |
||
⚫ | |||
+ | </includeonly> |
||
⚫ |
Revision as of 16:45, 10 January 2021
Documentation
[purge]
Documentation
Code
{{CardsOB67 |name=<<name>> |image=<<image file>> |frame type=<<frame type>> |champion=<<champion>> |description=<<description>> }}
Usage
- name: The name of this card.
- image file: Picture of the Card with file extension.
- frame type: Look of the Frame. Could be one of this:
- Silver (standard)
- Gold
- champion: Champion`s name.
- description: The in-game description of the card.
Example
{{CardsOB67 |name=End Of An Era |image=Card End Of An Era.jpg |cat=Hardening |champion=Yagorath |frame type=Silver |description=Increase the efficacy of Hardening by {20{{!}}20}% but reduce its duration by {10{{!}}10}%. }}
Result
End Of An Era is one of the Cards available to Yagorath in Paladins.
Description
Increase the efficacy of Hardening by {20|20}% but reduce its duration by {10|10}%.
A Change of Faith is one of the Cards available to Vora in Paladins.
Description
Reduce the Cooldown of Tendril by {0.6|0.6}s after hitting an enemy with Dark Siphon.