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
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{
{{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}}
  #ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes
{{Infobox
  | <table class="infobox" style="width: 22em">
}}{{Infobox
| decat          = yes
| child          = {{{child|<includeonly>yes</includeonly>}}}
| bodystyle      = border-spacing:2px;
| italic title  = {{{italic title|}}}


| subheaderstyle = background:#CCF; font-size:125%; font-style:italic; font-weight:bold;
| above        = {{If empty |{{{season_name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| subheader     = {{
 
  #ifeq: {{NAMESPACE}} | Template
| image        = [[File:{{{image|}}}|{{{image_size|50px}}}]]
  | {{{name|}}}
| caption     = {{{image_caption|}}}
  | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
 
}}
| 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 }}


| image          = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{imagesize|{{{image_size|}}}}}} |sizedefault=frameless |alt={{{alt|}}} }}
| label4      = End Date
| caption        = {{{caption|}}}
| data4        = {{#if: {{{end_date|}}} | {{#time: F j, Y | {{{end_date}}} }} | Not specified }}


| headerstyle    = background:#DDF; padding:0.3em; line-height:1.3em; font-weight:normal;
| 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>
}}
}}


| label2  = Genre
}}
| data2    = {{{genre|}}}
<noinclude>
 
| label3  = Created&nbsp;by
| data3    = {{{creator|}}}
}}<noinclude>
{{Documentation}}
{{Documentation}}
<templatedata>
{
"params": {
"season_name": {
"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": {
"label": "Image Size",
"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>
</noinclude>
</noinclude>

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