Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox event: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
}}
}}
|}
|}
</div><includeonly>[[Category:Events]]{{#if:{{{series|}}}|[[Category:{{{series}}} Events]]}}</includeonly><noinclude>
</div><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
Line 30: Line 30:
}}
}}
</pre>
</pre>
<templatedata>
{
    "params": {
        "name": {
            "label": "Name",
            "type": "string",
            "description": "Event name",
            "default": "{{PAGENAME}}"
        },
        "image": {
            "label": "Image",
            "type": "wiki-file-name",
            "description": "Event image"
        },
        "date": {
            "label": "Date",
            "type": "string",
            "description": "When the event occurred"
        },
        "location": {
            "label": "Location",
            "type": "string",
            "description": "Where the event took place"
        },
        "series": {
            "label": "Series",
            "type": "string",
            "description": "Which series this event is from",
            "suggestedvalues": ["Rift SMP", "Ruinous Sands", "Tropical Island Civ"]
        }
    },
    "description": "Infobox for event pages",
    "format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:13, 11 April 2026

Infobox event

Usage

{{Infobox event
|name=
|image=
|date=
|location=
|series=
}}

Infobox for event pages

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Event name

Default
{{PAGENAME}}
Stringoptional
Imageimage

Event image

Fileoptional
Datedate

When the event occurred

Stringoptional
Locationlocation

Where the event took place

Stringoptional
Seriesseries

Which series this event is from

Suggested values
Rift SMP Ruinous Sands Tropical Island Civ
Stringoptional
Contents