Changes

Jump to: navigation, search

Template:Header/doc

2,130 bytes added, 20:25, 30 November 2020
Added documentation with examples.
== Description ==
:Use this template whenever a header is needed with a background inside a table.
: A common usage of this template is in tables for Loot, although it is also used in the Miscellaneous section of creature/mob pages.
== Syntax ==
:Type '''<nowiki>{{Header|text|colspan}}</nowiki>''' inside a table.
== Parameters ==
; text
: Required. Whatever text you want to have the header display!
; colspan
: Optional. How many columns the header and its background should stretch. The default is 1.
== Sample output ==
<pre>
{|
{{Header|Common|4}}|-
|{{Item|Fear Oil}}
|{{Item|Hope Oil}}
|{{Item|Hatred Oil}}
|{{Item|Uncrossing Oil}}
|{{Item|Crossing Oil}}
|}
</pre>
{|
{{Header|Common|4}}|-
|{{Item|Fear Oil}}
|{{Item|Hope Oil}}
|{{Item|Hatred Oil}}
|{{Item|Uncrossing Oil}}
|}
<pre>
{|
{{Header|[[Skinning]]}}|-
|{{Item|Crude Animal Skin}} (Eltibule)
|-
|{{Item|Great Animal Skin}}([[Rahu]])
|-
{{Header|[[Skinning|Skinning Bonus]]}}|-
|{{Item|Wool}} (Bonus)
|-
{{Header|[[Butchering]]}}|-
|{{Item|Sinewy Beast Meat}} (Eltibule)
|-
|{{Item|Beast Meat}} (Ilmari)
|-
{{Header|[[Butchering|Skull Extraction]]}}|-
|{{Item|Orc Skull}} (Kur Mountains)
|-
|{{Item|Impressive Orc Skull}} (Gazluk)
|-
{{Header|[[Butchering|Bonus Organs]]|2}}|-
|{{Item|Filthy Animal Fat}}
|{{Item|Heart}}
|-
|{{Item|Stomach}}
|{{Item|Spleen}}
|}
</pre>
{|
{{Header|[[Skinning]]}}|-
|{{Item|Crude Animal Skin}} (Eltibule)
|-
|{{Item|Great Animal Skin}}([[Rahu]])
|-
{{Header|[[Skinning|Skinning Bonus]]}}|-
|{{Item|Wool}} (Bonus)
|-
{{Header|[[Butchering]]}}|-
|{{Item|Sinewy Beast Meat}} (Eltibule)
|-
|{{Item|Beast Meat}} (Ilmari)
|-
{{Header|[[Butchering|Skull Extraction]]}}|-
|{{Item|Orc Skull}} (Kur Mountains)
|-
|{{Item|Impressive Orc Skull}} (Gazluk)
|-
{{Header|[[Butchering|Bonus Organs]]|2}}|-
|{{Item|Filthy Animal Fat}}
|{{Item|Heart}}
|-
|{{Item|Stomach}}
|{{Item|Spleen}}
|}


<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates|Item]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>

Navigation menu