Template:Bugs/doc
Jump to navigation
Jump to search
Description
This template provides the common Table-Header (and a closing footer) for Bugs. It is intended to be used in conjunction with Template:BugRow, which requires transclusion tags on each page to be transcluded.
For more information on transclusion tags, please see https://www.mediawiki.org/wiki/Transclusion
Header:
{| class="wikitable sortable" !Image !Name !Description !Sell Price !Location !Spawn Condition !Season !Weather !Time !Museum
Use
This template can be used by entering the following onto a relevant page.
{{Bugs|header or footer}}
Example
{{Bugs|header}} {{:Bumblebee|BugRow}} {{Bugs|footer}}
Image | Name | Description | Sell Price | Location | Spawn Condition | Season | Weather | Time | Museum
|
---|---|---|---|---|---|---|---|---|---|
Bumblebee | A common insect found during the daytime in all seasons but winter. | 10t | Overworld | Spring Summer Fall |
Sunny Wind Wind |
Day | No |
Syntax
<onlyinclude> {{#switch: {{lc:{{{1}}}}} |foot|footer= {{!}}- {{!}}} |head |header= {{{!}} class="wikitable sortable roundedborder" {{!}}- !class="unsortable"{{!}}Image !Name<!-- -->{{#if:{{#pos:{{{hide|}}}|description}}||!!Description}}<!-- -->{{#if:{{#pos:{{{hide|}}}|sellPrice}}||!!Sell Price}}<!-- -->{{#if:{{#pos:{{{hide|}}}|location}}||!!Location}}<!-- -->{{#if:{{#pos:{{{hide|}}}|spawnCondition}}||!!Spawn Condition}}<!-- -->{{#if:{{#pos:{{{hide|}}}|season}}||!!Season}}<!-- -->{{#if:{{#pos:{{{hide|}}}|weather}}||!!Weather}}<!-- -->{{#if:{{#pos:{{{hide|}}}|time}}||!!Time}}<!-- -->{{#if:{{#pos:{{{hide|}}}|museum}}||!!Museum}} }} </onlyinclude>