Шаблон:SpeciesHeader: различия между версиями

Материал из SS220
Перейти к навигации Перейти к поиску
imported>Rootoo
Нет описания правки
(перевод шаблона без перевода инструкций)
 
(не показано 5 промежуточных версий 1 участника)
Строка 1: Строка 1:
<noinclude><code>
{|style="width:100%; cellspacing:0; cellpadding:2;"
</noinclude>{|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>'''
|bgcolor="{{{headerbgcolor|#00a867}}}" align="center" colspan=2|<font color="{{{headerfontcolor|white}}}">'''<span style="text-transform:uppercase;">{{{species|UNDEFINED}}}</span>'''</font>
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#d6fced}}}"| [[File:{{{img}}}|64x64px|{{{species}}}]] <br> '''{{{species|Species}}}'''
|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}}}'''
|'''Physical Characteristics:'''<br> {{#if: {{{height|}}} | - '''Height''': {{{height|}}}<br> | }}{{#if: {{{weight|}}} | - '''Weight''': {{{weight|}}}<br> | }}{{#if: {{{length|}}} | - '''Length''': {{{length|}}}<br> | }}{{#if: {{{lifespan|}}} | - '''Lifespan''': {{{lifespan|}}}<br> | }} '''Origin:'''<br> {{#if: {{{system|}}} | - '''System''': {{{system|}}}<br> | }}{{#if: {{{planet|}}} | - '''Planet''': {{{planet|}}}<br> | }} {{#if: {{{relatedlore|}}} |'''Related Lore''': {{{relatedlore|}}}| }}
|'''Физические характеристики:'''<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 jobs pages to provide a basic overview of each job.
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>
'''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 dark. By default, it is light teal.<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
|imagebgcolor
|species = Скрелл
|species = Skrell
|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 ([[Qerr'balak|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 ([[Qerr'Balak]])
}}
}}


Строка 42: Строка 39:
|headerbgcolor
|headerbgcolor
|headerfontcolor
|headerfontcolor
|imagebgcolor
|species = Скрелл
|species = Skrell
|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 ([[Qerr'balak|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 ([[Qerr'Balak]])
}}
}}


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

Текущая версия от 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 GuideSkrell BiologySkrell CastesSkrell CrimeSkrell CultureSkrell Family and EducationSkrell LanguageSkrell MilitarySkrell Politics and Economics ∙ Planets (Qerr'Balak)


Image defined:

Скрелл
Скрелл
Скрелл
Физические характеристики:
- Рост: 5'10" to 6'2"
- Вес: 75lbs to 180lbs
Происхождение:
- Система: Qerr'valis
- Планета: Qerr'Balak
Связанный лор: Skrell Roleplay GuideSkrell BiologySkrell CastesSkrell CrimeSkrell CultureSkrell Family and EducationSkrell LanguageSkrell MilitarySkrell Politics and Economics ∙ Planets (Qerr'Balak)