Template:SpeciesHeader: Difference between revisions
More actions
Created |
Converts backgrounds to transparent |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 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}}}''' | ||
|'''Physical Characteristics:'''<br> {{#if: {{{height|}}} | - '''Height''': {{{height|}}}<br> | }}{{#if: {{{weight|}}} | - '''Weight''': {{{weight|}}}<br> | }}{{#if: {{{length|}}} | - '''Length''': {{{length|}}}<br> | }}{{#if: {{{lifespan|}}} | - '''Lifespan''': {{{ | |'''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|}}}| }} | ||
|} | |} | ||
<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> | ||
'''height, weight, length, lifespan, system, and planet''' are self-explanatory. All only display if a value is entered. | '''height, weight, length, lifespan, system, and planet''' are self-explanatory. All only display if a value is entered.<br> | ||
'''relatedlore''' is a list of any wiki pages related to the species, to be linked here. It only displays 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 == | == Usage == | ||
Line 29: | Line 26: | ||
|headerbgcolor | |headerbgcolor | ||
|headerfontcolor | |headerfontcolor | ||
|species = Skrell | |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 = | |planet = Qerr'Balak | ||
|relatedlore = [[Skrell Biology]] ∙ [[Skrell Castes]] ∙ [[Skrell Crime]] ∙ [[Skrell Culture]] ∙ [[Skrell Family and Education]] ∙ [[Skrell Language]] ∙ [[Skrell Military]] ∙ [[Skrell Politics and Economics]] | |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]]) | ||
}} | }} | ||
Line 45: | Line 39: | ||
|headerbgcolor | |headerbgcolor | ||
|headerfontcolor | |headerfontcolor | ||
|species = Skrell | |species = Skrell | ||
|img = skrell.png | |img = skrell.png | ||
|height = 5'10" to 6'2" | |height = 5'10" to 6'2" | ||
|weight = 75lbs to 180lbs | |weight = 75lbs to 180lbs | ||
|length | |||
|lifespan | |||
|system = Qerr'valis | |system = Qerr'valis | ||
|planet = | |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]] |
Latest revision as of 17:10, 2 May 2023
UNDEFINED | |
[[File:{{{img}}}|{{{species}}}]] Species |
Physical Characteristics: Origin: |
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:
Skrell | |
[[File:{{{img}}}|Skrell]] Skrell |
Physical Characteristics: - Height: 5'10" to 6'2" - Weight: 75lbs to 180lbs Origin: - System: Qerr'valis - Planet: Qerr'Balak Related Lore: 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:
Skrell | |
![]() Skrell |
Physical Characteristics: - Height: 5'10" to 6'2" - Weight: 75lbs to 180lbs Origin: - System: Qerr'valis - Planet: Qerr'Balak Related Lore: 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) |