Difference between revisions of "Template:Lifeform"

rm featured in
(Test)
 
(rm featured in)
 
(27 intermediate revisions by 5 users not shown)
{{infobox
|title={{{name|{{PAGENAME}}}}}|id=Lifeform|
|{{#if:{{{image|}}} |{{row/image |{{{image}}} }}|}}<!--
 
|{{#if:{{{image|}}} |{{row/image +artist | {{{image}}}<!-- -->}}|}}<!--
about
-->{{#if:{{{abilities|}}} |{{row/kv|Abilities |{{{abilities}}} }}|}}<!--
-->{{#if:{{{use|}}} |{{row/kv|Used for |{{{use}}} }}|}}<!--
-->{{#if:{{{type|}}} |{{row/kv|Type |{{{type}}} }}|}}<!--
-->{{#if:{{{sapient|}}} |{{row/kv|Sapient |Yes[[Category:Sapient beings]]}}|}}<!--
 
<!-- about -->
location
-->{{#if:{{{nativetype|}}} |{{row/kv|Native toType | {{{nativetype}}}<!-- -->}}|}}<!--
-->{{#if:{{{worldabilities|}}} |{{row/kv|World Abilities |[[ {{{worldabilities}}}]]<!-- -->}}|}}<!--
-->{{#if:{{{universeuse|}}} |{{row/kv|Universe Used for | {{{universeuse}}}<!-- -->}}|}}<!--
-->{{#if:{{{sapient|}}} |{{row/kv| Sapient |Yes[[Category:Sapient {{{sapient}}} {{cat ns|sapient beings]]|only=0}} }}|}}<!--
 
<!-- location -->
featured in -->{{row/kv|Featured In |''{{{books}}}'' }}
-->{{#if:{{{usenative|}}} |{{row/kv|Used forNative to | {{{usenative}}}<!-- -->}}|}}<!--
-->{{#if:{{{typeearth|}}} |{{row/kv|Type World of Origin | [[Earth |({{{typeearth}}})]] }}|}}<!--
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}}{{cat ns|{{demonym|{{{world}}}|}} lifeforms|only=0}} }}|}}
-->{{#if:{{{abilitiesuniverse|}}} |{{row/kv|Abilities Universe | {{{abilitiesuniverse}}}<!-- -->}}|}}<!--
 
}}<includeonly><!--
 
-->{{cat ns|lifeforms|only=0}}<!--
-->[[Category: Lifeforms]]<!--
 
-->{{#if:{{{world-ref|}}}|[[category: infobox world-ref]]}}<!--
 
--></includeonly><noinclude>
 
This template is to be used on articles discussing any distinct group of beings; including plants, animals, magical creatures, magical creations, etc.
[[Category: Infoboxes]]
 
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|title=
|image=
|type=
|abilities=
|use=
|sapient=
|native=
|earth=
|world=
|universe=
}}
</pre>
 
This infobox will add the article to [[:Category: Lifeforms]].
 
== Parameters ==
; 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:
* 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 the lifeform is always or can be sapient use <code>|sapient=Yes</code> or <code>|sapient=Some</code> respectively, which will add the article to [[:category: sapient beings]]
 
; Special parameters:
* To override the title shown in the infobox, the <code>|title=</code> parameter should be passed
 
[[category: infoboxes]]
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}