Template:SidebarSpecies: Difference between revisions

From VORE Station Wiki
Jump to navigation Jump to search
(Created page with "<noinclude><code></noinclude> {{Sidebar | name = {{subst:PAGENAME}} | pretitle = One of many Species | title = {{{speciesname|Unspeci...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
| pretitle = One of many [[Backstory#Alien_species_you_will_meet|Species]]
| pretitle = One of many [[Backstory#Alien_species_you_will_meet|Species]]
| title = {{{speciesname|Unspecified}}}
| title = {{{speciesname|Unspecified}}}
| image = {{#if:{{{img_file|}}}| [[File:{{{img_file}}}]] | }}
| image = {{#if:{{{img_file|}}}| <div class='smallpic'>[[File:{{{img_file}}}]]</div> | }}


| above = {{{tagline|}}}
| above = {{{tagline|}}}
Line 12: Line 12:


| heading2 = <hr>Presence
| heading2 = <hr>Presence
| content2 = {{{Presence|Unknown}}}
| content2 = {{{presence|Unknown}}}


| heading3 = <hr>Civilization
| heading3 = <hr>Civilization
Line 25: Line 25:
View the source of this page to see how to use this sidebar.
View the source of this page to see how to use this sidebar.
Here's wikipedia's explanation: https://en.wikipedia.org/wiki/Template:Sidebar
Here's wikipedia's explanation: https://en.wikipedia.org/wiki/Template:Sidebar
* '''speciesname''' should be the name of the species
* '''tagline''' is a short blurb under the picture
* '''img_file''' is the species portrait
* '''homeworld''' is the species homeworld name
* '''presence''' is how common they are
* '''civilization''' is their name for their society/civilization
* '''virgorelations''' is their current standing with NT/Virgo


'''An example:'''
'''An example:'''
Line 45: Line 36:
| virgorelations = Peaceful
| virgorelations = Peaceful
}}
}}
<templatedata>
{
"params": {
"speciesname": {
"label": "Species Name",
"description": "The name of the species",
"example": "Skrell",
"type": "string",
"required": true
},
"img_file": {
"label": "Image File",
"description": "Filename of the image (no wiki-markup, aka no File:)",
"example": "wahpaw.png",
"type": "wiki-file-name",
"suggested": true
},
"tagline": {
"label": "Tagline",
"description": "A small tagline (like 5 words) under the image",
"example": "Space-faring Felines",
"type": "string",
"suggested": true
},
"homeworld": {
"label": "Homeworld",
"description": "The homeworld for the species.",
"example": "Adhomai",
"type": "string",
"suggested": true
},
"civilization": {
"label": "Civilization",
"description": "The name of their society/civilization",
"example": "Wahtopia",
"type": "string",
"suggested": true
},
"virgorelations": {
"label": "Virgo Relations",
"description": "The state of their relations with virgo",
"example": "Openly Hostile",
"type": "string",
"suggested": true
},
"presence": {
"label": "Presence",
"description": "How prevalent/common the species is",
"example": "Very common in Virgo",
"type": "string",
"suggested": true
}
},
"description": "This is a sidebar for species pages.",
"paramOrder": [
"speciesname",
"img_file",
"tagline",
"homeworld",
"presence",
"civilization",
"virgorelations"
],
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 20:11, 3 January 2018

View the source of this page to see how to use this sidebar. Here's wikipedia's explanation: https://en.wikipedia.org/wiki/Template:Sidebar

An example:

This is a sidebar for species pages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Species Namespeciesname

The name of the species

Example
Skrell
Stringrequired
Image Fileimg_file

Filename of the image (no wiki-markup, aka no File:)

Example
wahpaw.png
Filesuggested
Taglinetagline

A small tagline (like 5 words) under the image

Example
Space-faring Felines
Stringsuggested
Homeworldhomeworld

The homeworld for the species.

Example
Adhomai
Stringsuggested
Presencepresence

How prevalent/common the species is

Example
Very common in Virgo
Stringsuggested
Civilizationcivilization

The name of their society/civilization

Example
Wahtopia
Stringsuggested
Virgo Relationsvirgorelations

The state of their relations with virgo

Example
Openly Hostile
Stringsuggested