Jump to content

Template:1lvlnav: Difference between revisions

From IdeaWazaWiki
wikademia>BotheredByBees
wikademia>Wikademia
m 28 revisions
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
== Example ==
== Example ==


  <nowiki>{{1lvlnav|StarCraft|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}</nowiki>
  <nowiki>{{1lvlnav|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}</nowiki>


The above code produces:
The above code produces:


{{1lvlnav|StarCraft|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}
{{1lvlnav|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}
 
Note: the ugly '1lvlnav' shown in the middle of the navigation line is just the current topic (page) name, and will be replaced with the name of your calling page when you use this template in a real-world example


== Template ==</noinclude>
== Template ==</noinclude>
Line 27: Line 29:
|}
|}


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Course templates]]</noinclude>

Latest revision as of 18:32, 5 April 2009

Usage

{{1lvlnav|project|previous lesson|next lesson}}
  • 1lvlnav calls the template
  • project specifies the name of the project
  • previous lesson specifies the name of the previous lesson
  • next lesson specifies the name of the next lesson

You must include project/lesson links yourself!

Example

{{1lvlnav|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}

The above code produces:


Project: Mapmaking
Previous: StarEdit — 1lvlnav — Next: X-tra Editor


Note: the ugly '1lvlnav' shown in the middle of the navigation line is just the current topic (page) name, and will be replaced with the name of your calling page when you use this template in a real-world example

Template

Project: {{{1}}}
Previous: {{{2}}} — 1lvlnav — Next: {{{3}}}