Template:Infobox Session/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 61: Line 61:
; <code>previoussession</code>: name of the preceding session
; <code>previoussession</code>: name of the preceding session
; <code>nextsession</code>: name of the following session
; <code>nextsession</code>: name of the following session
==TemplateData==
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Name of the session. If left blank will default to pagename",
"type": "string",
"autovalue": "{{PAGENAME}}"
},
"tag": {
"label": "Tag",
"description": "Tag line for the session",
"type": "string",
"autovalue": ""
},
"adventure": {
"label": "Adventure",
"description": "the adventure the session is part of",
"type": "string",
"suggested": true
},
"setting": {
"label": "Setting",
"description": "the setting the session takes place in",
"type": "string",
"suggested": true
},
"campaign": {
"label": "Campaign",
"description": "the campaign the session is part of",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "relevant image of the session",
"type": "wiki-file-name"
},
"caption": {
"label": "Caption",
"description": "caption for the image",
"type": "string"
},
"irldate": {
"label": "Real Life Date",
"description": "the real life date the session was played",
"example": "12-23-3456",
"type": "date"
},
"gamedate": {
"label": "In-Game Date",
"description": "the in-game date the session started on",
"example": "01-02-034",
"type": "date"
},
"characters": {
"label": "Player Characters",
"description": "list of all PCs that were in the session",
"type": "string"
},
"npcs": {
"label": "Notable NPCs",
"description": "list of notable NPCs from the session",
"type": "string"
},
"locations": {
"label": "Notable Locations",
"description": "list of notable locations from the session",
"type": "string"
},
"previoussession": {
"label": "Previous Session",
"description": "name of the previous session",
"type": "string"
},
"nextsession": {
"label": "Next Session",
"description": "name of the next session",
"type": "string"
}
},
"paramOrder": [
"name",
"tag",
"adventure",
"campaign",
"setting",
"image",
"caption",
"irldate",
"gamedate",
"characters",
"npcs",
"locations",
"previoussession",
"nextsession"
]
}
</templatedata>

Navigation menu