Template:Infobox servant: Difference between revisions

From ServantPedia™, the paid (but reliable) encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 8: Line 8:
| headerclass = notheme
| headerclass = notheme


| subheader    = {{#if: {{{series|}}}{{{franchise|}}} | {{#if: {{{series|}}} | ''{{{series|}}}'' | {{{franchise|}}} }} character{{#if: {{{multiple|}}} | s }} }}
| subheader    = <div style="text-align:center">{{#switch: {{{class|}}}
  | Saber = [[File:Icon_class_saber.webp|30px]]
  | Archer = [[File:Icon_class_archer.webp|30px]]
  | Lancer = [[File:Icon_class_lancer.webp|30px]]
  | Rider = [[File:Icon_class_rider.webp|30px]]
  | Caster = [[File:Icon_class_caster.webp|30px]]
  | Assassin = [[File:Icon_class_assassin.webp|30px]]
  | Berserker = [[File:Icon_class_berserker.webp|30px]]
}}</div>


| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}}
| caption      = {{{caption|}}}


| label1      = First appearance
| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}}
| data1       = {{#if: {{{first|}}} | {{{first|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{first_major|}}} |minor_work={{{first_minor|}}} |issue={{{first_issue|}}} |date={{{first_date|}}} }} }}


| label2       = First game
| label1       = Artist Credit
| data2       = {{{firstgame|}}}
| data1       = {{{artist|}}}


| label3       = Last appearance
| label2       = Class
| data3       = {{#if: {{{last|}}} | {{{last|}}} | {{#invoke:Formatted appearance|getFormattedAppearance|major_work={{{last_major|}}} |minor_work={{{last_minor|}}} |issue={{{last_issue|}}} |date={{{last_date|}}} }} }}
| 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>
}}


| label4       = Created by
| label3       = Alias
| data4       = {{{creator|}}}
| data3       = {{{alias|}}}


| label5       = Based on
| label4       = Gender
| data5       = {{{based_on|}}}
| data4       = {{{gender|}}}


| label6       = Adapted by
| label5       = Born
| data6       = {{{adapted_by|}}}
| data5       = {{{born|}}}


| label7       = Designed by
| label6       = Died
| data7       = {{{designer|}}}
| data6       = {{{died|}}}


| label8       = Portrayed by
| label7       = Height
| data8       = {{{portrayer|}}}
| data7       = {{{height|}}}


| label9       = Voiced by
| label8       = Weight
| data9       = {{{voice|}}}
| data8       = {{{weight|}}}


| label10      = Motion capture
| label9      = Nationality
| data10      = {{{motion_actor|}}}
| data9        = {{{nationality|}}}


| label11     = {{{lbl1|}}}
| label10     = Alignment
| data11      = {{{data1|}}}
| 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>
}}


| label12     = {{{lbl2|}}}
| label11     = Weapon
| data12       = {{{data2|}}}
| data11       = {{{weapon|}}}


| label13     = {{{lbl3|}}}
| label12     = Likes
| data13       = {{{data3|}}}
| data12       = {{{likes|}}}


| label14     = {{{lbl4|}}}
| label13     = Dislikes
| data14       = {{{data4|}}}
| data13       = {{{dislikes|}}}


| label15     = {{{lbl5|}}}
| header20     = Parameters
| data15      = {{{data5|}}}


| header20    = {{#if: {{{noinfo|}}} || {{#if: {{{full_name|}}} {{{alias|}}} {{{aliases|}}} {{{nickname|}}} {{{nicknames|}}} {{{race|}}} {{{species|}}} {{{gender|}}} {{{title|}}} {{{occupation|}}} {{{position|}}} {{{class|}}} {{{affiliation|}}} {{{alignment|}}} {{{fighting_style|}}} {{{weapon|}}} {{{family|}}} {{{spouse|}}} {{{spouses|}}} {{{significant_other|}}} {{{significant_others|}}} {{{children|}}} {{{relatives|}}} {{{religion|}}} {{{origin|}}} {{{home|}}} {{{nationality|}}} {{{data21|}}} {{{data22|}}} {{{data23|}}} {{{data24|}}} {{{data25|}}} | {{If empty |{{{info-hdr|}}} |In-universe information }} }} }}
| data21      =  
 
<div style="text-align:center">
| label21      = Full name
{{{!}} class="infobox-table" style="width:100%; border-collapse:collapse; text-align:center;"
| data21      = {{{full_name|}}}
{{!}} style="font-weight:bold; text-align:center;" {{!}} Strength {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Endurance {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Agility
 
{{!}}-
| label22      = {{#if: {{{alias|}}} | Alias | Aliases }}
{{!}} style="text-align:center;" {{!}} {{{param-strength|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-endurance|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-agility|}}}
| data22      = {{If empty |{{{alias|}}} |{{{aliases|}}} }}
{{!}}-
 
{{!}} style="font-weight:bold; text-align:center;" {{!}} Mana {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} Luck {{!}}{{!}} style="font-weight:bold; text-align:center;" {{!}} NP
| label23      = {{#if: {{{nickname|}}} | Nickname | Nicknames }}
{{!}}-
| data23      = {{If empty |{{{nickname|}}} |{{{nicknames|}}} }}
{{!}} style="text-align:center;" {{!}} {{{param-mana|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-luck|}}} {{!}}{{!}} style="text-align:center;" {{!}} {{{param-np|}}}
 
{{!}}}
| label24      = {{#if: {{{race|}}} | Race | Species }}
</div>
| data24      = {{If empty |{{{race|}}} |{{{species|}}} }}
 
| label25      = Gender
| data25      = {{{gender|}}}
 
| label26      = Title
| data26      = {{{title|}}}
 
| label27      = {{#if: {{{occupation|}}} | Occupation | {{#if: {{{position|}}} | Position | Class }} }}
| data27      = {{If empty |{{{occupation|}}} |{{{position|}}} |{{{class|}}} }}
 
| label28      = {{#if: {{{affiliation|}}} | Affiliation | Alignment }}
| data28      = {{If empty |{{{affiliation|}}} |{{{alignment|}}} }}
 
| label29      = Fighting style
| data29      = {{{fighting_style|}}}
 
| label30      = Weapon
| data30      = {{{weapon|}}}
 
| label31      = Family
| data31      = {{{family|}}}
 
| label32      = {{#if: {{{spouse|}}} | Spouse | Spouses }}
| data32      = {{If empty |{{{spouse|}}} |{{{spouses|}}} }}
 
| label33      = {{#if: {{{significant_other|}}} | Significant {{nowrap|other}} | Significant {{nowrap|others}} }}
| data33      = {{If empty |{{{significant_other|}}} |{{{significant_others|}}} }}
 
| label34      = Children
| data34      = {{{children|}}}
 
| label35      = Relatives
| data35      = {{{relatives|}}}
 
| label36      = Religion
| data36      = {{{religion|}}}
 
| label37      = {{#if: {{{origin|}}} | Origin | Home }}
| data37      = {{If empty |{{{origin|}}} |{{{home|}}} }}
 
| label38      = Nationality
| data38      = {{{nationality|}}}
 
| label39      = {{{lbl21|}}}
| data39      = {{{data21|}}}
 
| label40      = {{{lbl22|}}}
| data40      = {{{data22|}}}
 
| label41      = {{{lbl23|}}}
| data41      = {{{data23|}}}
 
| label42      = {{{lbl24|}}}
| data42      = {{{data24|}}}
 
| label43      = {{{lbl25|}}}
| data43      = {{{data25|}}}
 
| header50    = {{#if: {{{data31|}}} {{{data32|}}} {{{data33|}}} {{{data34|}}} {{{data35|}}} | {{{extra-hdr|}}} }}
 
| label51      = {{{lbl31|}}}
| data51      = {{{data31|}}}
 
| label52      = {{{lbl32|}}}
| data52      = {{{data32|}}}
 
| label53      = {{{lbl33|}}}
| data53      = {{{data33|}}}
 
| label54      = {{{lbl34|}}}
| data54      = {{{data34|}}}
 
| label55      = {{{lbl35|}}}
| data55      = {{{data35|}}}


}}<!-- Start tracking
}}<!-- Start tracking
-->{{Main other
--><noinclude>
|{{#if: {{{lbl35|}}} {{{data35|}}} {{{lbl25|}}} {{{data25|}}} {{{lbl5|}}} {{{data5|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|5{{PAGENAME}}]]
| {{#if: {{{lbl34|}}} {{{data34|}}} {{{lbl24|}}} {{{data24|}}} {{{lbl4|}}} {{{data4|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|4{{PAGENAME}}]]
| {{#if: {{{lbl33|}}} {{{data33|}}} {{{lbl23|}}} {{{data23|}}} {{{lbl3|}}} {{{data3|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|3{{PAGENAME}}]]
| {{#if: {{{lbl32|}}} {{{data32|}}} {{{lbl22|}}} {{{data22|}}} {{{lbl2|}}} {{{data2|}}} | [[Category:Articles using Infobox character with multiple unlabeled fields|2{{PAGENAME}}]]
}} }} }} }}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox character with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox character]] with unknown parameter "_VALUE_"|showblankpositional=1| adapted_by | affiliation | alias | aliases | alignment | alt | caption | children | class | creator | based_on | data1 | data2 | data3 | data4 | data5 | data21 | data22 | data23 | data24 | data25 | data31 | data32 | data33 | data34 | data35 | designer | extra-hdr | family | fighting_style | first | first_date | first_issue | first_major | first_minor | firstgame | franchise | full_name | gender | home | image | image_size | image_upright | info-hdr | last | last_date | last_issue | last_major | last_minor | lbl1 | lbl2 | lbl3 | lbl4 | lbl5 | lbl21 | lbl22 | lbl23 | lbl24 | lbl25 | lbl31 | lbl32 | lbl33 | lbl34 | lbl35 | motion_actor | multiple | name | nationality | nickname | nicknames | noinfo | occupation | origin | portrayer | position | race | relatives | religion | series | significant_other | significant_others | species | spouse | spouses | title | voice | weapon }}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
<templatedata>
{
"params": {
"name": {
"description": "Servant's name",
"type": "string",
"required": true
},
"image": {
"description": "Filename of the image to display",
"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\""
},
"image_size": {
"description": "Size of the image in pixels (e.g., 200px)",
"type": "string"
},
"artist": {},
"class": {
"description": "Servant's class",
"type": "string",
"suggestedvalues": [
"Saber",
"Archer",
"Lancer",
"Rider",
"Caster",
"Assassin",
"Berserker"
],
"required": true
},
"alias": {},
"gender": {},
"born": {},
"died": {},
"height": {},
"weight": {},
"nationality": {},
"alignment": {
"description": "Servant's alignment",
"type": "string",
"suggestedvalues": [
"Lawful Good",
"Lawful Neutral",
"Lawful Evil",
"Neutral Good",
"True Neutral",
"Neutral Evil",
"Chaotic Good",
"Chaotic Neutral",
"Chaotic Evil"
],
"required": true
},
"weapon": {},
"likes": {},
"dislikes": {},
"param-strength": {},
"param-endurance": {},
"param-agility": {},
"param-mana": {},
"param-luck": {},
"param-np": {}
}
}
</templatedata></noinclude>

Latest revision as of 13:10, 7 April 2025

ClassInvalid class value. Must be a valid Servant class
AlignmentInvalid alignment value. Must be one of the nine D&D alignments
Parameters
Strength Endurance Agility
Mana Luck NP

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

Servant's name

Stringrequired
imageimage

Filename of the image to display

Default
Please name your images using the following format:

img_svt_{Class}_{ServantName}_{FreeSpace}.{extension}

Example: "img_svt_Saber_ArtoriaPendragon_Portrait.png"
Stringoptional
image_sizeimage_size

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

Stringoptional
artistartist

no description

Unknownoptional
classclass

Servant's class

Suggested values
Saber Archer Lancer Rider Caster Assassin Berserker
Stringrequired
aliasalias

no description

Unknownoptional
gendergender

no description

Unknownoptional
bornborn

no description

Unknownoptional
dieddied

no description

Unknownoptional
heightheight

no description

Unknownoptional
weightweight

no description

Unknownoptional
nationalitynationality

no description

Unknownoptional
alignmentalignment

Servant's alignment

Suggested values
Lawful Good Lawful Neutral Lawful Evil Neutral Good True Neutral Neutral Evil Chaotic Good Chaotic Neutral Chaotic Evil
Stringrequired
weaponweapon

no description

Unknownoptional
likeslikes

no description

Unknownoptional
dislikesdislikes

no description

Unknownoptional
param-strengthparam-strength

no description

Unknownoptional
param-enduranceparam-endurance

no description

Unknownoptional
param-agilityparam-agility

no description

Unknownoptional
param-manaparam-mana

no description

Unknownoptional
param-luckparam-luck

no description

Unknownoptional
param-npparam-np

no description

Unknownoptional