Template:XenoPageHeader: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Fourty2
Created page with "{{under construction |placedby=true |section= |nosection= |nocat= |notready=true |comment= |category= |altimage= }} <noinclude><code> </noinclude>{|width="100%" cellspacing="..."
 
imported>NyoomVoyager
mNo edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{under construction |placedby=true |section= |nosection= |nocat= |notready=true |comment= |category= |altimage= }}
<noinclude><code></noinclude>
 
{|width="100%" cellspacing="0" cellpadding="2"
<noinclude><code>
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{xenotier|UNDEFINED}}} XENO'''</font>
</noinclude>{|width="100%" cellspacing="0" cellpadding="2"
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{xenotype|UNDEFINED}}} XENO'''</font>
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img|}}}| [[File:{{{img|"TGMC:{{{xenotitle}}}.png"}}}|64px]] | }}} <br> '''{{{xenotitle|Xeno}}}'''
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img|}}}| [[File:{{{img|"TGMC:{{{xenotitle}}}.png"}}}|128px]] | }} <br> '''{{{xenotitle|Xeno}}}'''
|'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}} {{#if: {{{quote|}}} | <br>'''Quote:''' ''{{{quote}}}''}}
|
|}
'''Difficulty:''' {{{difficulty|Not defined}}}<br>
<noinclude></code>
'''Rank:''' {{{rank|[[TGMC:Xenomorph_playtime|Hatchling (Starting), Young (10hrs), Mature (25hrs), Elder (70 hrs), Ancient (175 hrs)]]}}}<br>
'''Duties:''' {{{duties|Not defined}}}<br>
'''Guides:''' {{{guides|Not defined}}}
{{#if: {{{quote|}}} | <br>'''Quote:''' ''{{{quote}}}''}}
|}</code>
<noinclude>
This template is intended to be at the top of each of each xeno page to provide a basic overview of each xeno.
This template is intended to be at the top of each of each xeno page to provide a basic overview of each xeno.


Line 15: Line 18:
'''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark color.<br>
'''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark color.<br>
'''headerfontcolor''' is the font color of the same part as headerbgcolor<br>
'''headerfontcolor''' is the font color of the same part as headerbgcolor<br>
'''xenotype''' is the word that is added before XENO. So adding the word SUPPORT here yields SUPPORT XENO. Intended to be in caps.<br>
'''xenotier''' is the word that is added before XENO. So adding the words TIER 1 here yields TIER 1 XENO. Intended to be in caps.<br>
'''imagebgcolor''' is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.<br>
'''imagebgcolor''' is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.<br>
'''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
'''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)<br>
'''xenotitle, difficulty, superior, guides and duties''' are self-explanatory. '''quote''' will only show if the parameter is specified
'''xenotitle, difficulty, guides and duties''' are self-explanatory.<br>
'''rank''' is the [[TGMC:Xenomorph_playtime|Playtime rank levels]]; which is the same for all xenos. Only Queen and King earn different titles beyond the "Elder" level.<br>
'''quote''' will only show if the parameter is specified


== Usage ==
== Usage ==
Line 25: Line 30:
No image defined:
No image defined:


{{JobPageHeader
{{XenoPageHeader
|headerbgcolor = darkblue
|headerbgcolor = darkblue
|headerfontcolor = white
|headerfontcolor = white
|xenotype = Support
|xenotype = SUPPORT
|imagebgcolor = lightblue
|imagebgcolor = lightblue
|xenotitle = Drone
|xenotitle = Drone(xxx)
|difficulty = Medium
|difficulty = Medium
|superior = Queen and T2 and 3 xenos.
|duties = Build the hive, plant the weeds, don't die.
|duties = Build the hive, plant the weeds, don't die.
|guides = no separate guides
|guides = no separate guides
Line 38: Line 42:
}}
}}


Only in-action image defined:
Image defined:


{{JobPageHeader
{{XenoPageHeader
|headerbgcolor = darkblue
|headerbgcolor = darkblue
|headerfontcolor = white
|headerfontcolor = white
|stafftype = COMMAND
|xenotype = SUPPORT
|imagebgcolor = lightblue
|imagebgcolor = lightblue
|img = Captain_action.png
|img = Wiki_Images.png
|jobtitle = Captain
|xenotitle = Drone(xxx)
|access = All
|difficulty = Medium
|additional = N/A
|duties = Build the hive, plant the weeds, don't die.
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
|guides = no separate guides
|quote = Can I evolve now queen?
}}
}}


Only generic image defined:
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
Both images defined:
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain_action.png
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:56, 11 April 2024

UNDEFINED XENO

Xeno

Difficulty: Not defined
Rank: Hatchling (Starting), Young (10hrs), Mature (25hrs), Elder (70 hrs), Ancient (175 hrs)
Duties: Not defined
Guides: Not defined

This template is intended to be at the top of each of each xeno page to provide a basic overview of each xeno.

Meaning of parameters

headerbgcolor is the background color of the upper part which spans the entire width of the screen. This should be a dark color.
headerfontcolor is the font color of the same part as headerbgcolor
xenotier is the word that is added before XENO. So adding the words TIER 1 here yields TIER 1 XENO. Intended to be in caps.
imagebgcolor is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.
img is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
xenotitle, difficulty, guides and duties are self-explanatory.
rank is the Playtime rank levels; which is the same for all xenos. Only Queen and King earn different titles beyond the "Elder" level.
quote will only show if the parameter is specified

Usage

Example of the finished product. Check the source code for the code that generated the thing below. Please document any changes you make to the template code in the parameters and usage sections

No image defined:


UNDEFINED XENO

Drone(xxx)

Difficulty: Medium
Rank: Hatchling (Starting), Young (10hrs), Mature (25hrs), Elder (70 hrs), Ancient (175 hrs)
Duties: Build the hive, plant the weeds, don't die.
Guides: no separate guides
Quote: Can I evolve now queen?


Image defined:


UNDEFINED XENO

Drone(xxx)

Difficulty: Medium
Rank: Hatchling (Starting), Young (10hrs), Mature (25hrs), Elder (70 hrs), Ancient (175 hrs)
Duties: Build the hive, plant the weeds, don't die.
Guides: no separate guides
Quote: Can I evolve now queen?