Difference between revisions of "Template:Creature"
Jump to navigation
Jump to search
(Created page with "<includeonly> <infobox layout="stacked"> <title source="title"> <default>'''{{PAGENAME}}'''</default> </title> <image source="image"> <caption source="caption"/>...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
<group> | <group> | ||
<header>Biographical Information</header> | <header>Biographical Information</header> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<data source="gender"> | <data source="gender"> | ||
<label>Gender</label> | <label>Gender</label> | ||
Line 29: | Line 17: | ||
<default>Unknown</default> | <default>Unknown</default> | ||
</data> | </data> | ||
− | <data source=" | + | <data source="cause_of_death"> |
− | <label> | + | <label>Cause of Death</label> |
<default>Unknown</default> | <default>Unknown</default> | ||
− | </data> | + | </data> |
</group> | </group> | ||
<group> | <group> | ||
Line 38: | Line 26: | ||
<data source="species"> | <data source="species"> | ||
<label>Species</label> | <label>Species</label> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<default>Unknown</default> | <default>Unknown</default> | ||
</data> | </data> | ||
Line 74: | Line 31: | ||
</infobox> | </infobox> | ||
− | [[Category: | + | [[Category:Creatures]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | {{/doc}} | + | {{/doc}}<templatedata> |
− | |||
{ | { | ||
"params": { | "params": { | ||
− | " | + | "title": {}, |
− | + | "image": {}, | |
− | + | "caption": {}, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
"gender": { | "gender": { | ||
"label": "Gender", | "label": "Gender", | ||
− | "description": " | + | "description": "Creature's gender", |
"example": "Male", | "example": "Male", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "status": { | ||
+ | "label": "Status", | ||
+ | "description": "Creature's status", | ||
+ | "example": "Alive", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
− | " | + | "cause_of_death": { |
− | "label": " | + | "label": "Cause of Death", |
− | "description": " | + | "description": "How did the creature die?", |
− | + | "example": "Scrael attack", | |
− | + | "type": "string", | |
− | + | "suggested": true | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | "example": " | ||
− | "type": "string | ||
− | |||
− | |||
− | |||
− | " | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"species": { | "species": { | ||
"label": "Species", | "label": "Species", | ||
− | "description": "What | + | "description": "What kind of creature is this?", |
− | "example": " | + | "example": "Horse", |
− | "type": "string | + | "type": "string", |
− | + | "required": true | |
− | |||
− | |||
− | |||
− | |||
− | "required": true | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
}, | }, | ||
− | "description": " | + | "description": "This template creates the Creature infobox", |
"format": "block" | "format": "block" | ||
} | } | ||
− | </templatedata> | + | </templatedata> |
</noinclude> | </noinclude> |
Latest revision as of 19:38, 6 June 2021
This template creates the Creature infobox
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | no description | Unknown | optional |
Image | image | no description | Unknown | optional |
Caption | caption | no description | Unknown | optional |
Gender | gender | Creature's gender
| String | suggested |
Status | status | Creature's status
| String | required |
Cause of Death | cause_of_death | How did the creature die?
| String | suggested |
Species | species | What kind of creature is this?
| String | required |