TopMenu – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Template creation) |
Lou Montana (talk | contribs) m (Add note and example) |
||
Line 1: | Line 1: | ||
<includeonly><div class="topmenu">{{{1|-}}}</div></includeonly><noinclude> | <includeonly><div class="topmenu">{{{1|-}}}</div></includeonly><noinclude> | ||
Shows a horizontal menu (designed for only a few entries). | Shows a horizontal menu (designed for only a few entries). | ||
{{Important | Links should be all on the same line to avoid unwanted <tt><p></tt> tags leading to smaller anchor links mid-menu.}} | |||
== Usage == | == Usage == | ||
Line 14: | Line 16: | ||
| {{TopMenu}} | | {{TopMenu}} | ||
|- | |- | ||
| <nowiki>{{TopMenu|[[{{ | | <nowiki>{{TopMenu|[https://google.com Google][[{{arma3}}]][[Arma 3 Getting Started]]}}</nowiki> | ||
| {{TopMenu|[https://google.com Google][[{{arma3}}]][[Arma 3 Getting Started]]}} | |||
|- | |||
| <nowiki>{{ TopMenu | [https://google.com Google] [[{{arma3}}]] [[Arma 3 Getting Started]] }}</nowiki> | |||
| {{ TopMenu | [https://google.com Google] [[{{arma3}}]] [[Arma 3 Getting Started]] }} | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]<noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]<noinclude> |
Revision as of 22:50, 21 April 2020
Shows a horizontal menu (designed for only a few entries).
Usage
{{TopMenu|links}}
- links: Wiki links (internal or external)
Code | Result |
---|---|
{{TopMenu}} | |
{{TopMenu|[https://google.com Google][[{{arma3}}]][[Arma 3 Getting Started]]}} | |
{{ TopMenu | [https://google.com Google] [[{{arma3}}]] [[Arma 3 Getting Started]] }} |