v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Template:Menu icon
Revision as of 08:54, 4 January 2023 by BarelyCreative (talk | contribs) (Added "num" parameter to allow fewer icons to be displayed if desired (count from last))
Examples of Appearance
Selected from the b build menu.
Usage
{{Menu icon|b}}
Multiple keys can be passed as separate parameters to this template, with the "sep" parameter determining the separator (the default is an empty string), and the number of icons to display, counting from the end, as the "num" parameter (the default displays 4 icons).
{{Menu icon|key|sep=separator>|num=number}}
{{Menu icon|b|o}} |
bo |
{{Menu icon|num=1|b|o}} |
o |
{{Menu icon|b|o|sep=,}} |
b,o |
{{Menu icon|b|sep=+|o|f|}} |
b+o+f |
{{Menu icon|b|o|b|sep=-}} |
b-o-b |
{{Menu icon|b|o|l|y|sep=→|num=2}} |
l→y |
See also: {{key}}