Content added Content deleted
No edit summary |
m (fixed cargo query) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|where = event_id = {{#var:event id}} |
|where = event_id = {{#var:event id}} |
||
|format = ul |
|format = ul |
||
|group by = _pageID |
|||
}} |
}} |
||
| 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}}' {{#ifeq: {{{ |
|where = characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' AND attribute = '{{#var:attribute}}' AND start_date > '{{#var:date}}' {{#ifeq: {{#var:rarity}} | 4 | {{#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 |
||
|group by = _pageID |
|||
}} |
}} |
||
| 40% = |
|||
| 25% = |
|||
{{#cargo_query:tables=events |
|||
|where = (characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' OR attribute = '{{#var:attribute}}') AND NOT (characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' AND attribute = '{{#var:attribute}}') AND start_date >= '2021/10/01, 15:00 JST' |
|||
|order by = event_id |
|||
|format = ul |
|||
}} |
|||
| 20% = |
|||
{{#cargo_query:tables=events |
|||
|where = (characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' OR attribute = '{{#var:attribute}}') AND NOT (characters HOLDS '{{#if: {{#var:support unit}} | {{#var:character}} ({{#var:support unit}}) | {{#var:character}} }}' AND attribute = '{{#var:attribute}}') AND start_date < '2021/10/01, 15:00 JST' |
|||
|order by = event_id |
|||
|format = ul |
|||
}} |
|||
| 15% = |
|||
}}</includeonly><!-- |
}}</includeonly><!-- |
||
Latest revision as of 02:09, 1 September 2023
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[edit source]
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[edit source]
{{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. |