Difference between revisions of "Template:Mob"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (compliant Template)
(Update. Mimics Androsa's changes)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; margin-left: 100px;"
<includeonly>{|class="wikitable" style="float: right; margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|{{{image|}}}
|colspan="2" style="background-color: #222; padding: 35px;"|[[File:{{{image|Unknown.png}}}|center|256px]]


|-
|-
Line 23: Line 23:
|-
|-
!ID
!ID
|{{{id|}}}
|twilightforest:{{{id|}}}
|}<noinclude>
|}</includeonly><noinclude>
 
This template is used to make a nice table for anything relating to Mobs and their related pages.<br>
Here is a general breakdown of how to use this template:
Usage:
Usage:
<pre>
<pre>
{{Mob
{{Mob
|name= (optional, defaults to the article's title)
|name=       <!-- The Name of this mob (Optional) -->
|image= (filelink)
|image=       <!-- The Image file of this mob      -->
|type= (passive or hostile)
|type=       <!-- The Type of mob is this          -->
|hp= (health)
|hp=         <!-- The Health this mob has          -->
|attack= (attack damage)
|attack=     <!-- The Attack Damage this mob has  -->
|drops= (drops)
|drops=       <!-- The Drops this mob provides      -->
|id= (in-game id)
|id=         <!-- The ID of the mob                -->
}}
}}
</pre>
</pre>
{{Mob
|image=Penguin.png
|type=Passive
|hp=10 ({{h}}{{h}}{{h}}{{h}}{{h}})
|attack=None
|drops=Feather (0-2)
|id=penguin
}}
==Style Guide==
* '''Do''' use isometric renders of mobs. Images should be no more than 480px with a transparent background.
* '''Do''' use the correct image name for the <code>image</code> parameter. An incorrect name will lead to display errors.
* '''Do''' use correct grammar for parameter input. All words not pertaining to <code>id</code> should be capitalized.
* '''Do not''' insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block.
* '''Do not''' assume values for parameters. Values should be used from in-game data or code.
* '''Do not''' use screenshots or excessively large images for the <code>image</code> parameter.
* '''Do not''' use HTML markdown to alter the template. Changes must be approved for the template.
* '''Do not''' insert more information than what the infobox is capable of holding. Additional information must be input in text description.
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 14:34, 12 June 2024

This template is used to make a nice table for anything relating to Mobs and their related pages.
Here is a general breakdown of how to use this template: Usage:

{{Mob
|name=        <!-- The Name of this mob (Optional)  -->
|image=       <!-- The Image file of this mob       -->
|type=        <!-- The Type of mob is this          -->
|hp=          <!-- The Health this mob has          -->
|attack=      <!-- The Attack Damage this mob has   -->
|drops=       <!-- The Drops this mob provides      -->
|id=          <!-- The ID of the mob                -->
}}
Mob
Penguin.png
Type Passive
Health Points 10 (HeartFull.pngHeartFull.pngHeartFull.pngHeartFull.pngHeartFull.png)
Attack Strength None
Drops Feather (0-2)
ID twilightforest:penguin

Style Guide[edit]

  • Do use isometric renders of mobs. Images should be no more than 480px with a transparent background.
  • Do use the correct image name for the image parameter. An incorrect name will lead to display errors.
  • Do use correct grammar for parameter input. All words not pertaining to id should be capitalized.
  • Do not insert incorrect data. Before submitting a change, consult with appropriate parties to verify values. Intentional disruption of data will result in a block.
  • Do not assume values for parameters. Values should be used from in-game data or code.
  • Do not use screenshots or excessively large images for the image parameter.
  • Do not use HTML markdown to alter the template. Changes must be approved for the template.
  • Do not insert more information than what the infobox is capable of holding. Additional information must be input in text description.