Difference between revisions of "Template:Event list"

132 bytes added ,  02:36, 15 July 2018
no edit summary
Line 3: Line 3:
   {{#if:{{{jp name|}}}|[[Has Japanese name::{{{jp name|}}}]]}}
   {{#if:{{{jp name|}}}|[[Has Japanese name::{{{jp name|}}}]]}}
   {{#if:{{{active|}}}|[[Is active::{{{active|}}}]]}}
   {{#if:{{{active|}}}|[[Is active::{{{active|}}}]]}}
  {{#if:{{{type|}}}|[[Has type::{{{type|}}}]]}}
|?Has Japanese name
|?Has Japanese name
|?Has English name
|?Has English name
Line 27: Line 28:
| en name =  
| en name =  
| jp name =  
| jp name =  
| type =
| active =
| active =
| autoinclude =
| autoinclude =
Line 37: Line 39:
; jp name : Filter by Japanese name.
; jp name : Filter by Japanese name.
; active : Filter only for events that are active (if true) or inactive (if false).
; active : Filter only for events that are active (if true) or inactive (if false).
; type : Filter by event type.
; autoinclude : Determines whether to simply include the event's page or to use the [[Template:Event preview infobox]] template; true to enable, false to disable. It's recommended to use this, as most event pages are configured to include additional information AND the infobox. This will default to whatever active is.
; autoinclude : Determines whether to simply include the event's page or to use the [[Template:Event preview infobox]] template; true to enable, false to disable. It's recommended to use this, as most event pages are configured to include additional information AND the infobox. This will default to whatever active is.


Line 44: Line 47:
| en name = Campaign
| en name = Campaign
| active = false
| active = false
| type = Limited-Time
}}</pre>
}}</pre>
{{Event list
{{Event list
| en name = Campaign
| en name = Campaign
| active = false
| active = false
| type = Limited-Time
}}
}}
<pre>
<pre>