Template:Infobox season: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Main other|{{Short description| | {{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}} | ||
{{Infobox | {{Infobox | ||
| bodyclass = ib- | | bodyclass = ib-season | ||
| templatestyles = Infobox | | templatestyles = Infobox season/styles.css | ||
| above = {{If empty |{{{ | | above = {{If empty |{{{season_name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }} | ||
| aboveclass = notheme | | aboveclass = notheme | ||
| headerclass = notheme | | headerclass = notheme | ||
| subheader = <div style="text-align:center">{{#switch: {{{ | | subheader = <div style="text-align:center">{{#switch: {{{status|}}} | ||
| | | Active = [[File:Icon_status_active.webp|30px]] | ||
| | | Completed = [[File:Icon_status_completed.webp|30px]] | ||
| | | Cancelled = [[File:Icon_status_cancelled.webp|30px]] | ||
| | | On Hold = [[File:Icon_status_hold.webp|30px]] | ||
| | | Planning = [[File:Icon_status_planning.webp|30px]] | ||
}}</div> | }}</div> | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}} | ||
| caption = {{{image_caption|}}} | |||
| label1 = | | label1 = Location | ||
| data1 = {{{ | | data1 = {{{location|}}} | ||
}} | |||
| | | label2 = Season Host | ||
| | | data2 = {{{season_host|}}} | ||
| | | label3 = Start Date | ||
| | | data3 = {{{start_date|}}} | ||
| | | label4 = End Date | ||
| | | data4 = {{{end_date|}}} | ||
| | | 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> | |||
{{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": "50px" | ||
}, | }, | ||
" | "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", | |||
" | "type": "string" | ||
}, | |||
"end_date": { | |||
" | "label": "End Date", | ||
"description": "When the season ended", | |||
"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> | |||
Revision as of 09:20, 10 April 2025
Page Template:Infobox season/styles.css has no content.
| 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 | String | optional |
| End Date | end_date | When the season ended | String | optional |
| Status | status | Current status of the season
| String | required |