Template:RacePageHeader: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Fixed includeguard, added template-category, added documentation.)
(Inverts table from "barred command roles" to "allowed command roles" for simplicity with #11505 being merged. Will probably break all race pages for a hot minute until I fix them.)
Line 3: Line 3:
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{speciename|name}}}'''
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{speciename|name}}}'''
|'''Genus:''' {{{genus|Not defined}}}<br>'''Homeworld:''' {{{homeworld|Not defined}}}<br>'''Central Authority:''' {{{central authority|Not defined}}}<br>'''Restricted Job Roles:''' {{{restricted job roles|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|'''Genus:''' {{{genus|Not defined}}}<br>'''Homeworld:''' {{{homeworld|Not defined}}}<br>'''Central Authority:''' {{{central authority|Not defined}}}<br>'''Allowed Command Roles:''' {{{allowed command roles|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Needs revision|reason=Some parameters should be reviewed. Especially jobtitle seems removable|user=[[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 12:00, 21 April 2020 (UTC)}}
{{Needs revision|reason=Some parameters should be reviewed. Especially jobtitle seems removable|user=[[User:Helpful Herbert|Helpful Herbert]] ([[User talk:Helpful Herbert|talk]]) 12:00, 21 April 2020 (UTC)}}
Line 60: Line 60:
|Name of the biggest / central authority within the species society. Default: "Not defined"
|Name of the biggest / central authority within the species society. Default: "Not defined"
|-
|-
!Default: restricted job roles
!Default: allowed command roles
|N/A
|[[Head of Security]], etc.
|Information on restricted roles, normally command-roles for non-humans. Default: "Not defined"
|Information on species-specific allowed Command roles for Non-Humans. Default: "Not defined"
|-
|-
!guides
!guides
Line 86: Line 86:
|homeworld = Earth
|homeworld = Earth
|central authority = United Earth Government
|central authority = United Earth Government
|restricted job roles = N/A
|allowed command roles = N/A
|guides = No external guides
|guides = No external guides
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
Line 101: Line 101:
|homeworld = Earth
|homeworld = Earth
|central authority = United Earth Government
|central authority = United Earth Government
|restricted job roles = N/A
|allowed command roles = N/A
|guides = No external guides
|guides = No external guides
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!

Revision as of 20:35, 9 July 2021


Pen.png This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Some parameters should be reviewed. Especially jobtitle seems removable"
Marked by: "Helpful Herbert (talk) 12:00, 21 April 2020 (UTC)"



About

Short details of a race, intended use in race-articles like Humans and Lizardpeople.

Parameter-Usage

Parameter Example Description
headerbgcolor darkgreen Backgroundcolor of the header Default: "#bbbbbb"
headerfontcolor white Fontcolor of the header Default: "#000000"
imagebgcolor lightgray Default: "#cccccc"
img_generic Human.png Default: "<jobtitle>.png"
img Default: "<jobtitle>.png"
specietype HUMANS Type of the species, meant to be uppercase. Put in the header on top. Default: "UNDEFINED"
jobtitle TODO: Not really sure what this parameter is for. Maybe remove?
speciename Human Name of the species. Put under the image. Default: "name"
genus Homo Sapiens Sapiens Biological genus of the species. Default: "Not defined"
homeworld Earth Name of the species homeworld. Default: "Not defined"
central authority United Earth Government Name of the biggest / central authority within the species society. Default: "Not defined"
Default: allowed command roles Head of Security, etc. Information on species-specific allowed Command roles for Non-Humans. Default: "Not defined"
guides No external guides Links to external guides about the species. Default: "Not defined"

Examples

Bare

{{RacePageHeader}}
UNDEFINED
name Genus: Not defined
Homeworld: Not defined
Central Authority: Not defined
Allowed Command Roles: Not defined
Guides: Not defined

Normal

{{RacePageHeader
|headerbgcolor = darkgreen
|headerfontcolor = white
|genus = Homo Sapiens Sapiens
|imagebgcolor = lightgray
|img_generic = Human.png
|img = 
|specietype = HUMANS
|speciename = Human
|homeworld = Earth
|central authority = United Earth Government
|allowed command roles = N/A
|guides = No external guides
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
}}
HUMANS
Human.png
Human
Genus: Homo Sapiens Sapiens
Homeworld: Earth
Central Authority: United Earth Government
Allowed Command Roles: N/A
Guides: No external guides