Template:Horizontal-nav/doc: Difference between revisions
Jump to navigation
Jump to search
(Documentation for horizontal-nav template.) |
mNo edit summary |
||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
The template can have '''2''' to '''15 parameters''': | The template can have '''2''' to '''15 parameters''': | ||
#{{m| | #{{m|horizontal-nav|<title>|<link1>}} | ||
#{{m| | #{{m|horizontal-nav|<title>|<link1>|<link2>}} | ||
#{{m| | #{{m|horizontal-nav|<title>|<l1>|<l2>|<l3>}} | ||
# ... | # ... | ||
#{{m| | #{{m|horizontal-nav|<title>|<l1>|<l2>|<l3>| ... |<l13>|<l14>}} | ||
'''<title>''' = Name of the "Quick Jump" section. Use '''-''' for an empty name. | '''<title>''' = Name of the "Quick Jump" section. Use '''-''' for an empty name. |
Latest revision as of 22:45, 6 May 2009
If you want to create a list of links placed in a horizontal bar ("Quick Jump"), this template will help you.
Syntax
The template can have 2 to 15 parameters:
- {{horizontal-nav|<title>|<link1>}}
- {{horizontal-nav|<title>|<link1>|<link2>}}
- {{horizontal-nav|<title>|<l1>|<l2>|<l3>}}
- ...
- {{horizontal-nav|<title>|<l1>|<l2>|<l3>| ...|<l13>|<l14>}}
<title> = Name of the "Quick Jump" section. Use - for an empty name. <link1> = 1st link in horizontal bar. <l2> = 2nd link in horizontal bar. ... <l13> = 13th link in horizontal bar. <l14> = 14th and last link in horizontal bar.
Real-world Examples
Important | Place all parameters / links in one line, spreading the links across several lines leads to formatting issues! |
Note | The source code examples were shorted to keep them readable. |
{{horizontal-nav|-| [[How to get started with creqing#Files|Files]] | ... }}
{{horizontal-nav|Files| [[How to get started with creqing#|Top]] | ... }}