Template:1lvlnav: Difference between revisions
Appearance
wikademia>Xlbnushk mNo edit summary |
wikademia>Wikademia m 28 revisions |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>== Usage == | ||
== Usage == | |||
<nowiki>{{1lvlnav|project|previous lesson|next lesson}}</nowiki> | <nowiki>{{1lvlnav|project|previous lesson|next lesson}}</nowiki> | ||
| Line 14: | Line 12: | ||
== Example == | == Example == | ||
<nowiki>{{1lvlnav| | <nowiki>{{1lvlnav|[[Mapmaking]]|[[StarEdit]]|[[X-tra Editor]]}}</nowiki> | ||
The above code produces: | The above code produces: | ||
{{1lvlnav| | {{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 | |||
</noinclude> | == Template ==</noinclude> | ||
{| style="background-color: whitesmoke; border: darkgray solid 1px; text-align: center;" width="100%" | {| style="background-color: whitesmoke; border: darkgray solid 1px; text-align: center;" width="100%" | ||
| Line 31: | Line 29: | ||
|} | |} | ||
[[Category: | <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}}} |