Difference between revisions of "Template:CollectionHeader"

From Emperor's Hammer Encyclopaedia Imperia
(Created page with "{| width="100%" class="sidebar tocnumber" style="margin: 0; font-size: .8em;" | width="30%" align="left" style="padding: 0 .5em;" | {{#if: {{{homePage|}}} | [[{{{homePage}}}]]...")
 
m (Added Template Category tag)
 
Line 37: Line 37:
 
}}
 
}}
 
</pre>
 
</pre>
 +
__NOTOC__
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 09:45, 25 July 2022

[[file:{{{titleImage}}}|400px|link={{{homePage}}}]]


Purpose[edit]

The CollectionHeader allows multiple pages to be headed by the same collective page header. This allows for multi page collections of specifically purposed documentation that have a visual continuity and links back to the main page.

This is intended for documentation with complex structures such as sub-group manuals.

Usage[edit]

To use: Paste the following text into the desired article and fill in the appropriate fields.

rgbBgColor requires only the red green and blue channel information e.g. 250,75,25.

bgAlpha is a value between 0 and 1 e.g. .5.

If the office parameter is blank, subTitle can be used to display a custom message.

{{CollectionHeader
|title=
|titleImage=
|office=
|subTitle=
|homePage=
|rgbBgColor=
|bgAlpha=
}}