Template:Infobox season: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | {{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}} | ||
{{Infobox | |||
| above = {{If empty |{{{season_name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | |||
| image = [[File:{{{image|}}}|{{{image_size|50px}}}]] | |||
| caption = {{{image_caption|}}} | |||
| label1 = Location | |||
| data1 = {{{location|}}} | |||
| label2 = Season Host | |||
| data2 = {{{season_host|}}} | |||
| label3 = Start Date | |||
| data3 = {{#if: {{{start_date|}}} | {{#time: F j, Y | {{{start_date}}} }} | Not specified }} | |||
| label4 = End Date | |||
| data4 = {{#if: {{{end_date|}}} | {{#time: F j, Y | {{{end_date}}} }} | Not specified }} | |||
== | | label5 = Status | ||
| data5 = {{#switch: {{{status|}}} | |||
| Active | |||
{{ | | Completed | ||
| | | Cancelled | ||
| On Hold | |||
| | | Planning = {{{status|}}} | ||
| | | #default = <span style="color:red">Invalid status value. Must be Active, Completed, Cancelled, On Hold, or Planning</span> | ||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"season_name": {}, | "season_name": { | ||
"image": {}, | "label": "Season Name", | ||
"description": "Name of the roleplay season", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Filename of the image to display", | |||
"type": "string" | |||
}, | |||
"image_size": { | "image_size": { | ||
" | "label": "Image Size", | ||
"description": "Size of the image ( | "description": "Size of the image in pixels (e.g., 50px)", | ||
"type": "string", | |||
"default": "250px" | |||
}, | |||
"image_caption": { | |||
"label": "Image Caption", | |||
"description": "Caption for the image", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Where the season takes place", | |||
"type": "string" | |||
}, | |||
"season_host": { | |||
"label": "Season Host", | |||
"description": "Who is hosting the season", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"start_date": { | |||
"label": "Start Date", | |||
"description": "When the season started (YYYY-MM-DD format)", | |||
"type": "string" | |||
}, | |||
"end_date": { | |||
"label": "End Date", | |||
"description": "When the season ended (YYYY-MM-DD format)", | |||
"type": "string" | |||
}, | }, | ||
" | "status": { | ||
"label": "Status", | |||
"description": "Current status of the season", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Active", | |||
"Completed", | |||
"Cancelled", | |||
"On Hold", | |||
"Planning" | |||
], | |||
"required": true | |||
} | |||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:27, 10 April 2025
| [[File:|50px]] | |
| Start Date | Not specified |
|---|---|
| End Date | Not specified |
| Status | Invalid status value. Must be Active, Completed, Cancelled, On Hold, or Planning |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Season Name | season_name | Name of the roleplay season | String | required |
| Image | image | Filename of the image to display | String | optional |
| Image Size | image_size | Size of the image in pixels (e.g., 50px)
| String | optional |
| Image Caption | image_caption | Caption for the image | String | optional |
| Location | location | Where the season takes place | String | optional |
| Season Host | season_host | Who is hosting the season | String | required |
| Start Date | start_date | When the season started (YYYY-MM-DD format) | String | optional |
| End Date | end_date | When the season ended (YYYY-MM-DD format) | String | optional |
| Status | status | Current status of the season
| String | required |