Template:Session: Difference between revisions

From The Lost Legion Wiki
No edit summary
Murmur (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
'''Usage:'''
<pre>
{{Session
| campaign =
| chapter =
| sessiongroup =
| gamemaster =
| participants =
| realtimedate =
| ingamedate =
| pcs =
| sessiontype =
| regions =
| areas =
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 51: Line 67:
"label": "In-game Date",
"label": "In-game Date",
"description": "The in-game time the session was played.",
"description": "The in-game time the session was played.",
"required": true,
"type": "string"
"type": "string"
},
"sessiongroup": {
"label": "Session group",
"description": "The non-campaign session collection the session was placed in.",
"type": "string"
},
"chapter": {
"label": "Chapter",
"description": "Campaign chapter."
}
}
},
},
Line 58: Line 82:
"paramOrder": [
"paramOrder": [
"campaign",
"campaign",
"chapter",
"sessiongroup",
"gamemaster",
"gamemaster",
"participants",
"participants",
Line 72: Line 98:


<includeonly>
<includeonly>
[[Category:Sessions]]
{{#if:{{{campaign|}}}|[[Category:{{{campaign}}}]]}}
{{#if:{{{sessiongroup|}}}|[[Category:{{{sessiongroup}}}]]}}
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"
{| class="wikitable" style="float:right; width:300px; margin:0 0 1em 1em;"
! colspan="2" | '''Basic information'''
! colspan="2" | '''Basic information'''
|-
{{#if: {{{campaign|}}} |
{{#if: {{{campaign|}}} |
{{!}} '''Campaign:''' {{!}}{{!}} {{{campaign|}}}
{{!}} '''Campaign:''' {{!}}{{!}} {{{campaign|}}}
{{!}}-
}}
{{#if: {{{chapter|}}} |
{{!}} '''Chapter:''' {{!}}{{!}} {{{chapter|}}}
{{!}}-
}}
{{#if: {{{sessiongroup|}}} |
{{!}} '''Session group:''' {{!}}{{!}} {{{sessiongroup|}}}
{{!}}-
{{!}}-
}}
}}
Line 89: Line 127:
| '''Real-time Date''' || {{{realtimedate|}}}
| '''Real-time Date''' || {{{realtimedate|}}}
|-
|-
| '''In-game Date''' || {{{ingamedate|}}}
{{#if: {{{ingametime|}}} |
|-
{{!}} '''In-game Time:''' {{!}}{{!}} {{{ingamedate|}}}
{{!}}-
}}
{{#if: {{{regions|}}} |
{{#if: {{{regions|}}} |
{{!}} '''Regions:''' {{!}}{{!}} {{{regions|}}}
{{!}} '''Regions:''' {{!}}{{!}} {{{regions|}}}
Line 101: Line 141:
|}
|}
</includeonly>
</includeonly>
<noinclude>
[[Category:Sessions]]
{{#if:{{{campaign|}}}|[[Category:{{{campaign}}}]]}}
</noinclude>

Latest revision as of 18:12, 17 July 2025

Usage:

{{Session
| campaign =
| chapter =
| sessiongroup =
| gamemaster =
| participants =
| realtimedate =
| ingamedate =
| pcs =
| sessiontype =
| regions =
| areas =
}}

Infobox for sessions

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Campaigncampaign

Campaign the session belongs to.

Stringoptional
Chapterchapter

Campaign chapter.

Unknownoptional
Session groupsessiongroup

The non-campaign session collection the session was placed in.

Stringoptional
Game Mastergamemaster

The person or people running the session.

Stringrequired
Participantsparticipants

The people playing the session.

Stringrequired
Real-time Daterealtimedate

The real time the session was played

Daterequired
In-game Dateingamedate

The in-game time the session was played.

Stringoptional
PCspcs

The player characters involved.

Stringrequired
Session typesessiontype

The type of the session, e.g. core, spinoff etc.

Stringrequired
Regionsregions

The regions involved in the story - the country, city, land in which the events take place.

Stringoptional
Areas of interestareas

Notable, significant places or landmarks related to the session.

Stringoptional