Template:ScuffedMenu: Difference between revisions

Template page
Tag: wikieditor
Tag: wikieditor
Line 15: Line 15:
   <nowiki>{{ScuffedMenu</nowiki>
   <nowiki>{{ScuffedMenu</nowiki>
   |offset=3.4em
   |offset=3.4em
   |[[Bananas]] <nowiki>{{!}}</nowiki> [[Out For]] <nowiki>{{!}}</nowiki> [[Harambe]]
   |<nowiki>[[Bananas]] {{!}} [[Out For]] {{!}} [[Harambe]]</nowiki>
   }}
   }}
Produces the following:
Produces the following:

Revision as of 16:09, 17 March 2023

Usage

{{ScuffedMenu
|offset=
|
}}


Note

The |offset= parameter is used to push the menu to the right and uses CSS values, such as em. Example:

  |offset=3.4em

The empty parameter | should contain the actual menu, with the following structure:

   (menu item 1) {{!}} (menu item 2) {{!}} (menu item 3)

Example

  {{ScuffedMenu
  |offset=3.4em
  |[[Bananas]] {{!}} [[Out For]] {{!}} [[Harambe]]
  }}

Produces the following: