Difference between revisions of "Template:Lifeform"

From The Coppermind
Jump to navigation Jump to search
m
(rm featured in)
 
(14 intermediate revisions by 4 users not shown)
Line 8: Line 8:
 
{{#if:{{{abilities|}}} |{{row/kv| Abilities | {{{abilities}}}<!-- -->}}|}}
 
{{#if:{{{abilities|}}} |{{row/kv| Abilities | {{{abilities}}}<!-- -->}}|}}
 
{{#if:{{{use|}}} |{{row/kv| Used for | {{{use}}}<!-- -->}}|}}
 
{{#if:{{{use|}}} |{{row/kv| Used for | {{{use}}}<!-- -->}}|}}
{{#if:{{{sapient|}}} |{{row/kv| Sapient | Yes [[category: sapient beings]] }}|}}
+
{{#if:{{{sapient|}}} |{{row/kv| Sapient | {{{sapient}}} {{cat ns|sapient beings|only=0}} }}|}}
   
 
<!-- location -->
 
<!-- location -->
{{#if:{{{native|}}} |{{row/kv| Native to | {{{native}}}<!-- -->}}|}}
+
{{#if:{{{native|}}} |{{row/kv| Native to | {{{native}}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv| World | [[Earth ({{{earth}}})]] }}|}}
+
{{#if:{{{earth|}}} |{{row/kv| World of Origin | [[Earth ({{{earth}}})]] }}|}}
{{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }}|}}
+
{{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}}{{cat ns|{{demonym|{{{world}}}|}} lifeforms|only=0}} }}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
+
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv| Featured In | ''{{{books}}}''<!-- -->}}
 
   
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->[[category: lifeforms]]<!--
+
-->{{cat ns|lifeforms|only=0}}<!--
   
 
-->{{#if:{{{world-ref|}}}|[[category: infobox world-ref]]}}<!--
 
-->{{#if:{{{world-ref|}}}|[[category: infobox world-ref]]}}<!--
Line 41: Line 39:
 
|world=
 
|world=
 
|universe=
 
|universe=
|books=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 48: Line 45:
   
 
== Parameters ==
 
== 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.
 
; 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.
 
* 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.
Line 62: Line 57:
 
* To indicate the lifeforms special skill and properties use the <code>abilities</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 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]]
+
* 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:
 
; Special parameters:
Line 68: Line 63:
   
 
[[category: infoboxes]]
 
[[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}}

Latest revision as of 18:35, 15 March 2024

Lifeform

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|title=
|image=
|type= 
|abilities= 
|use=
|sapient=
|native=
|earth=
|world=
|universe=
}}

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 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 or earth are sufficient, then a universe 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 the lifeform is always or can be sapient use |sapient=Yes or |sapient=Some respectively, which will add the article to category: sapient beings
Special parameters
  • To override the title shown in the infobox, the |title= parameter should be passed

Articles using Template