Jump to content

Template:1lvlnav: Difference between revisions

From IdeaWazaWiki
wikademia>Xlbnushk
mNo edit summary
wikademia>Wikademia
m 28 revisions
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="border: #cccccc solid 1px; text-align: center;" width="100%"
<noinclude>== Usage ==
|- style="background-color:#99ccff"
 
<nowiki>{{1lvlnav|project|previous lesson|next lesson}}</nowiki>
 
*'''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 ==
 
<nowiki>{{1lvlnav|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}</nowiki>
 
The above code produces:
 
{{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>
 
{| style="background-color: whitesmoke; border: darkgray solid 1px; text-align: center;" width="100%"
|- style="background-color:#99ccff;"
||'''Project:''' {{{1}}}
||'''Project:''' {{{1}}}
|-
|-
||'''Previous:''' [[{{{2}}}]] &mdash; {{PAGENAME}} &mdash; '''Next:''' [[{{{3}}}]]
||'''Previous:''' {{{2}}} &mdash; {{PAGENAME}} &mdash; '''Next:''' {{{3}}}
|}
|}
<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}}}