Open main menu

Project: Gorgon Wiki β

Template:Header

Revision as of 15:01, 16 December 2020 by BetaNotus (talk | contribs) (Added right padding for situations where the contents of a header are shorter than the text in the header.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

! class="block2" style="background:#1e1615ff;color:#e5b964ff;padding-left:.5em;padding-right:.5em;border-radius:5px;" colspan="{{{2}}}" align="left" | '

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

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 {{Header|text|colspan}} 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

{|
{{Header|Common|4}}|-
|{{Item|Fear Oil}}
|{{Item|Hope Oil}}
|{{Item|Hatred Oil}}
|{{Item|Uncrossing Oil}}
|{{Item|Crossing Oil}}
|}
Common
{|
{{Header|[[Skinning]]}}
|-
|{{Item|Crude Animal Skin}} (Eltibule)
|-
|{{Item|Great Animal Skin}} ([[Rahu]])
|-
{{Header|[[Skinning#Skinning Mechanics|Skinning Bonus]]}}
|-
|{{Item|Wool}} (Bonus)
|-
{{Header|[[Butchering]]}}
|-
|{{Item|Sinewy Beast Meat}} (Eltibule)
|-
|{{Item|Beast Meat}} (Ilmari)
|-
{{Header|[[Butchering#Butchering Mechanics|Butchering Bonus]]|2}}
|-
|{{Item|Filthy Animal Fat}}
|{{Item|Heart}}
|-
|{{Item|Stomach}}
|{{Item|Spleen}}
|-
{{Header|[[Butchering|Skull Extraction]]}}
|-
|{{Item|Orc Skull}} (Kur Mountains)
|-
|{{Item|Impressive Orc Skull}} (Gazluk)
|}
Skinning
(Eltibule)
(Rahu)
Skinning Bonus
(Bonus)
Butchering
(Eltibule)
(Ilmari)
Butchering Bonus
Skull Extraction
(Kur Mountains)
(Gazluk)
The above text is transcluded from Template:Header/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Header/doc. (View all subpages of this page.)