Template:Infobox season: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Main other|{{Short description| | {{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}} | ||
{{Infobox | {{Infobox | ||
| above = {{If empty |{{{ | | 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 | ||
| #default = <span style="color:red">Invalid | | Planning = {{{status|}}} | ||
| #default = <span style="color:red">Invalid status value. Must be Active, Completed, Cancelled, On Hold, or Planning</span> | |||
}} | }} | ||
}} | }} | ||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "season_name": { | ||
"description": " | "label": "Season Name", | ||
"description": "Name of the roleplay season", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | |||
"description": "Filename of the image to display", | "description": "Filename of the image to display", | ||
"type": "string" | |||
}, | |||
"image_size": { | |||
"label": "Image Size", | |||
"description": "Size of the image in pixels (e.g., 50px)", | |||
"type": "string", | "type": "string", | ||
"default": " | "default": "250px" | ||
}, | }, | ||
" | "image_caption": { | ||
"description": " | "label": "Image Caption", | ||
"description": "Caption for the image", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Where the season takes place", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "season_host": { | ||
"label": "Season Host", | |||
"description": " | "description": "Who is hosting the season", | ||
"type": "string", | "type": "string", | ||
"required": true | "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)", | |||
"description": " | "type": "string" | ||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Current status of the season", | |||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Active", | ||
" | "Completed", | ||
" | "Cancelled", | ||
" | "On Hold", | ||
" | "Planning" | ||
], | ], | ||
"required": true | "required": true | ||
} | |||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
</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 |