Template:1lvlnav: Difference between revisions
Appearance
wikademia>Xlbnushk mNo edit summary |
wikademia>Xlbnushk m added usage info |
||
| Line 1: | Line 1: | ||
{| style="background-color: whitesmoke; border: # | <noinclude> | ||
|- style="background-color:#99ccff" | |||
== Usage == | |||
<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|StarCraft Mapmaking|[[StarEdit]]|[[X-tra Editor]]}}</nowiki> | |||
The above code produces: | |||
{{1lvlnav|StarCraft Mapmaking|[[StarEdit]]|[[X-tra Editor]]}} | |||
== Template == | |||
</noinclude> | |||
{| style="background-color: whitesmoke; border: #999999 solid 1px; text-align: center;" width="100%" | |||
|- style="background-color:#99ccff;" | |||
||'''Project:''' {{{1}}} | ||'''Project:''' {{{1}}} | ||
|- | |- | ||
||'''Previous:''' {{{2}}} — {{PAGENAME}} — '''Next:''' {{{3}}} | ||'''Previous:''' {{{2}}} — {{PAGENAME}} — '''Next:''' {{{3}}} | ||
|} | |} | ||
[[Category:Templates]] | |||
Revision as of 20:29, 19 November 2006
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|StarCraft Mapmaking|[[StarEdit]]|[[X-tra Editor]]}}
The above code produces:
| Project: StarCraft Mapmaking |
| Previous: StarEdit — 1lvlnav — Next: X-tra Editor |
Template
| Project: {{{1}}} |
| Previous: {{{2}}} — 1lvlnav — Next: {{{3}}} |