Template:Species infobox: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox|main | <includeonly><templatestyles src="Template:Species infobox/styles.css"></templatestyles><!-- | ||
-->{{#invoke:Infobox|main | |||
|kind=species | |kind=species | ||
|sep=, | |sep=, | ||
|title={{{title|{{PAGENAME}}}}} | |title={{{title|{{PAGENAME}}}}} | ||
|image={{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}} | |image={{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}} | ||
|sections=Main | |sections=Main, Internals, Appearance, Environment, Survivability, Technical | ||
|Main= | |Main=Roundstart, Naming, Sexes, Abilities | ||
| | |Main_nolabel = yes | ||
| | |Roundstart = {{#ifeq: {{yesno|{{{roundstart|}}}}}|yes|Yes|No}} | ||
|Roundstart_label = {{Tooltip|Roundstart|Can be selected in character editor.}} | |||
|Naming = {{{naming|}}} | |Naming = {{{naming|}}} | ||
|Sexes = {{{sexes|}}} | |Sexes = {{{sexes|}}} | ||
Line 15: | Line 18: | ||
|Internals = Blood type | |Internals = Blood type | ||
|Blood type = {{{blood type|}}} | |Blood type = {{{blood type|}}} | ||
|Appearance = Skin tone | |||
|Skin tone = {{{skin tone|}}} | |||
|Environment = Temperature range, Breathes, Diet | |Environment = Temperature range, Breathes, Diet | ||
Line 28: | Line 34: | ||
|ID = {{{id|}}} | |ID = {{{id|}}} | ||
|Prototype = {{{prototype|}}} | |Prototype = {{{prototype|}}} | ||
|Random selection weight = {{{random selection weight|}}} | |Random selection weight = {{{random selection weight|1}}} | ||
|Random selection weight_label = {{Tooltip|Random selection weight|Each species has a weight assigned to it that determines its chance to roll when clicking {{button|Randomize}} in character editor.}} | |Random selection weight_label = {{Tooltip|Random selection weight|Each species has a weight assigned to it that determines its chance to roll when clicking {{button|Randomize}} in character editor.}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{docs}} | {{docs|bb= | ||
{{uses template styles}} | |||
}} | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
Line 42: | Line 50: | ||
"type": "line", | "type": "line", | ||
"required": true, | "required": true, | ||
"example": " | "example": "Moth", | ||
"default": "{{PAGENAME}}", | |||
"autovalue": "{{PAGENAME}}" | |||
}, | }, | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
"example": " | "example": "Moth.png", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
Line 52: | Line 62: | ||
"naming": { | "naming": { | ||
"label": "Naming conventions", | "label": "Naming conventions", | ||
"description": "What rules do the names for this species follow? Specify | "description": "What rules do the names for this species follow? Specify a format and an example/examples.", | ||
"example": "First Last, example: John Station", | "example": "''First Last'', example: John Station", | ||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
Line 64: | Line 74: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "temperature range": { | ||
"label": "Livable temperature", | "label": "Temperature range", | ||
"description": "Livable temperature range in Celsius.", | |||
"example": "{{Degrees|5|C}} to {{Degrees|40|C}}", | |||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
Line 80: | Line 92: | ||
"diet": { | "diet": { | ||
"label": "Diet", | "label": "Diet", | ||
"type": " | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 91: | Line 103: | ||
], | ], | ||
"suggested": true | "suggested": true | ||
}, | |||
"roundstart": { | |||
"label": "Roundstart?", | |||
"description": "Whether the species is available in character editor.", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"suggested": true | |||
}, | |||
"sexes": { | |||
"label": "Sexes", | |||
"description": "What sex can a species be?", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Male or Female", | |||
"Unixes" | |||
], | |||
"suggested": true | |||
}, | |||
"damage resistance": { | |||
"label": "Damage resistance", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"damage weakness": { | |||
"label": "Damage weakness", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"id": { | |||
"label": "ID", | |||
"description": "Species ID", | |||
"example": "{{c|Moth}}", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"prototype": { | |||
"label": "Prototype name", | |||
"description": "Species prototype name.", | |||
"example": "{{c|MobMoth}}", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"random selection weight": { | |||
"label": "Random selection weight", | |||
"description": "A species can have a weight assigned to it in 'species_weights.yml' that determines its chance to roll when clicking randomize button in character editor. By default (if it's not in the file), the value is 1.", | |||
"example": "1", | |||
"type": "number", | |||
"default": "1", | |||
"suggested": true | |||
}, | |||
"skin tone": { | |||
"label": "Skin tone", | |||
"type": "line", | |||
"suggested": true, | |||
"example": "<nowiki>#ffe1cc</nowiki> (example for human; nowiki is to escape the dash '#' symbol used in HEX colors}" | |||
} | } | ||
}, | }, | ||
Line 96: | Line 163: | ||
"title", | "title", | ||
"image", | "image", | ||
"roundstart", | |||
"naming", | "naming", | ||
"sexes", | |||
"abilities", | "abilities", | ||
" | "blood type", | ||
"skin tone", | |||
"temperature range", | |||
"breathes", | "breathes", | ||
" | "diet", | ||
" | "damage resistance", | ||
"damage weakness", | |||
"id", | |||
"prototype", | |||
"random selection weight" | |||
], | ], | ||
"description": "Infobox templates for species.", | "description": "Infobox templates for species.", |
Latest revision as of 04:50, 11 April 2025
Infobox templates for species.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Infobox title | title | no description
| Line | required |
Image | image | no description
| File | suggested |
Roundstart? | roundstart | Whether the species is available in character editor.
| Boolean | suggested |
Naming conventions | naming | What rules do the names for this species follow? Specify a format and an example/examples.
| Line | suggested |
Sexes | sexes | What sex can a species be?
| Line | suggested |
Abilities | abilities | List of abilities. Don't add descriptions here, use the page. For multiple abilities, list them in a bullet list.
| Line | suggested |
Blood type | blood type | no description
| Line | suggested |
Skin tone | skin tone | no description
| Line | suggested |
Temperature range | temperature range | Livable temperature range in Celsius.
| Line | suggested |
Breathes | breathes | no description
| Line | suggested |
Diet | diet | no description | String | suggested |
Damage resistance | damage resistance | no description | String | suggested |
Damage weakness | damage weakness | no description | String | suggested |
ID | id | Species ID
| Line | suggested |
Prototype name | prototype | Species prototype name.
| Line | suggested |
Random selection weight | random selection weight | A species can have a weight assigned to it in 'species_weights.yml' that determines its chance to roll when clicking randomize button in character editor. By default (if it's not in the file), the value is 1.
| Number | suggested |