Template:IRL header: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude><div class="irlheader noprint">
<onlyinclude><div class="irlheader noprint">
{{#ifeq:{{NAMESPACE}}|History|<div class="irlheaderformlink">[[Form:Timeline|Timeline Form]]</div>|{{#ifeq:{{NAMESPACE}}|Info|<div class="irlheaderformlink">[[Form:Bridge|Bridge Form]]</div> }} }}
<div class="irlheadertitle">[[Main Page|Indian River Lagoon Project]] {{Template:Meta_Tag_Link}} [[:Category: {{{cat|Directory|}}}|{{{cat|Directory|}}}]]</div>
<div class="irlheadertitle">[[Main Page|Indian River Lagoon Project]] {{Template:Meta_Tag_Link}} [[:Category: {{{cat|Directory|}}}|{{{cat|Directory|}}}]]</div>
{{#switch: {{NAMESPACE}}
| IRLNews = <div class="irlheaderformlink">[[Form:News Link|News Form]]</div>
| Event = <div class="irlheaderformlink">[[Form:Event|Event Form]]</div>
| Link = <div class="irlheaderformlink">[[Form:Web Link|Link Form]]</div>
| Info = <div class="irlheaderformlink">[[Form:Bridge|Bridge Form]]</div>
| History = <div class="irlheaderformlink">[[Form:Timeline|Timeline Form]]</div>
| #default =
}}
<div class="irlheadertext">{{#categorytree:{{{cat|Directory}}}|mode=pages|depth={{{depth|0}}}|namespaces=Category Main  {{NAMESPACE}} }}</div>
<div class="irlheadertext">{{#categorytree:{{{cat|Directory}}}|mode=pages|depth={{{depth|0}}}|namespaces=Category Main  {{NAMESPACE}} }}</div>
{{#ifeq:{{{toc|}}}|no|__NOTOC__|{{W3toc}}}}</div>
{{#ifeq:{{{toc|}}}|no|__NOTOC__|{{W3toc}}}}</div></onlyinclude>


{{#switch: {{NAMESPACE}}
| Main = main
| IRLNews = news
| Event = event
| Link = web link
| Info = info
| History = history
| #default = default
}}
</onlyinclude>
<!-- [[File:IRL logo 160.png |64px|right|IRL Project|link=Main]] -->
<!-- [[File:IRL logo 160.png |64px|right|IRL Project|link=Main]] -->
<!-- [[File:Government_logo.png|48px|frameless|left|link=:Category:Government]] -->
<!-- [[File:Government_logo.png|48px|frameless|left|link=:Category:Government]] -->
<!-- {{#ifeq:{{NAMESPACE}}|History|<div class="irlheaderformlink">[[Form:Timeline|Timeline Form]]</div>|{{#ifeq:{{NAMESPACE}}|Info|<div class="irlheaderformlink">[[Form:Bridge|Bridge Form]]</div> }} }} -->

Revision as of 12:27, November 23, 2020