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

From Dwarf Fortress Wiki
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))
Jump to navigation Jump to search

Ui b.pngb


Shortcut:
Template:K

Examples of Appearance

Selected from the Ui b.pngb 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}} Ui b.pngbUi bo.pngo
{{Menu icon|num=1|b|o}} Ui bo.pngo
{{Menu icon|b|o|sep=,}} Ui b.pngb,Ui bo.pngo
{{Menu icon|b|sep=+|o|f|}} Ui b.pngb+Ui bo.pngo+Ui bof.pngf
{{Menu icon|b|o|b|sep=-}} Ui b.pngb-Ui bo.pngo-Ui bob.pngb
{{Menu icon|b|o|l|y|sep=→|num=2}} Ui bol.pnglUi boly.pngy

See also: {{key}}