Template:RacePageHeader: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Thundercoot
(changed image sizes to 64px)
(Fixed includeguard, added template-category, added documentation.)
Line 1: Line 1:
<noinclude><code>
<includeonly>{|width="100%" cellspacing="0" cellpadding="2"
</noinclude>{|width="100%" cellspacing="0" cellpadding="2"
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{specietype|UNDEFINED}}}'''</font>
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{specietype|UNDEFINED}}}'''</font>
|-
|-
|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>'''Restricted Job Roles:''' {{{restricted job roles|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|}</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)}}
== About ==
Short details of a race, intended use in race-articles like [[Humans]] and [[Lizardpeople]].
== Parameter-Usage ==
{| class="wikitable"
!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: "'''&lt;jobtitle&gt;'''.png"
|-
!img
|
|Default: "'''&lt;jobtitle&gt;'''.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: restricted job roles
|N/A
|Information on restricted roles, normally command-roles for non-humans. Default: "Not defined"
|-
!guides
|No external guides
|Links to external guides about the species. Default: "Not defined"
|}
|}
<noinclude></code>
 
== Examples ==
=== Bare ===
<pre>{{RacePageHeader}}</pre>
{{RacePageHeader}}
 
=== Normal ===
<pre>{{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
|restricted job roles = N/A
|guides = No external guides
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
}}</pre>
{{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
|restricted job roles = N/A
|guides = No external guides
|quote=I sure do love all these squishy organs contained inside my skin by my skeleton!
}}
 
 
[[Category:Templates]]
</noinclude>

Revision as of 12:00, 21 April 2020


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: restricted job roles N/A Information on restricted roles, normally 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
Restricted Job 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
|restricted job 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
Restricted Job Roles: N/A
Guides: No external guides