Difference between revisions of "Template:Header/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
(Added documentation with examples.)
(No difference)

Revision as of 19:25, 30 November 2020

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 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}}
|}
Skinning
(Eltibule)
(Rahu)
Skinning Bonus
(Bonus)
Butchering
(Eltibule)
(Ilmari)
Skull Extraction
(Kur Mountains)
(Gazluk)
Bonus Organs