No edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
<pre>{{RecipeUses|Item Name}}</pre> | <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: | 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' | * 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]]. | To see a similar template that lists uses in a table, click [[Template:RecipeUsages]]. |
Latest revision as of 23:50, 7 October 2023
Usage
{{RecipeUses|Item Name}}
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:
- <tr style="{{#ifeq: {{#expr: {{#var:__COUNTER__}} mod 2}}|0|background-color:#f2f2f2!important;}}">?
- 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
{{RecipeUses|Silica Sand}}
![]() Trilobyte |
![]() |
![]() Bug Chitin |
![]() Silica Sand |
![]() Virus Datacube |
⨯ |
![]() |
![]() Robot Hive |
⨯ |
![]() Trilobyte |
![]() |
![]() Bug Chitin |
![]() Silica Sand |
![]() Virus Datacube |
⨯ |
![]() |
![]() Robot Hive |
⨯ |
![]() Wasp |
![]() |
![]() Bug Chitin |
![]() Silica Sand |
![]() Virus Datacube |
⨯ |
![]() |
![]() Robot Hive |
⨯ |
![]() Resimulator Core |
![]() |
![]() Blight Crystal Chunk |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Assembler |
⨯ |
![]() Aluminum Sheet |
![]() |
![]() Aluminum Rod |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Human Command Center |
![]() Human Factory |
![]() Bug Chitin |
![]() |
![]() Blight Crystal Chunk |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() AI Research Center |
![]() AI Research Center (Mission) |
![]() Concretes Lab |
![]() |
![]() Laterite ore |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Human Factory |
![]() Human Factory |
![]() Crystal Powder |
![]() |
![]() Crystal Chunk |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Human Refinery |
![]() Refinery |
![]() Obsidian Brick |
![]() |
![]() Obsidian Chunk |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Refinery |
![]() Reforming Pool |
![]() Resimulator Core |
![]() |
![]() Silica Sand |
![]() Blight Crystal Chunk |
⨯ |
⨯ |
![]() |
![]() Assembler |
⨯ |
![]() Silicon |
![]() |
![]() Silica Sand |
⨯ |
⨯ |
⨯ |
![]() |
![]() Fabricator |
![]() Human Refinery |
![]() Wire |
![]() |
![]() Metal Plate |
![]() Silica Sand |
⨯ |
⨯ |
![]() |
![]() Fabricator |
![]() Human Refinery |