Template:Event/doc: Difference between revisions

No edit summary
Tag: Manual revert
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Documentation header}}
|above = {{{name}}}
 
|image = [[File:{{{image}}}]]
<pre style="display:table">
|caption = {{{image_caption}}}
{{Event
| label1 = Date
| name =
| data1 = {{{date}}}
| image =
| label2 = Location
| image_caption =
| data2 = {{{location}}}
| date =
| label3 = Participants
| location =
| data3 = {{{participants}}}
| participants =
| previous =
| next =
}}
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 48: 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 58: Line 75:
         "date",
         "date",
         "location",
         "location",
         "participants"
         "participants",
        "previous",
        "next"
]
]
}
}
</templatedata>
</templatedata>
== Examples ==
=== Everything ===
{{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 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>
Undo