Jump to content

Template:1lvlnav: Difference between revisions

From IdeaWazaWiki
wikademia>Xlbnushk
m added float: bottom
wikademia>Wikademia
m 28 revisions
 
(9 intermediate revisions by 3 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>


{| style="background-color: whitesmoke; border: darkgray solid 1px; float: bottom; text-align: center;" width="100%"
{| style="background-color: whitesmoke; border: darkgray solid 1px; text-align: center;" width="100%"
|- style="background-color:#99ccff;"
|- style="background-color:#99ccff;"
||'''Project:''' {{{1}}}
||'''Project:''' {{{1}}}
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}}}