Difference between revisions of "Template:Lifeform"
Jump to navigation
Jump to search
m (→Parameters: make example row titles bold) |
m (tweaks) |
||
Line 2: | Line 2: | ||
|title={{{name|{{PAGENAME}}}}}|id=Lifeform| |
|title={{{name|{{PAGENAME}}}}}|id=Lifeform| |
||
− | {{#if:{{{image|}}} |{{row/image+artist | {{{image}}}<!-- |
+ | {{#if:{{{image|}}} |{{row/image+artist | {{{image}}}<!-- -->}}|}} |
<!-- about --> |
<!-- about --> |
||
− | {{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- |
+ | {{#if:{{{type|}}} |{{row/kv| Type | {{{type}}}<!-- -->}}|}} |
− | {{#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 | Yes [[category: sapient beings]] }}|}} |
<!-- 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 | [[Earth ({{{earth}}})]] }}|}} |
− | {{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]] |
+ | {{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }}|}} |
− | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- |
+ | {{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}}<!-- -->}}|}} |
− | <!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- |
+ | <!-- featured in -->{{row/kv| Featured In | ''{{{books}}}''<!-- -->}} |
}}<includeonly><!-- |
}}<includeonly><!-- |
||
-->[[category: lifeforms]]<!-- |
-->[[category: lifeforms]]<!-- |
||
+ | |||
+ | -->{{#if:{{{world-ref|}}}|[[category: infobox world-ref]]}} |
||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
Line 29: | Line 31: | ||
<pre class=mw-code> |
<pre class=mw-code> |
||
− | {{lifeform |
+ | {{lifeform|title= |
|image= |
|image= |
||
|type= |
|type= |
||
Line 36: | Line 38: | ||
|sapient= |
|sapient= |
||
|native= |
|native= |
||
+ | |earth= |
||
|world= |
|world= |
||
|universe= |
|universe= |
Revision as of 09:44, 30 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|title= |image= |type= |abilities= |use= |sapient= |native= |earth= |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