Template:Species infobox: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
No edit summary
Aliser (talk | contribs)
No edit summary
 
(4 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=,
Line 6: Line 8:
|sections=Main, Internals, Appearance, Environment, Survivability, Technical
|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 35: Line 38:


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


[[Category:Infobox templates]]
[[Category:Infobox templates]]
Line 58: 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 152: Line 157:
"type": "line",
"type": "line",
"suggested": true,
"suggested": true,
"example": "#ffe1cc (example for human}"
"example": "<nowiki>#ffe1cc</nowiki> (example for human; nowiki is to escape the dash '#' symbol used in HEX colors}"
}
}
},
},

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