Шаблон:SpeciesHeader: различия между версиями
imported>Rootoo мНет описания правки |
Kar4es (обсуждение | вклад) (перевод шаблона без перевода инструкций) |
||
(не показано 6 промежуточных версий 1 участника) | |||
Строка 1: | Строка 1: | ||
{|style="width:100%; cellspacing:0; cellpadding:2;" | |||
|colspan=2 style=" background-color:rgba({{{headerbgcolor|0, 168, 103}}}); text-align:center; color:{{{headerfontcolor|white}}}; border-radius: 10px 10px 0 0;"|'''<span style="text-transform:uppercase;">{{{species|UNDEFINED}}}</span>''' | |||
| | |||
|- | |- | ||
|width | |style="width:150px; text-align:center; background-color:rgba({{{headerbgcolor|0, 168, 103}}},0.25); border-radius: 0 0 0 10px;"| [[File:{{{img}}}|{{{species}}}]] <br> '''{{{species|Species}}}''' | ||
|''' | |'''Физические характеристики:'''<br> {{#if: {{{height|}}} | - '''Рост''': {{{height|}}}<br> | }}{{#if: {{{weight|}}} | - '''Вес''': {{{weight|}}}<br> | }}{{#if: {{{length|}}} | - '''Длина''': {{{length|}}}<br> | }}{{#if: {{{lifespan|}}} | - '''Продолжительность жизни''': {{{lifespan|}}}<br> | }} '''Происхождение:'''<br> {{#if: {{{system|}}} | - '''Система''': {{{system|}}}<br> | }}{{#if: {{{planet|}}} | - '''Планета''': {{{planet|}}}<br> | }} {{#if: {{{relatedlore|}}} |'''Связанный лор''': {{{relatedlore|}}}| }} | ||
|} | |} | ||
<noinclude></code> | <noinclude></code> | ||
This template is intended to be at the top of each of the | This template is intended to be at the top of each of the species pages to provide a basic overview of each species. | ||
== Meaning of parameters == | == 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. By default, it is teal.<br> | '''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark, ideally high-saturation color. By default, it is teal. The same color is used at 25% opacity for the image background.<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> | ||
'''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> | ||
'''species''' is the name of the species.<br> | '''species''' is the name of the species.<br> | ||
Строка 28: | Строка 26: | ||
|headerbgcolor | |headerbgcolor | ||
|headerfontcolor | |headerfontcolor | ||
|species = Скрелл | |||
|species = | |||
|height = 5'10" to 6'2" | |height = 5'10" to 6'2" | ||
|weight = 75lbs to 180lbs | |weight = 75lbs to 180lbs | ||
|system = Qerr'valis | |system = Qerr'valis | ||
|planet = Qerr'Balak | |planet = Qerr'Balak | ||
|relatedlore = [[Skrell Roleplay Guide]] ∙ [[Skrell Biology]] ∙ [[Skrell Castes]] ∙ [[Skrell Crime]] ∙ [[Skrell Culture]] ∙ [[Skrell Family and Education]] ∙ [[Skrell Language]] ∙ [[Skrell Military]] ∙ [[Skrell Politics and Economics]] ∙ Planets ([[ | |relatedlore = [[Skrell Roleplay Guide]] ∙ [[Skrell Biology]] ∙ [[Skrell Castes]] ∙ [[Skrell Crime]] ∙ [[Skrell Culture]] ∙ [[Skrell Family and Education]] ∙ [[Skrell Language]] ∙ [[Skrell Military]] ∙ [[Skrell Politics and Economics]] ∙ Planets ([[Qerr'Balak]]) | ||
}} | }} | ||
Строка 42: | Строка 39: | ||
|headerbgcolor | |headerbgcolor | ||
|headerfontcolor | |headerfontcolor | ||
|species = Скрелл | |||
|species = | |||
|img = skrell.png | |img = skrell.png | ||
|height = 5'10" to 6'2" | |height = 5'10" to 6'2" | ||
Строка 51: | Строка 47: | ||
|system = Qerr'valis | |system = Qerr'valis | ||
|planet = Qerr'Balak | |planet = Qerr'Balak | ||
|relatedlore = [[Skrell Roleplay Guide]] ∙ [[Skrell Biology]] ∙ [[Skrell Castes]] ∙ [[Skrell Crime]] ∙ [[Skrell Culture]] ∙ [[Skrell Family and Education]] ∙ [[Skrell Language]] ∙ [[Skrell Military]] ∙ [[Skrell Politics and Economics]] ∙ Planets ([[ | |relatedlore = [[Skrell Roleplay Guide]] ∙ [[Skrell Biology]] ∙ [[Skrell Castes]] ∙ [[Skrell Crime]] ∙ [[Skrell Culture]] ∙ [[Skrell Family and Education]] ∙ [[Skrell Language]] ∙ [[Skrell Military]] ∙ [[Skrell Politics and Economics]] ∙ Planets ([[Qerr'Balak]]) | ||
}} | }} | ||
<noinclude>[[Category:Templates]]</noinclude> | |||
[[Category:Templates]] |
Текущая версия от 13:48, 24 марта 2024
UNDEFINED | |
[[File:{{{img}}}|{{{species}}}]] Species |
Физические характеристики: Происхождение: |
This template is intended to be at the top of each of the species pages to provide a basic overview of each species.
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, ideally high-saturation color. By default, it is teal. The same color is used at 25% opacity for the image background.
headerfontcolor is the font color of the same part as headerbgcolor
img is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
species is the name of the species.
height, weight, length, lifespan, system, and planet are self-explanatory. All only display if a value is entered.
relatedlore is a list of any wiki pages related to the species, to be linked here. It only displays if a value is entered.
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:
Скрелл | |
[[File:{{{img}}}|Скрелл]] Скрелл |
Физические характеристики: - Рост: 5'10" to 6'2" - Вес: 75lbs to 180lbs Происхождение: - Система: Qerr'valis - Планета: Qerr'Balak Связанный лор: Skrell Roleplay Guide ∙ Skrell Biology ∙ Skrell Castes ∙ Skrell Crime ∙ Skrell Culture ∙ Skrell Family and Education ∙ Skrell Language ∙ Skrell Military ∙ Skrell Politics and Economics ∙ Planets (Qerr'Balak) |
Image defined:
Скрелл | |
Скрелл |
Физические характеристики: - Рост: 5'10" to 6'2" - Вес: 75lbs to 180lbs Происхождение: - Система: Qerr'valis - Планета: Qerr'Balak Связанный лор: Skrell Roleplay Guide ∙ Skrell Biology ∙ Skrell Castes ∙ Skrell Crime ∙ Skrell Culture ∙ Skrell Family and Education ∙ Skrell Language ∙ Skrell Military ∙ Skrell Politics and Economics ∙ Planets (Qerr'Balak) |