Template:EasyNavBar: Difference between revisions
Appearance
wikademia>McCormack No edit summary |
wikademia>McCormack No edit summary |
||
| Line 3: | Line 3: | ||
<div style="{{Robelbox/pad}}"> | <div style="{{Robelbox/pad}}"> | ||
<div align=center> | <div align=center> | ||
{|style="background:transparent; width:100%;" | |||
{|style="background:transparent;" | |||
|width=10% align=left style="font-size:140%;"| | |width=10% align=left style="font-size:140%;"| | ||
{{#ifeq:{{FULLPAGENAME}}|Template:EasyNavBar|<span style="color:#999999;">'''''Back'''''</span>}}{{#ifeq:{{FULLPAGENAME}}|{{{1}}}|<span style="color:#999999;">'''''Back'''''</span>}}{{#ifeq:{{FULLPAGENAME}}|{{{3}}}|[[{{{1}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{5}}}|[[{{{3}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{7}}}|[[{{{5}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{9}}}|[[{{{7}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{11}}}|[[{{{9}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{13}}}|[[{{{11}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{15}}}|[[{{{13}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{17}}}|[[{{{15}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{19}}}|[[{{{17}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{21}}}|[[{{{19}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{23}}}|[[{{{21}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{25}}}|[[{{{23}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{27}}}|[[{{{25}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{29}}}|[[{{{27}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{31}}}|[[{{{29}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{33}}}|[[{{{31}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{35}}}|[[{{{33}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{37}}}|[[{{{35}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{39}}}|[[{{{37}}}|'''''Back''''']]}} | {{#ifeq:{{FULLPAGENAME}}|Template:EasyNavBar|<span style="color:#999999;">'''''Back'''''</span>}}{{#ifeq:{{FULLPAGENAME}}|{{{1}}}|<span style="color:#999999;">'''''Back'''''</span>}}{{#ifeq:{{FULLPAGENAME}}|{{{3}}}|[[{{{1}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{5}}}|[[{{{3}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{7}}}|[[{{{5}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{9}}}|[[{{{7}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{11}}}|[[{{{9}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{13}}}|[[{{{11}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{15}}}|[[{{{13}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{17}}}|[[{{{15}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{19}}}|[[{{{17}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{21}}}|[[{{{19}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{23}}}|[[{{{21}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{25}}}|[[{{{23}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{27}}}|[[{{{25}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{29}}}|[[{{{27}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{31}}}|[[{{{29}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{33}}}|[[{{{31}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{35}}}|[[{{{33}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{37}}}|[[{{{35}}}|'''''Back''''']]}}{{#ifeq:{{FULLPAGENAME}}|{{{39}}}|[[{{{37}}}|'''''Back''''']]}} | ||
| Line 15: | Line 14: | ||
{{Robelbox/close}} | {{Robelbox/close}} | ||
</div> | </div> | ||
<noinclude>[[Category: | <noinclude> | ||
== What this does == | |||
It creates an attractive navigation bar for use across the top of a page. Create a project-specific navigation template which implements this meta-template as described below. The insert your project-specific template at the top of all your project pages. It will allow users to '''''cycle''''' through the pages you specify. | |||
== How to use == | |||
* The parameters must be a list of alternating '''links''' and '''linknames'''. Remember the normal wiki syntax of <nowiki>[[link|linkname]]</nowiki> - that's how it works. | |||
=== Example === | |||
<pre> | |||
{{EasyNavBar | |||
|Page 1|Picture 1 | |||
|Page 2|Picture 2 | |||
|Page 3|Picture 3 | |||
}} | |||
</pre> | |||
== Troubleshooting == | |||
* Do not put underscores in page titles. | |||
[[Category: Navigation templates]]</noinclude> | |||
Revision as of 14:30, 11 April 2008
|
Navigation
|
What this does
It creates an attractive navigation bar for use across the top of a page. Create a project-specific navigation template which implements this meta-template as described below. The insert your project-specific template at the top of all your project pages. It will allow users to cycle through the pages you specify.
How to use
- The parameters must be a list of alternating links and linknames. Remember the normal wiki syntax of [[link|linkname]] - that's how it works.
Example
{{EasyNavBar
|Page 1|Picture 1
|Page 2|Picture 2
|Page 3|Picture 3
}}
Troubleshooting
- Do not put underscores in page titles.