No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
</caption> | </caption> | ||
</image> | </image> | ||
}} | |||
{{#tag:tab|name="Model"| | |||
<image source="model"> | |||
<default>{{{name|{{PAGENAME}}}} model</default> | |||
<image> | |||
}} | }} | ||
}} | }} | ||
Revision as of 15:47, 28 February 2023
There is a problem with parsing the infobox
-
0
-
1<title source="name"><default>{{PAGENAME}}</default></title>
-
2{{#tag:tabs|
-
3{{#tag:tab|name="Art"|
-
4<image source="image">
-
5<caption source="caption">
-
6<default>{{{name|{{PAGENAME}}}}} image</default>
-
7</caption>
-
8</image>
-
9}}
-
10{{#tag:tab|name="Model"|
-
11<image source="model">
-
12<default>{{{name|{{PAGENAME}}}} model</default>
-
13<image>
-
14}}
-
15}}
-
16<data source="player"><label>Player</label></data>
-
17<data source="title"><label>Title</label></data>
-
18<group>
-
19<header>Statistics</header>
-
20<data source="health"><label>Health</label></data>
-
21<data source="status"><label>Status</label></data>
-
22</group>
-
23<group>
-
24<header>Physical attributes</header>
-
25<data source="gender"><label>Gender</label></data>
-
26<data source="race"><label>Race</label></data>
-
27<data source="height"><label>Height</label></data>
-
28<data source="weight"><label>Weight</label></data>
-
29<data source="eye color"><label>Eye color</label></data>
-
30<data source="hair color"><label>Hair color</label></data>
-
31</group>
-
32
| File:Template-info.svg | Template Documentation (sometimes hidden or invisible)
Template tools: purge • what links here • what transclude this • subpages |
- Description
- This template is used to create a minimalist game character infobox (the "dnd" in the name is misleading).
- Syntax
- Type
somewhere, with parameters as shown below.{{infobox dndcharacter|...}}
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
There is a problem with parsing the infobox
-
0
-
1<title source="name"><default>{{PAGENAME}}</default></title>
-
2{{#tag:tabs|
-
3{{#tag:tab|name="Art"|
-
4<image source="image">
-
5<caption source="caption">
-
6<default>{{{name|{{PAGENAME}}}}} image</default>
-
7</caption>
-
8</image>
-
9}}
-
10{{#tag:tab|name="Model"|
-
11<image source="model">
-
12<default>{{{name|{{PAGENAME}}}} model</default>
-
13<image>
-
14}}
-
15}}
-
16<data source="player"><label>Player</label></data>
-
17<data source="title"><label>Title</label></data>
-
18<group>
-
19<header>Statistics</header>
-
20<data source="health"><label>Health</label></data>
-
21<data source="status"><label>Status</label></data>
-
22</group>
-
23<group>
-
24<header>Physical attributes</header>
-
25<data source="gender"><label>Gender</label></data>
-
26<data source="race"><label>Race</label></data>
-
27<data source="height"><label>Height</label></data>
-
28<data source="weight"><label>Weight</label></data>
-
29<data source="eye color"><label>Eye color</label></data>
-
30<data source="hair color"><label>Hair color</label></data>
-
31</group>
-
32
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the character | String | optional |
| Image | image | Filename to put in infobox. Use <gallery> to use multiple images. | File | optional |
| Caption | caption | Caption for the character image | String | optional |
| Title | title | Any official titles the character might have
| String | optional |
| Player | player | Name of person playing this character | String | optional |
| Health | health | How is the character doing health wise? | String | optional |
| Status | status | How is the character doing in general? | String | optional |
| Alignment | alignment | D&D Alignment
| String | optional |
| Gender | gender | Gender of the character | String | optional |
| Age | age | Age of the character | Number | optional |
| Race | race | The character's D&D race
| String | optional |
| Height | height | The height of the character | String | optional |
| Weight | weight | The weight of the character | Unknown | optional |
| Eye Color | eye color | The character's eye color | String | optional |
| Hair Color | hair color | The character's hair color | String | optional |
| Level | level | The character's level
| Number | optional |
| Class | class | The character's D&D class
| String | optional |
| Chi Type | chi type | The type of Chi this character has
| String | optional |
| Chi Kleur | chi kleur | The color of this character's Chi
| String | optional |
| Chi Description | chi desc | A short description of the Chi power
| String | optional |
Visit Template:Infobox dndcharacter/doc to edit this text! (How does this work?) (Refresh this text - why?)