Template:Navigation/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
<pre> | |||
{{Navigation | |||
| nav name = | |||
| link1 = | |||
| link2 = | |||
}} | |||
</pre> | |||
Can be used up to <code>| link20 = </code> | |||
If you need to format the link name differently than the page name (same idea as using <code><nowiki>[[link|link name]]</nowiki></code> then use <code>| link1 name = </code>, etc. | |||
For example, here link3 is given a different link name than the page name: | |||
<pre> | |||
{{Navigation | |||
| nav name = Bugs | |||
| link1 = Ants | |||
| link2 = Spiders | |||
| link3 = Flys (the bad kind) | |||
| link3 name = Flys | |||
| link4 = Polar bears | |||
}} | |||
</pre> | |||
<includeonly>[[Category:Templates]]</includeonly> | <includeonly>[[Category:Templates]]</includeonly> | ||
Revision as of 04:28, 30 January 2012
Used for making navigation templates between a series of related pages.
Usage
{{Navigation
| nav name =
| link1 =
| link2 =
}}
Can be used up to | link20 =
If you need to format the link name differently than the page name (same idea as using [[link|link name]] then use | link1 name = , etc.
For example, here link3 is given a different link name than the page name:
{{Navigation
| nav name = Bugs
| link1 = Ants
| link2 = Spiders
| link3 = Flys (the bad kind)
| link3 name = Flys
| link4 = Polar bears
}}