Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Template:RecipeUses/doc
Template page
Read
Edit source
View history
Template
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
----- [[:Template:RecipeUses/doc|Documentation:]] ==== Usage ==== <pre>{{RecipeUses|Item Name}}</pre> For a given item, produces a list of all things (component, item, entity) which uses the item in its recipe using the [[Template:RecipeUses_Layout]]. * Todo: Fix the IF statement for - if something takes 1 second to produce, the time should say 'sec' not 'secs' * Try to figue out how to colour the background of every other row. AI says do this: **<nowiki><tr style="{{#ifeq: {{#expr: {{#var:__COUNTER__}} mod 2}}|0|background-color:#f2f2f2!important;}}"></nowiki>? *Didnt work, did it AI. Can Anyone else help please?? To see a similar template that lists uses in a table, click [[Template:RecipeUsages]]. ==== Example ==== <pre>{{RecipeUses|Silica Sand}}</pre> {{RecipeUses|Silica Sand}} __NOEDITSECTION__
Summary:
Please note that all contributions to Desynced Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Desynced Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:RecipeUses
(
edit
)
Template:RecipeUses Layout
(
edit
)