Content added Content deleted
(test using dates to automatically determine to include or exclude) |
(check if event id exists) |
||
Line 7: | Line 7: | ||
| 50% = |
| 50% = |
||
{{#cargo_query:tables=events |
{{#cargo_query:tables=events |
||
|where = characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' AND attribute = '{{#var:attribute}}' AND start > '{{#var:date}}' {{#ifexpr: {{#expr: {{#time: U | {{#var:date}} }} - {{#time: U | 2021/10/01 }} }} >= 0 | AND NOT event_id = {{#var:event id}} }} |
|where = characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' AND attribute = '{{#var:attribute}}' AND start > '{{#var:date}}' {{#if: {{#var:event id}} | {{#ifexpr: {{#expr: {{#time: U | {{#var:date}} }} - {{#time: U | 2021/10/01 }} }} >= 0 | AND NOT event_id = {{#var:event id}} }} }} |
||
|order by = event_id |
|order by = event_id |
||
|format = ul |
|format = ul |
Revision as of 03:49, 19 April 2022
This template uses the following Cargo tables: |
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
Creates a list of events this card contributed 50% or 70% event bonus towards.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event bonus | bonus | The event bonus to query for (50% or 70%) | String | required |
Quick copy
{{Card events|bonus= }}
The above documentation is transcluded from Template:Card events/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |