SeasonEvent: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) m (Disable a different way (had it working the other day but not working today, so more direct route).) |
CrystalClear (talk | contribs) (Now retest, activated with a new "season".) |
||
Line 1: | Line 1: | ||
<noinclude><!-- to enable in slider, change "display:none;" to "display:initial;" --></noinclude><includeonly><!-- | <noinclude><!-- to enable in slider, change "display:none;" to "display:initial;" --></noinclude><includeonly><!-- | ||
-->{{div|<!-- | -->{{div|<!-- | ||
---->{{Event| | ---->{{Event|Song Contest Collection|2024-04-24|2024/05/22|Collection|link=Dragon Codex#Season Collections|image = Season Collection Event Icon}} | ||
|style=display: | |style=display:initial; <!-- display:initial; -->}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage --> | <!-- Add categories to the /doc subpage --> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:45, 24 April 2024
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
The following article is in development.
The information may be incorrect or incomplete, and may change without warning.
The information may be incorrect or incomplete, and may change without warning.
This template's values are meant to be set directly inside it.
- To enable, edit this template and change
display:none;
todisplay:initial;
. - To disable (hide from slider), edit this template and change
display:initial;
todisplay:none;
.
Example(s)
Currently, {{SeasonEvent}}
gives:
In-Template Syntax
The first 3 parameters likely need changes:
{{Event|Earth Day|2024-03-01|2029/04/26|Collection|link=Dragon Codex#Season Collections|image=Season Collection Event Icon}}
- 1 = Event name text to show (e.g., Earth Day)
- 2 = Started (e.g., 2024-03-01)
- 3 = Ended (e.g., 2029/04/26)
See Also
{{slider}}
, the template that uses this one to either display, or not display, this one.{{event}}
, the template this one feeds values to, to create the event listing.- Main Page templates, for other templates used on the main page.
Displays a Season Collection in the event slider, if "inactive" has NO value.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |