Шаблон:SpeciesHeader: различия между версиями
imported>Rootoo (Converts backgrounds to transparent) |
Kar4es (обсуждение | вклад) (перевод шаблона без перевода инструкций) |
||
Строка 3: | Строка 3: | ||
|- | |- | ||
|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}}}''' | |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> | ||
Строка 26: | Строка 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 | ||
Строка 39: | Строка 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" |
Текущая версия от 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) |