Template:Species infobox: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
No edit summary
 
(7 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=Available roundstart, Naming, Sexes, Abilities
|Main=Roundstart, Naming, Sexes, Abilities
|Available roundstart = {{{roundstart|}}}
|Main_nolabel = yes
|Available roundstart_label = {{Tooltip|Available roundstart|Can be selected in character editor.}}
|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 32: Line 38:


}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{docs}}
{{docs|bb=
{{uses template styles}}
}}


[[Category:Infobox templates]]
[[Category:Infobox templates]]
Line 55: Line 63:
"label": "Naming conventions",
"label": "Naming conventions",
"description": "What rules do the names for this species follow? Specify a format and an example/examples.",
"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 126: Line 134:
"label": "ID",
"label": "ID",
"description": "Species ID",
"description": "Species ID",
"example": "Moth",
"example": "{{c|Moth}}",
"type": "line",
"type": "line",
"suggested": true
"suggested": true
Line 133: Line 141:
"label": "Prototype name",
"label": "Prototype name",
"description": "Species prototype name.",
"description": "Species prototype name.",
"example": "MobMoth",
"example": "{{c|MobMoth}}",
"type": "line",
"type": "line",
"suggested": true
"suggested": true
Line 139: Line 147:
"random selection weight": {
"random selection weight": {
"label": "Random selection weight",
"label": "Random selection weight",
"description": "Each species has a weight assigned to it that determines its chance to roll when clicking randomize button in character editor.",
"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",
"example": "1",
"type": "number",
"type": "number",
"default": "1",
"default": "1",
"suggested": true
"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 154: Line 168:
"abilities",
"abilities",
"blood type",
"blood type",
"skin tone",
"temperature range",
"temperature range",
"breathes",
"breathes",

Latest revision as of 04:50, 11 April 2025

Template documentation
view or edit this documentation about template documentation
Uses template styles
This template uses template styles found in:

Template:Species infobox/doc

Infobox templates for species.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Infobox titletitle

no description

Default
{{PAGENAME}}
Example
Moth
Auto value
{{PAGENAME}}
Linerequired
Imageimage

no description

Example
Moth.png
Filesuggested
Roundstart?roundstart

Whether the species is available in character editor.

Auto value
0
Booleansuggested
Naming conventionsnaming

What rules do the names for this species follow? Specify a format and an example/examples.

Example
''First Last'', example: John Station
Linesuggested
Sexessexes

What sex can a species be?

Suggested values
Male or Female Unixes
Linesuggested
Abilitiesabilities

List of abilities. Don't add descriptions here, use the page. For multiple abilities, list them in a bullet list.

Example
Tail Pulling
Linesuggested
Blood typeblood type

no description

Suggested values
Iron-based Copper-based
Linesuggested
Skin toneskin tone

no description

Example
<nowiki>#ffe1cc</nowiki> (example for human; nowiki is to escape the dash '#' symbol used in HEX colors}
Linesuggested
Temperature rangetemperature range

Livable temperature range in Celsius.

Example
{{Degrees|5|C}} to {{Degrees|40|C}}
Linesuggested
Breathesbreathes

no description

Suggested values
Oxygen Nitrogen
Linesuggested
Dietdiet

no description

Stringsuggested
Damage resistancedamage resistance

no description

Stringsuggested
Damage weaknessdamage weakness

no description

Stringsuggested
IDid

Species ID

Example
{{c|Moth}}
Linesuggested
Prototype nameprototype

Species prototype name.

Example
{{c|MobMoth}}
Linesuggested
Random selection weightrandom 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.

Default
1
Example
1
Numbersuggested