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
Line 1: Line 1:
{{Main other|{{Short description|Fictional character|noreplace|pagetype=Articles}}}}
{{Main other|{{Short description|Roleplay Season|noreplace|pagetype=Articles}}}}
{{Infobox
{{Infobox
| bodyclass    = ib-character
| bodyclass    = ib-season
| templatestyles = Infobox servant/styles.css
| templatestyles = Infobox season/styles.css


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


| subheader    = <div style="text-align:center">{{#switch: {{{class|}}}
| subheader    = <div style="text-align:center">{{#switch: {{{status|}}}
   | Saber = [[File:Icon_class_saber.webp|30px]]
   | Active = [[File:Icon_status_active.webp|30px]]
   | Archer = [[File:Icon_class_archer.webp|30px]]
   | Completed = [[File:Icon_status_completed.webp|30px]]
   | Lancer = [[File:Icon_class_lancer.webp|30px]]
   | Cancelled = [[File:Icon_status_cancelled.webp|30px]]
   | Rider = [[File:Icon_class_rider.webp|30px]]
   | On Hold = [[File:Icon_status_hold.webp|30px]]
   | Caster = [[File:Icon_class_caster.webp|30px]]
   | Planning = [[File:Icon_status_planning.webp|30px]]
  | Assassin = [[File:Icon_class_assassin.webp|30px]]
  | Berserker = [[File:Icon_class_berserker.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      = Artist Credit
| label1      = Location
| data1        = {{{artist|}}}
| data1        = {{{location|}}}
 
| label2      = Class
| data2        = {{#switch: {{{class|}}}
  | Saber
  | Archer
  | Lancer
  | Rider
  | Caster
  | Assassin
  | Berserker = {{{class|}}}
  | #default = <span style="color:red">Invalid class value. Must be a valid Servant class</span>
}}


| label3       = Alias
| label2       = Season Host
| data3       = {{{alias|}}}
| data2       = {{{season_host|}}}


| label4       = Gender
| label3       = Start Date
| data4       = {{{gender|}}}
| data3       = {{{start_date|}}}


| label5       = Born
| label4       = End Date
| data5       = {{{born|}}}
| data4       = {{{end_date|}}}


| label6       = Died
| label5       = Status
| data6       = {{{died|}}}
| 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>
}}


| label7      = Height
| data7        = {{{height|}}}
| label8      = Weight
| data8        = {{{weight|}}}
| label9      = Nationality
| data9        = {{{nationality|}}}
| label10      = Alignment
| data10      = {{#switch: {{{alignment|}}}
  | Lawful Good
  | Lawful Neutral
  | Lawful Evil
  | Neutral Good
  | True Neutral
  | Neutral Evil
  | Chaotic Good
  | Chaotic Neutral
  | Chaotic Evil = {{{alignment|}}}
  | #default = <span style="color:red">Invalid alignment value. Must be one of the nine D&D alignments</span>
}}
}}
 
<noinclude>
| label11      = Weapon
| data11      = {{{weapon|}}}
 
| label12      = Likes
| data12      = {{{likes|}}}
 
| label13      = Dislikes
| data13      = {{{dislikes|}}}
 
| header20      = Parameters
 
| data21      =
<div style="text-align:center">
{{{!}} class="infobox-table" style="width:100%; border-collapse:collapse; text-align:center;"
{{!}} style="font-weight:bold; text-align:center;" {{!}} Strength {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Endurance {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Agility
{{!}}-
{{!}} style="text-align:center;" {{!}} {{{param-strength|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-endurance|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-agility|}}}
{{!}}-
{{!}} style="font-weight:bold; text-align:center;" {{!}} Mana {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Luck {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} NP
{{!}}-
{{!}} style="text-align:center;" {{!}} {{{param-mana|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-luck|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-np|}}}
{{!}}}
</div>
 
}}<!-- Start tracking
--><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {
"season_name": {
"description": "Servant's name",
"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": "Please name your images using the following format: \n\nimg_svt_{Class}_{ServantName}_{FreeSpace}.{extension}\n\nExample: \"img_svt_Saber_ArtoriaPendragon_Portrait.png\""
"default": "50px"
},
},
"image_size": {
"image_caption": {
"description": "Size of the image in pixels (e.g., 200px)",
"label": "Image Caption",
"description": "Caption for the image",
"type": "string"
},
"location": {
"label": "Location",
"description": "Where the season takes place",
"type": "string"
"type": "string"
},
},
"artist": {},
"season_host": {
"class": {
"label": "Season Host",
"description": "Servant's class",
"description": "Who is hosting the season",
"type": "string",
"type": "string",
"suggestedvalues": [
"Saber",
"Archer",
"Lancer",
"Rider",
"Caster",
"Assassin",
"Berserker"
],
"required": true
"required": true
},
},
"alias": {},
"start_date": {
"gender": {},
"label": "Start Date",
"born": {},
"description": "When the season started",
"died": {},
"type": "string"
"height": {},
},
"weight": {},
"end_date": {
"nationality": {},
"label": "End Date",
"alignment": {
"description": "When the season ended",
"description": "Servant's alignment",
"type": "string"
},
"status": {
"label": "Status",
"description": "Current status of the season",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Lawful Good",
"Active",
"Lawful Neutral",
"Completed",
"Lawful Evil",
"Cancelled",
"Neutral Good",
"On Hold",
"True Neutral",
"Planning"
"Neutral Evil",
"Chaotic Good",
"Chaotic Neutral",
"Chaotic Evil"
],
],
"required": true
"required": true
},
}
"weapon": {},
"likes": {},
"dislikes": {},
"param-strength": {},
"param-endurance": {},
"param-agility": {},
"param-mana": {},
"param-luck": {},
"param-np": {}
}
}
}
}
</templatedata></noinclude>
</templatedata>
</noinclude>

Revision as of 09:20, 10 April 2025

Page Template:Infobox season/styles.css has no content.

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
50px
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

Stringoptional
End Dateend_date

When the season ended

Stringoptional
Statusstatus

Current status of the season

Suggested values
Active Completed Cancelled On Hold Planning
Stringrequired