Шаблон:XenoPageHeader: различия между версиями
imported>Fourty2 (→Usage) |
imported>ClosetedSkeleton (whoopsies) |
||
(не показано 6 промежуточных версий 2 участников) | |||
Строка 3: | Строка 3: | ||
|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]] | | |width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img|}}}| [[File:{{{img|"TGMC:{{{xenotitle}}}.png"}}}|64px]] | }} <br> '''{{{xenotitle|Xeno}}}''' | ||
|'''Difficulty:''' {{{difficulty | |'''Difficulty:''' {{{difficulty|Not defined}}} <br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}} {{#if: {{{quote|}}} | <br>'''Quote:''' ''{{{quote}}}''}} | ||
|} | |} | ||
<noinclude></code> | <noinclude></code> | ||
Строка 16: | Строка 16: | ||
'''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)<br> | '''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)<br> | ||
'''xenotitle, difficulty | '''xenotitle, difficulty, guides and duties''' are self-explanatory.<br> | ||
'''quote''' will only show if the parameter is specified | |||
== Usage == | == Usage == | ||
Строка 28: | Строка 29: | ||
|xenotype = SUPPORT | |xenotype = SUPPORT | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|xenotitle = Drone | |xenotitle = Drone(xxx) | ||
|difficulty = Medium | |difficulty = Medium | ||
|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 | ||
Строка 44: | Строка 44: | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|img = DMCA_Drone.png | |img = DMCA_Drone.png | ||
| | |xenotitle = Drone(xxx) | ||
|difficulty = Medium | |difficulty = Medium | ||
|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 |
Текущая версия от 16:52, 24 октября 2023
UNDEFINED XENO
Xeno
Difficulty: 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, 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 | |
Drone(xxx) |
Difficulty: Medium Duties: Build the hive, plant the weeds, don't die. Guides: no separate guides Quote: Can I evolve now queen? |
Image defined:
SUPPORT XENO | |
Файл:DMCA Drone.png Drone(xxx) |
Difficulty: Medium Duties: Build the hive, plant the weeds, don't die. Guides: no separate guides Quote: Can I evolve now queen? |