Difference between revisions of "Template:Lifeform"
Jump to navigation
Jump to search
m (+redundant cat) |
m (improve the docs) |
||
Line 21: | Line 21: | ||
-->[[category: lifeforms]]<!-- |
-->[[category: lifeforms]]<!-- |
||
− | |||
− | -->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
Line 28: | Line 26: | ||
This template is to be used on articles discussing any distinct group of beings; including plants, animals, magical creatures, magical creations, etc. |
This template is to be used on articles discussing any distinct group of beings; including plants, animals, magical creatures, magical creations, etc. |
||
− | To use this infobox, add {{t|lifeform}} to the top of the page and fill in some of the fields. |
+ | To use this infobox, add {{t|lifeform}} to the top of the page and fill in some of the fields, removing those that are unneeded. |
+ | |||
+ | <pre class=mw-code> |
||
+ | {{lifeform |
||
+ | |image= |
||
+ | |type= |
||
+ | |abilities= |
||
+ | |use= |
||
+ | |sapient= |
||
+ | |native= |
||
+ | |world= |
||
+ | |universe= |
||
+ | |books= |
||
+ | }} |
||
+ | </pre> |
||
+ | |||
⚫ | |||
+ | |||
+ | == Parameters == |
||
+ | * The <code>books</code> parameter is required and should provide links to the books or series which the subject is ''Featured In'' |
||
+ | |||
+ | ; Setting: To indicate the setting within which the subject matter is discussed, the following parameters are accepted. At least one of these should be provided, and they should be provided in most-to-least specific order, as they are in the above list. |
||
+ | * The <code>world</code> parameter should provide the name of the planet the lifeform is native to. This will generate a link to the planet passed. |
||
+ | * If the setting is an alternative earth, the <code>earth</code> parameter should be used instead, and should provide the series name (such as <code>|earth = Alcatraz</code> which will create a link to [[Earth (Alcatraz)]] or <code>|earth = Reckoners</code> to link to [[Earth (Reckoners)]]). |
||
+ | * If neither <code>world</code> or <code>earth</code> are sufficient, then a <code>universe</code> can be provided. |
||
+ | * To indicate the specific area or region a lifeform is from, provide the <code>native</code> parameter to produce a ''Native To'' row |
||
+ | |||
+ | ; Image: The infobox has the ability to show an image of the lifeform by providing the filename, eg <code>|image = lifeform.jpg</code>. This parameter should be on the first line after the opening <code>{{lifeform</code> as the image is placed at the top of the page. The filename will be passed to {{t|row/image+artist}} and will show the image and provide attribution to the artist. |
||
+ | ; Optional parameters: |
||
− | It has two required parameters; {{{world}}} and {{{books}}}. Optional parameters include {{{type}}}, {{{abilities}}}, {{{use}}}, {{{native}}}, {{{sapient}}} and {{{image}}}. |
||
+ | * To specify what type of lifeform the article describes, such as ???, use the <code>type</code> parameter |
||
+ | * To indicate the lifeforms special skill and properties use the <code>abilities</code> parameter |
||
+ | * If the lifeform has specific uses in the setting they can be listed using the <code>uses</code> parameter |
||
+ | * If <code>|sapient = y</code> is added the ''Sapient'' row will show Yes and the article will be added to [[:category: sapient beings]] |
||
+ | ; Special parameters: |
||
⚫ | |||
+ | * To override the title shown in the infobox, the <code>|title = </code> parameter should be passed |
||
[[category: infoboxes]] |
[[category: infoboxes]] |
Revision as of 20:16, 29 October 2018
Lifeform | |
---|---|
Featured In | {{{books}}} |
This template is to be used on articles discussing any distinct group of beings; including plants, animals, magical creatures, magical creations, etc.
To use this infobox, add {{lifeform}}
to the top of the page and fill in some of the fields, removing those that are unneeded.
{{lifeform |image= |type= |abilities= |use= |sapient= |native= |world= |universe= |books= }}
This infobox will add the article to Category: Lifeforms.
Parameters
- The
books
parameter is required and should provide links to the books or series which the subject is Featured In
- Setting
- To indicate the setting within which the subject matter is discussed, the following parameters are accepted. At least one of these should be provided, and they should be provided in most-to-least specific order, as they are in the above list.
- The
world
parameter should provide the name of the planet the lifeform is native to. This will generate a link to the planet passed. - If the setting is an alternative earth, the
earth
parameter should be used instead, and should provide the series name (such as|earth = Alcatraz
which will create a link to Earth (Alcatraz) or|earth = Reckoners
to link to Earth (Reckoners)). - If neither
world
orearth
are sufficient, then auniverse
can be provided. - To indicate the specific area or region a lifeform is from, provide the
native
parameter to produce a Native To row
- Image
- The infobox has the ability to show an image of the lifeform by providing the filename, eg
|image = lifeform.jpg
. This parameter should be on the first line after the opening{{lifeform
as the image is placed at the top of the page. The filename will be passed to{{row/image+artist}}
and will show the image and provide attribution to the artist.
- Optional parameters
- To specify what type of lifeform the article describes, such as ???, use the
type
parameter - To indicate the lifeforms special skill and properties use the
abilities
parameter - If the lifeform has specific uses in the setting they can be listed using the
uses
parameter - If
|sapient = y
is added the Sapient row will show Yes and the article will be added to category: sapient beings
- Special parameters
- To override the title shown in the infobox, the
|title =
parameter should be passed