Difference between revisions of "Template:Dynamic navigation"
From Organic Design wiki
(New page: == Show/Hide Boxes == Hi Peder, I've a...) |
(Imported from work.organicdesign.co.nz by sync-wikiorg.pl) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | = | + | <div style="clear:both;text-align:center;{{#if:{{{WIDTH|}}}|width:{{{WIDTH}}}| }};margin:auto;" align="center" class="NavFrame {{{EXT|}}}"> |
− | + | <div class="NavHead" style="clear:both;text-align:center;background:{{{BGCOLOR}}};">{{{TITLE}}}</div> | |
− | + | <div class="NavContent" style="clear:both;text-align:left;"> | |
− | + | {{{CONTENT}}} | |
− | + | </div> | |
− | + | <div class="NavContent" style="clear:both;font-size: 90%;text-align:left;"> | |
− | + | {{{SMALLCONTENT|}}} | |
− | {{ | + | </div> |
− | + | </div> | |
− | + | <noinclude><pre>Parameter: | |
− | + | BGCOLOR = colour of the heading of the navigation box | |
− | | | + | TITLE = heading of the navigation box |
− | + | CONTENT = contents of the navigation box. Use <nowiki>&#124;</nowiki> to separate links. | |
− | + | It is not possible to include a pipe ("|") in the contents | |
− | + | as this symbol is used to separate parameters. | |
− | + | SMALLCONTENT = OPTIONAL. as per CONTENT but produces 90% fontsize | |
− | { | + | WIDTH = Optional parameter to limit width |
− | + | EXT = Optional extentions [space seperated list. case-sensitive] so far only NavOnce | |
− | + | EXT=NavOnce = only allow one navbox with this extention visible at a time (closes other one's)</pre> | |
− | + | [[Category:RecordAdmin]]</noinclude> | |
− | | | ||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | == | ||
− | |||
− | |||
− | {{ | ||
− | {{ | ||
− | |||
− | </ | ||
− | |||
− | |||
− | < | ||
− | <div class="{{ | ||
− | </pre> | ||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ |
Latest revision as of 04:26, 23 July 2010
{{{TITLE}}}
{{{CONTENT}}}
Parameter: BGCOLOR = colour of the heading of the navigation box TITLE = heading of the navigation box CONTENT = contents of the navigation box. Use | to separate links. It is not possible to include a pipe ("|") in the contents as this symbol is used to separate parameters. SMALLCONTENT = OPTIONAL. as per CONTENT but produces 90% fontsize WIDTH = Optional parameter to limit width EXT = Optional extentions [space seperated list. case-sensitive] so far only NavOnce EXT=NavOnce = only allow one navbox with this extention visible at a time (closes other one's)