Template:Filters/doc

From Better Than Wolves Wiki
< Template:Filters
Revision as of 09:11, 28 May 2018 by Gaga654 (talk | contribs) (Created page with "This template creates a row of icons for the six hopper filters with some of them grayed out, intended for use to show which filters an item can pass through: {| class="wikita...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template creates a row of icons for the six hopper filters with some of them grayed out, intended for use to show which filters an item can pass through:

Code Result
{{Filters|xxxxxx}}
Grid Ladders.png Grid Iron Bars.png Grid Trapdoor.png Grid Grate.png Grid Slats.png Grid Wicker Pane.png


{{Filters|oooooo}}
Grid Ladders.png Grid Iron Bars.png Grid Trapdoor.png Grid Grate.png Grid Slats.png Grid Wicker Pane.png


{{Filters|ooooxx}}
Grid Ladders.png Grid Iron Bars.png Grid Trapdoor.png Grid Grate.png Grid Slats.png Grid Wicker Pane.png


{{Filters|oxxoxo}}
Grid Ladders.png Grid Iron Bars.png Grid Trapdoor.png Grid Grate.png Grid Slats.png Grid Wicker Pane.png


Takes a single argument where each character indicates whether the corresponding icon is grayed out or not in left-to-right order; o means that it will not be grayed out while any other character means that it will.