TopMenu – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add note and example)
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 2: Line 2:
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>&lt;p&gt;</tt> tags leading to smaller anchor links mid-menu.}}
{{Feature | important | Links should be all on the same line to avoid unwanted <tt>&lt;p&gt;</tt> tags leading to smaller anchor links mid-menu.}}


== Usage ==
== Usage ==

Revision as of 03:11, 7 February 2021

Shows a horizontal menu (designed for only a few entries).

Links should be all on the same line to avoid unwanted <p> tags leading to smaller anchor links mid-menu.

Usage

{{TopMenu|links}}

  • links: Wiki links (internal or external)
Examples
Code Result
{{TopMenu}}
-
{{TopMenu|[https://google.com Google][[{{arma3}}]][[Arma 3 Getting Started]]}}
{{ TopMenu | [https://google.com Google] [[{{arma3}}]] [[Arma 3 Getting Started]] }}