Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/skins/Cosmos/includes/CosmosTemplate.php on line 1316
×
Create a new article
Write your page title here:
We currently have 80 articles on Witte Raaf. Type your article name above or click on one of the titles below and start writing!



Witte Raaf
80Articles

Template:Infobox dndcharacter/doc: Difference between revisions

m 1 revision imported
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 14: Line 14:
|health    =
|health    =
|status    =
|status    =
|alignment  =
|gender    =
|gender    =
|age        =
|race      =
|race      =
|height    =
|height    =
Line 20: Line 22:
|eye color  =
|eye color  =
|hair color =
|hair color =
|level      =
|class      =
|chi type  =
|chi kleur  =
|chi desc  =
}}
}}
</pre>
</pre>
Line 38: Line 45:
|eye color  = blue-gray
|eye color  = blue-gray
|hair color = dark blonde
|hair color = dark blonde
|level      = 17
|class      = Wizard
|chi type  = Specialist
|chi kleur  = Gold
|chi desc  = Maakt pijlen
}}
}}


Line 57: Line 69:
|eye color  = blue-gray
|eye color  = blue-gray
|hair color = dark blonde
|hair color = dark blonde
|level      = 17
|class      = Wizard
|chi type  = Specialist
|chi kleur  = Gold
|chi desc  = Maakt pijlen
}}
}}
</pre>
</pre>
Line 62: Line 79:
[[Category:{{#ifeq: {{SITENAME}} | Templates Wiki | Character infobox  | Infobox }} templates|{{PAGENAME}}]]</includeonly><noinclude>
[[Category:{{#ifeq: {{SITENAME}} | Templates Wiki | Character infobox  | Infobox }} templates|{{PAGENAME}}]]</includeonly><noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Name of the character",
"type": "string"
},
"image": {
"label": "Image",
"description": "Filename to put in infobox. Use <gallery> to use multiple images.",
"type": "wiki-file-name"
},
"caption": {
"label": "Caption",
"description": "Caption for the character image",
"type": "string"
},
"title": {
"label": "Title",
"description": "Any official titles the character might have",
"example": "Lord of Fancytown",
"type": "string"
},
"player": {
"label": "Player",
"description": "Name of person playing this character",
"type": "string"
},
"health": {
"label": "Health",
"description": "How is the character doing health wise?",
"type": "string"
},
"status": {
"label": "Status",
"description": "How is the character doing in general?",
"type": "string"
},
"alignment": {
"label": "Alignment",
"description": "D&D Alignment",
"example": "CN",
"type": "string"
},
"gender": {
"label": "Gender",
"description": "Gender of the character",
"type": "string"
},
"age": {
"label": "Age",
"description": "Age of the character",
"type": "number"
},
"race": {
"label": "Race",
"description": "The character's D&D race",
"example": "Tiefling",
"type": "string"
},
"height": {
"label": "Height",
"description": "The height of the character",
"type": "string"
},
"weight": {
"label": "Weight",
"description": "The weight of the character"
},
"eye color": {
"label": "Eye Color",
"description": "The character's eye color",
"type": "string"
},
"hair color": {
"label": "Hair Color",
"description": "The character's hair color",
"type": "string"
},
"level": {
"label": "Level",
"description": "The character's level",
"example": "3",
"type": "number"
},
"class": {
"label": "Class",
"description": "The character's D&D class",
"example": "Warlock (Great Old One)",
"type": "string"
},
"chi type": {
"label": "Chi Type",
"description": "The type of Chi this character has",
"example": "Veranderaar",
"type": "string"
},
"chi kleur": {
"label": "Chi Kleur",
"description": "The color of this character's Chi",
"example": "Groen",
"type": "string"
},
"chi desc": {
"label": "Chi Description",
"description": "A short description of the Chi power",
"example": "Maakt pijlen",
"type": "string"
}
},
"description": "A D&D style character",
"paramOrder": [
"name",
"image",
"caption",
"title",
"player",
"health",
"status",
"alignment",
"gender",
"age",
"race",
"height",
"weight",
"eye color",
"hair color",
"level",
"class",
"chi type",
"chi kleur",
"chi desc"
]
}
</templatedata>

Latest revision as of 23:05, 11 March 2023

Description
This template is used to create a minimalist game character infobox (the "dnd" in the name is misleading).
Syntax
Type {{infobox dndcharacter|...}} somewhere, with parameters as shown below.

Usage

{{Infobox dndcharacter
|name       =
|image      =
|caption    =
|title      =
|player     =
|health     =
|status     =
|alignment  =
|gender     =
|age        =
|race       =
|height     =
|weight     =
|eye color  =
|hair color =
|level      = 
|class      = 
|chi type   = 
|chi kleur  = 
|chi desc   = 
}}

Preview


Click here to refresh the preview

{{Infobox dndcharacter
|name       = Some Character
|image      = Placeholder person.png
|caption    = Some
|title      = n/a
|player     = Some Player
|health     = Okay
|status     = Alive
|gender     = Female
|race       = Wikian
|height     = 5'7"
|weight     = 170 lbs.
|eye color  = blue-gray
|hair color = dark blonde
|level      = 17
|class      = Wizard
|chi type   = Specialist
|chi kleur  = Gold
|chi desc   = Maakt pijlen
}}

A D&D style character

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the character

Stringoptional
Imageimage

Filename to put in infobox. Use <gallery> to use multiple images.

Fileoptional
Captioncaption

Caption for the character image

Stringoptional
Titletitle

Any official titles the character might have

Example
Lord of Fancytown
Stringoptional
Playerplayer

Name of person playing this character

Stringoptional
Healthhealth

How is the character doing health wise?

Stringoptional
Statusstatus

How is the character doing in general?

Stringoptional
Alignmentalignment

D&D Alignment

Example
CN
Stringoptional
Gendergender

Gender of the character

Stringoptional
Ageage

Age of the character

Numberoptional
Racerace

The character's D&D race

Example
Tiefling
Stringoptional
Heightheight

The height of the character

Stringoptional
Weightweight

The weight of the character

Unknownoptional
Eye Coloreye color

The character's eye color

Stringoptional
Hair Colorhair color

The character's hair color

Stringoptional
Levellevel

The character's level

Example
3
Numberoptional
Classclass

The character's D&D class

Example
Warlock (Great Old One)
Stringoptional
Chi Typechi type

The type of Chi this character has

Example
Veranderaar
Stringoptional
Chi Kleurchi kleur

The color of this character's Chi

Example
Groen
Stringoptional
Chi Descriptionchi desc

A short description of the Chi power

Example
Maakt pijlen
Stringoptional