Template:Header: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
m Adding some padding.
m Added right padding for situations where the contents of a header are shorter than the text in the header.
Line 1: Line 1:
! class="block2" style="background:#1e1615ff;color:#e5b964ff;padding-left:.5em;border-radius:5px;" colspan="{{{2}}}" align="left" {{pipe}} '''{{{1|}}}'''
! class="block2" style="background:#1e1615ff;color:#e5b964ff;padding-left:.5em;padding-right:.5em;border-radius:5px;" colspan="{{{2}}}" align="left" {{pipe}} '''{{{1|}}}'''
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 20:01, 16 December 2020

! 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
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
{|
{{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
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Eltibule)
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Rahu)
Skinning Bonus
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Bonus)
Butchering
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Eltibule)
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Ilmari)
Butchering Bonus
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
Skull Extraction
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(Kur Mountains)
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
(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.)