Template:IRL header library: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
| #default = {{#switch: {{{cat}}} | | #default = {{#switch: {{{cat}}} | ||
| Dictionary = <div class="irlheaderright"><div class="irlheaderimageright">[[File:IRLN_Dictionary_logo.png|64px|alt=Indian River Lagoon Dictionary|IRL Dictionary|link=:Category:Dictionary]]</div></div> | | Dictionary = <div class="irlheaderright"><div class="irlheaderimageright">[[File:IRLN_Dictionary_logo.png|64px|alt=Indian River Lagoon Dictionary|IRL Dictionary|link=:Category:Dictionary]]</div></div> | ||
| #default = <div class="irlheaderright"><div class="irlheaderimageright"> [[File:IRLN_Library_logo.png|64px|alt=Indian River Lagoon | | #default = <div class="irlheaderright"><div class="irlheaderimageright"> [[File:IRLN_Library_logo.png|64px|alt=Indian River Lagoon Library|IRL Library|link=:Category:Library]]</div></div> | ||
}} | }} | ||
}} | }} |
Latest revision as of 08:26, February 1, 2022
This is the Library header template.
Call it like this:
{{IRL header_library| cat=Library | toc=yes | depth=0 }}
It has several named variables to customize its display.
- cat=Categoryname > Sets the category for the menu and the icon image link. There are preset images and Form Link buttons for Dictionary, Abbreviation, and Glossary categories. Omit/empty will default to the Library category.
- toc=no > Table of Contents switch. Omit for yes.
- depth=1 > Expand Depth of the category tree menu. Omit for 0 (collapsed).
- abb=yes > Used in the Abbreviation Template to set Abbreviation header options.