Template:Infobox season: Difference between revisions

From ServantPedia™, the paid (but reliable) encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}}
{{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}}
{{Infobox
{{Infobox
| bodyclass    = ib-season
| templatestyles = Infobox season/styles.css


| above        = {{If empty |{{{season_name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| above        = {{If empty |{{{season_name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| aboveclass  = notheme
| headerclass  = notheme


| subheader    = <div style="text-align:center">{{#switch: {{{status|}}}
| image        = [[File:{{{image|}}}|{{{image_size|50px}}}]]
  | 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>
 
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}}
| caption      = {{{image_caption|}}}
| caption      = {{{image_caption|}}}


Line 26: Line 14:


| label3      = Start Date
| label3      = Start Date
| data3        = {{{start_date|}}}
| data3        = {{#if: {{{start_date|}}} | {{#time: F j, Y | {{{start_date}}} }} | Not specified }}


| label4      = End Date
| label4      = End Date
| data4        = {{{end_date|}}}
| data4        = {{#if: {{{end_date|}}} | {{#time: F j, Y | {{{end_date}}} }} | Not specified }}


| label5      = Status
| label5      = Status
Line 62: Line 50:
"description": "Size of the image in pixels (e.g., 50px)",
"description": "Size of the image in pixels (e.g., 50px)",
"type": "string",
"type": "string",
"default": "50px"
"default": "250px"
},
},
"image_caption": {
"image_caption": {
Line 82: Line 70:
"start_date": {
"start_date": {
"label": "Start Date",
"label": "Start Date",
"description": "When the season started",
"description": "When the season started (YYYY-MM-DD format)",
"type": "string"
"type": "string"
},
},
"end_date": {
"end_date": {
"label": "End Date",
"label": "End Date",
"description": "When the season ended",
"description": "When the season ended (YYYY-MM-DD format)",
"type": "string"
"type": "string"
},
},

Latest revision as of 09:27, 10 April 2025

[[File:|50px]]
Start DateNot specified
End DateNot specified
StatusInvalid status value. Must be Active, Completed, Cancelled, On Hold, or Planning

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Season Nameseason_name

Name of the roleplay season

Stringrequired
Imageimage

Filename of the image to display

Stringoptional
Image Sizeimage_size

Size of the image in pixels (e.g., 50px)

Default
250px
Stringoptional
Image Captionimage_caption

Caption for the image

Stringoptional
Locationlocation

Where the season takes place

Stringoptional
Season Hostseason_host

Who is hosting the season

Stringrequired
Start Datestart_date

When the season started (YYYY-MM-DD format)

Stringoptional
End Dateend_date

When the season ended (YYYY-MM-DD format)

Stringoptional
Statusstatus

Current status of the season

Suggested values
Active Completed Cancelled On Hold Planning
Stringrequired