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
Line 12: Line 12:


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


| heading3 = <hr>Civilization
| heading3 = <hr>Civilization
Line 45: Line 45:
| 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"
},
"homeworld": {
"label": "Homeworld",
"description": "The homeworld for the species.",
"example": "Adhomai",
"type": "string"
},
"civilization": {
"label": "Civilization",
"description": "The name of their society/civilization",
"example": "Wahtopia",
"type": "string"
},
"virgorelations": {
"label": "Virgo Relations",
"description": "The state of their relations with virgo",
"example": "Openly Hostile",
"type": "string"
},
"presence": {
"label": "Presence",
"description": "How prevalent/common the species is",
"example": "Very common in Virgo",
"type": "string"
}
},
"description": "This is a sidebar for species pages.",
"paramOrder": [
"speciesname",
"img_file",
"tagline",
"homeworld",
"presence",
"civilization",
"virgorelations"
]
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 18:01, 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

  • 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:

This is a sidebar for species pages.

Template 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
Stringoptional
Homeworldhomeworld

The homeworld for the species.

Example
Adhomai
Stringoptional
Presencepresence

How prevalent/common the species is

Example
Very common in Virgo
Stringoptional
Civilizationcivilization

The name of their society/civilization

Example
Wahtopia
Stringoptional
Virgo Relationsvirgorelations

The state of their relations with virgo

Example
Openly Hostile
Stringoptional