SeasonEvent: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) (Test template) |
CrystalClear (talk | contribs) m (Make clear this is 100% fake (testing only) data by making the date out to lunch lol.) |
||
Line 2: | Line 2: | ||
-- any value for "|inactive=y" disables display in the slider -- | -- any value for "|inactive=y" disables display in the slider -- | ||
-- a blank value "|inactive=" enables display in the slider -- | -- a blank value "|inactive=" enables display in the slider -- | ||
-->{{Event|Earth Day|2024-03- | -->{{Event|Earth Day|2024-03-01|2029/04/26|Collection|link=Dragon Codex#Season Collections|image=Season Collection Event Icon|inactive=y}}}}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage --> | <!-- Add categories to the /doc subpage --> | ||
</noinclude> | </noinclude> |
Revision as of 22:27, 24 March 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 |