Template:Event/doc: Difference between revisions

Jump to navigation Jump to search
(Created page with "<templatedata> { "description": "An infobox to serve as a quick reference on the right side of event pages.", "params": { "name": { "label": "Event name", "description": "Will automatically enter based on page name", "example": "Space Station Mission", "type": "line" }, "image": { "label": "Image", "description": "Refers to the image file stored on the wiki.", "type": "wiki-file-name", "default": "ParallelLogo.png", "suggested"...")
 
Tag: Manual revert
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation header}}
<pre style="display:table">
{{Event
| name =
| image =
| image_caption =
| date =
| location =
| participants =
| previous =
| next =
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 37: Line 52:
"label": "Participants",
"label": "Participants",
"description": "Participants in the event (usually NPCs).",
"description": "Participants in the event (usually NPCs).",
"type": "line",
            "suggested": true
        },
        "previous": {
"label": "Preceded by",
"description": "The previous event.",
"type": "line",
            "suggested": true
        },
        "next": {
"label": "Followed by",
"description": "The next event.",
"type": "line",
"type": "line",
             "suggested": true
             "suggested": true
         }
         }
},
},
"paramOrder": [
"paramOrder": [
Line 47: Line 75:
         "date",
         "date",
         "location",
         "location",
         "participants"
         "participants",
        "previous",
        "next"
]
]
}
}
</templatedata>
</templatedata>
This is an example event infobox, showing all available parameters.
 
{{Infobox
== Examples ==
|above = {{{name}}}
=== Everything ===
|image = [[File:{{{image}}}]]
{{Event
|caption = {{{image_caption}}}
| name = The Day Cloudius Forgot to Do the Wash
| label1 = Date
| image = Tattered Cloudius 2021-06-04.png
| data1 = {{{date}}}
| image_caption = Oh boy, he's stinky
| label2 = Location
| date = May 22, 2022
| data2 = {{{location}}}
| location = The Sky Kingdom
| label3 = Participants
| participants = Cloudius and everyone else's noses
| data3 = {{{participants}}}
| previous = Cloudius Wears All His Clothes
| next = Cloudius Does the Wash
}}
<pre style="display:table">
{{Event
| name = The Day Cloudius Forgot to Do the Wash
| image = Tattered Cloudius 2021-06-04.png
| image_caption = Oh boy, he's stinky
| date = May 22, 2022
| location = The Sky Kingdom
| participants = Cloudius and everyone else's noses
| previous = Cloudius Wears All His Clothes
| next = Cloudius Does the Wash
}}
}}
</pre>

Navigation menu