Template:XenoPageHeader: Difference between revisions
imported>Fourty2 (Created page with "{{under construction |placedby=true |section= |nosection= |nocat= |notready=true |comment= |category= |altimage= }} <noinclude><code> </noinclude>{|width="100%" cellspacing="...") |
imported>Fourty2 No edit summary |
||
Line 1: | Line 1: | ||
<noinclude><code> | <noinclude><code> | ||
</noinclude>{|width="100%" cellspacing="0" cellpadding="2" | </noinclude>{|width="100%" cellspacing="0" cellpadding="2" | ||
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{xenotype|UNDEFINED}}} XENO'''</font> | |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> '''{{{ | |width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img|}}}| [[File:{{{img|"TGMC:{{{xenotitle}}}.png"}}}|64px]] | }}} <br> '''{{{Xenotitle|Xeno}}}''' | ||
|'''Difficulty:''' {{{difficulty|Not defined}}}<br>''' | |'''Difficulty:''' {{{difficulty|Not defined}}} <br> '''Superior:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}} {{#if: {{{quote|}}} | <br>'''Quote:''' ''{{{quote}}}''}} | ||
|} | |} | ||
<noinclude></code> | <noinclude></code> | ||
Line 17: | Line 15: | ||
'''xenotype''' is the word that is added before XENO. So adding the word SUPPORT here yields SUPPORT XENO. Intended to be in caps.<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> | ||
'''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, superior, guides and duties''' are self-explanatory. '''quote''' will only show if the parameter is specified | ||
Line 25: | Line 23: | ||
No image defined: | No image defined: | ||
{{ | {{XenoPageHeader | ||
|headerbgcolor = darkblue | |headerbgcolor = darkblue | ||
|headerfontcolor = white | |headerfontcolor = white | ||
|xenotype = | |xenotype = SUPPORT | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|xenotitle = Drone | |xenotitle = Drone | ||
Line 40: | Line 38: | ||
Only in-action image defined: | Only in-action image defined: | ||
{{ | {{XenoPageHeader | ||
|headerbgcolor = darkblue | |headerbgcolor = darkblue | ||
|headerfontcolor = white | |headerfontcolor = white | ||
| | |xenotype = SUPPORT | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|img = | |img = DMCA_Drone.png | ||
|jobtitle = | |jobtitle = Drone(xxx) | ||
|difficulty = Medium | |||
|superior = Queen and T2 and 3 xenos. | |||
|difficulty = | |duties = Build the hive, plant the weeds, don't die. | ||
|superior = | |||
|duties = | |||
|guides = no separate guides | |guides = no separate guides | ||
|quote = Can I evolve now queen? | |||
}} | }} | ||
Revision as of 08:53, 26 January 2019
UNDEFINED XENO
}
Xeno
Difficulty: Not defined
Superior: Not defined
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
xenotype is the word that is added before XENO. So adding the word SUPPORT here yields SUPPORT 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, superior, guides and duties are self-explanatory. 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:
SUPPORT XENO | |
} Xeno |
Difficulty: Medium Superior: Queen and T2 and 3 xenos. Duties: Build the hive, plant the weeds, don't die. Guides: no separate guides Quote: Can I evolve now queen? |
Only in-action image defined:
SUPPORT XENO | |
File:DMCA Drone.png} Xeno |
Difficulty: Medium Superior: Queen and T2 and 3 xenos. Duties: Build the hive, plant the weeds, don't die. Guides: no separate guides Quote: Can I evolve now queen? |
Only generic image defined:
COMMAND STAFF | |
Captain |
Access: All Additional Access: N/A Difficulty: Very hard Supervisors: 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:
COMMAND STAFF | |
Captain |
Access: All Additional Access: N/A Difficulty: Very hard Supervisors: 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 |