Template:InfoboxLifeform: Difference between revisions
(Usage) Tag: sourceedit |
(Redirected page to Template:Infobox Lifeform) Tag: sourceedit |
||
Line 1: | Line 1: | ||
#REDIRECT [[Template:Infobox Lifeform]] |
|||
{| cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #ccc solid;" align="right" width="300px" |
|||
! colspan="2" | {{#if:{{{image}}} | [[File:{{{image}}}]] | [[File:Unknown.png]]}} |
|||
|- |
|||
| colspan="2" style="text-align: center; font-weight: bold; background-color: #0130B9" | {{PAGENAME}} |
|||
|- |
|||
{{#if:{{{category|}}}| |
|||
{{!}} '''Category:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{#switch: {{{category}}} |
|||
|Fauna = [[:Category:Fauna|Fauna]] [[Category:Fauna]] |
|||
|Flora = [[:Category:Flora|Flora]] [[Category:Flora]]}}}} |
|||
|- |
|||
{{#if:{{{attitude|}}}| |
|||
{{!}} '''Attitude:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{#switch: {{{attitude}}} |
|||
|Passive = [[:Category:Passive|Passive]] [[Category:Passive]] |
|||
|Defensive = [[:Category:Defensive|Defensive]] [[Category:Defensive]] |
|||
|Aggressive = [[:Category:Aggressive|Aggressive]] [[Category:Aggressive]]}}}} |
|||
|- |
|||
{{#if:{{{catchable|}}}| |
|||
{{!}} '''Catchable:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{#switch: {{{catchable}}} |
|||
| Y||y = [[File:Yes.png]] [[Category:Catchable]] |
|||
| N||n = [[File:No.png]] |
|||
| (Error: Input Y or N)}}}} |
|||
|- |
|||
{{#if:{{{biome|}}}| |
|||
{{!}} '''Biome(s):''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{biome}}}}} |
|||
|- |
|||
{{#if:{{{dna|}}}| |
|||
{{!}} '''DNA:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{dna}}}}} |
|||
|- |
|||
{{#if:{{{food|}}}| |
|||
{{!}} '''Food Raw/Cooked:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{food}}} [[Category:Food]]}} |
|||
|- |
|||
{{#if:{{{h20|}}}| |
|||
{{!}} '''H<sup>2</sup>0 Raw/Cooked:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{h20}}}}} |
|||
|- |
|||
{{#if:{{{resources|}}}| |
|||
{{!}} '''Resources:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{resources}}}}} |
|||
|- |
|||
{{#if:{{{comment|}}}| |
|||
{{!}} '''Comment:''' |
|||
{{!}} style="border-left-style: solid" {{!}} {{{comment}}}}} |
|||
|}[[Category:Life Forms]]<noinclude> |
|||
[{{Purge}}] |
|||
== Usage == |
|||
* Empty values will not be displayed. Thus, it is better to leave something blank than to write "none" or "unknown". |
|||
* Artificial newline breaks can be made using '''<nowiki><br></nowiki>''' |
|||
* For the "biome" section, choose one or more from the following list. This will make the biome clickable AND put the life form into its respective biome category: |
|||
<pre>[[:Category:Safe Shallows|Safe Shallows]] [[Category:Safe Shallows]] |
|||
[[:Category:Kelp Forest|Kelp Forest]] [[Category:Kelp Forest]] |
|||
[[:Category:Grassy Plateaus|Grassy Plateaus]] [[Category:Grassy Plateaus]] |
|||
[[:Category:Jelly Shroom|Jelly Shroom]] [[Category:Jelly Shroom]] |
|||
[[:Category:Mushroom Forest|Mushroom Forest]] [[Category:Mushroom Forest]] |
|||
[[:Category:Koosh Zone|Koosh Zone]] [[Category:Koosh Zone]] |
|||
[[:Category:Inactive Lava|Inactive Lava]] [[Category:Inactive Lava]] |
|||
[[:Category:Sparse Zone|Sparse Zone]] [[Category:Sparse Zone]] |
|||
[[:Category:Active Lava|Active Lava]] [[Category:Active Lava]]</pre> |
|||
'''Example:''' |
|||
<pre>{{InfoboxLifeform |
|||
|image = Holefish.png |
|||
|category = (Fauna, Flora) |
|||
|attitude = (Passive, Defensive, Aggressive) |
|||
|catchable = (y, n) |
|||
|biome = [[:Category:Safe Shallows|Safe Shallows]] [[Category:Safe Shallows]] |
|||
|dna = [[Speed]] |
|||
|food = +12 / +21 |
|||
|h20 = -15 / +3 |
|||
|resources = [[Membrane]] <br> [[Titanium]] |
|||
|comment = Likes long walks on the beach |
|||
}} |
|||
</noinclude> |
Revision as of 21:13, 12 March 2015
Redirect to: