Template:RacePageHeader: Difference between revisions

Jump to navigation Jump to search
Fixed includeguard, added template-category, added documentation.
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>
1,133

edits

Navigation menu