Content added Content deleted
(Created page with "{{documentation subpage}} {{Lua|Module:Card additional stats}} <includeonly>Category:Card templates</includeonly>") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} |
{{documentation subpage}} |
||
{{Lua|Module:Card additional stats}} |
{{Lua|Module:Card additional stats}} |
||
This template displays the stats given for increasing a card's Master Rank and by unlocking a card's Side Stories. The <code>rarity</code> parameter defaults to the <code>rarity</code> page variable if it is not set. |
|||
== Parameters == |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"rarity": { |
|||
"label": "Rarity", |
|||
"type": "string", |
|||
"suggested": true, |
|||
"description": "The rarity of the card. Valid values are \"1\", \"2\", \"3\", \"4\", and \"Birthday\".", |
|||
"example": "3" |
|||
}, |
|||
"has side story 1": { |
|||
"label": "Has side story 1", |
|||
"type": "boolean", |
|||
"required": true, |
|||
"description": "Whether or not the card has the 1st Side Story", |
|||
"example": "Yes" |
|||
}, |
|||
"has side story 2": { |
|||
"label": "Has side story 2", |
|||
"type": "boolean", |
|||
"required": true, |
|||
"description": "Whether or not the card has the 2nd Side Story", |
|||
"example": "No" |
|||
} |
|||
}, |
|||
"format": "block", |
|||
"description": "This template shows the additional stats gained by increasing Master Rank or by unlocking Side Stories." |
|||
} |
|||
</templatedata> |
|||
== Quick copy == |
|||
<pre> |
|||
{{Card additional stats |
|||
|rarity = |
|||
|has side story 1 = |
|||
|has side story 2 = |
|||
}} |
|||
</pre> |
|||
== Examples == |
|||
{{Card additional stats |
|||
|rarity = 1 |
|||
|has side story 1 = Yes |
|||
|has side story 2 = Yes |
|||
}} |
|||
<pre> |
|||
{{Card additional stats |
|||
|rarity = 1 |
|||
|has side story 1 = Yes |
|||
|has side story 2 = Yes |
|||
}} |
|||
</pre> |
|||
{{Card additional stats |
|||
|rarity = 4 |
|||
|has side story 1 = Yes |
|||
|has side story 2 = Yes |
|||
}} |
|||
<pre> |
|||
{{Card additional stats |
|||
|rarity = 4 |
|||
|has side story 1 = Yes |
|||
|has side story 2 = Yes |
|||
}} |
|||
</pre> |
|||
{{Card additional stats |
|||
|rarity = 4 |
|||
|has side story 1 = No |
|||
|has side story 2 = Yes |
|||
}} |
|||
<pre> |
|||
{{Card additional stats |
|||
|rarity = 4 |
|||
|has side story 1 = No |
|||
|has side story 2 = Yes |
|||
}} |
|||
</pre> |
|||
<includeonly>[[Category:Card templates]]</includeonly> |
<includeonly>[[Category:Card templates]]</includeonly> |
Latest revision as of 19:13, 30 April 2023
This is a documentation subpage for Template:Card additional stats. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template displays the stats given for increasing a card's Master Rank and by unlocking a card's Side Stories. The rarity
parameter defaults to the rarity
page variable if it is not set.
Parameters[edit source]
This template shows the additional stats gained by increasing Master Rank or by unlocking Side Stories.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rarity | rarity | The rarity of the card. Valid values are "1", "2", "3", "4", and "Birthday".
| String | suggested |
Has side story 1 | has side story 1 | Whether or not the card has the 1st Side Story
| Boolean | required |
Has side story 2 | has side story 2 | Whether or not the card has the 2nd Side Story
| Boolean | required |
Quick copy[edit source]
{{Card additional stats |rarity = |has side story 1 = |has side story 2 = }}
Examples[edit source]
- Side Story 1 Unlocked: +300
- Side Story 2 Unlocked: +600
- Each Master Rank: +150
{{Card additional stats |rarity = 1 |has side story 1 = Yes |has side story 2 = Yes }}
- Side Story 1 Unlocked: +750
- Side Story 2 Unlocked: +1800
- Each Master Rank: +600
{{Card additional stats |rarity = 4 |has side story 1 = Yes |has side story 2 = Yes }}
- Side Story 2 Unlocked: +1800
- Each Master Rank: +600
{{Card additional stats |rarity = 4 |has side story 1 = No |has side story 2 = Yes }}