Template:Card events/doc: Difference between revisions

Template page
Content added Content deleted
(Created page with "{{documentation subpage}} {{Lua|Module:Card events}} <includeonly>Category:Card templates</includeonly>")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{Cargo|events}}


This template shows a list of events that this card contributes 50% or 70% event bonus to, depending on the value of the <code>bonus</code> parameter. For 50% bonus, the page variables <code>event id</code>, <code>character</code>, <code>support unit</code> (if the character is a VIRTUAL SINGER), <code>date</code>, <code>attribute</code>, <code>rarity</code> are '''required'''. For 70% bonus, the page variables <code>event id</code> is required.
{{Lua|Module:Card events}}

== Parameters ==
<templatedata>
{
"params": {
"bonus": {
"label": "Event bonus",
"description": "The event bonus to query for (50% or 70%)",
"type": "string",
"required": true
}
},
"format": "inline",
"description": "Creates a list of events this card contributed 50% or 70% event bonus towards."
}
</templatedata>

== Quick copy ==
<pre>
{{Card events|bonus= }}
</pre>


<includeonly>[[Category:Card templates]]</includeonly>
<includeonly>[[Category:Card templates]]</includeonly>

Latest revision as of 04:10, 9 August 2022

This template shows a list of events that this card contributes 50% or 70% event bonus to, depending on the value of the bonus parameter. For 50% bonus, the page variables event id, character, support unit (if the character is a VIRTUAL SINGER), date, attribute, rarity are required. For 70% bonus, the page variables event id is required.

Parameters[edit source]

Creates a list of events this card contributed 50% or 70% event bonus towards.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Event bonusbonus

The event bonus to query for (50% or 70%)

Stringrequired

Quick copy[edit source]

{{Card events|bonus= }}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.