TopMenu – Template
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Add example) |
||
Line 21: | Line 21: | ||
| <nowiki>{{ TopMenu | [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }}</nowiki> | | <nowiki>{{ TopMenu | [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }}</nowiki> | ||
| {{ TopMenu | [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }} | | {{ TopMenu | [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }} | ||
|- | |||
| style="white-space: pre" | <nowiki> | |||
{{TopMenu| | |||
[https://google.com Google] | |||
[[:Category:Arma 3|{{arma3}}]] | |||
[[Arma 3: Getting Started]] | |||
}} | |||
</nowiki> | |||
| | |||
{{TopMenu| | |||
[https://google.com Google] | |||
[[:Category:Arma 3|{{arma3}}]] | |||
[[Arma 3: Getting Started]] | |||
}} | |||
|} | |} | ||
[[Category:Templates|{{uc:{{PAGENAME}}}}]]<noinclude> | [[Category:Templates|{{uc:{{PAGENAME}}}}]]<noinclude> |
Latest revision as of 20:20, 2 March 2025
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][[:Category:Arma 3|{{arma3}}]][[Arma 3: Getting Started]]}} | |
{{ TopMenu | [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }} | |
{{TopMenu| [https://google.com Google] [[:Category:Arma 3|{{arma3}}]] [[Arma 3: Getting Started]] }} |