More actions
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
<code>{{ScuffedMenu</code><br> | <code>{{ScuffedMenu</code><br> | ||
<code>|offset=</code><br> | <code>|offset=</code><br> | ||
<code>|(page=)</code><br> | |||
<code>|</code><br> | <code>|</code><br> | ||
<code>}}</code><br> | <code>}}</code><br> | ||
| Line 9: | Line 10: | ||
|offset=3.4em | |offset=3.4em | ||
---- | ---- | ||
The <code>|page=</code> can be used to overwrite the current page. | The optional <code>|page=</code> can be used to overwrite the current page. | ||
---- | ---- | ||
The empty parameter <code>|</code> should contain the actual menu, with the following structure: | The empty parameter <code>|</code> should contain the actual menu, with the following structure: | ||
Revision as of 20:36, 20 October 2025
Usage
{{ScuffedMenu
|offset=
|(page=)
|
}}
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 optional |page= can be used to overwrite the current page.
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:
Example 2
{{ScuffedMenu
|offset=10em
|[[Bananas]] {{!}} [[Out]] {{!}} [[For]] {{!}} [[Harambe]]
}}
Produces the following: