Jump to content

Template:Recipe row: Difference between revisions

From MirkLurk Wiki
repo-sync: b9dcb7e974a0 text:f8668acc205924a8943c51806e9f752d
 
repo-sync: 3541005e5de1 text:f1b5330e02b6738e9c733cb65646f276
 
Line 1: Line 1:
<includeonly><tr><td>{{{anchors|}}}{{{ingredients|No item inputs}}}</td><td>{{{output|Not established}}}</td><td>{{{methods|Not established}}}</td><td>{{#if:{{{ap|}}}|{{{ap}}} base [[Action points|AP]]|{{{cost|Not established}}}}}</td><td>{{{conditions|Not established}}}</td></tr>
<includeonly><tr><td>{{{anchors|}}}{{{ingredients|No item inputs}}}</td><td>{{{output|Unknown}}}</td><td>{{{methods|Unknown}}}</td><td>{{#if:{{{ap|}}}|{{{ap}}} base [[Action points|AP]]|{{{cost|Unknown}}}}}</td><td>{{{conditions|Unknown}}}</td></tr>
</includeonly><noinclude>
</includeonly><noinclude>
A presentation row inside an existing recipe table:
A presentation row inside an existing recipe table:
Line 7: Line 7:
|methods=[[Inventory crafting]]
|methods=[[Inventory crafting]]
|ap=2
|ap=2
|conditions=Example only; use the documented requirements.
|conditions=Syntax example only.
}}</pre>
}}</pre>
This example illustrates syntax, not a verified recipe. Use nested Item calls separated by <nowiki><br /></nowiki> for multiple ingredients or outputs. Fractional base AP is supported. If a cost has another unit, supply cost instead of ap. Missing values say "Not established"; zero is not unknown. Output may describe an in-place construction instead of inventing an inventory item.
This is a syntax example, not a recipe. Separate multiple Item calls with <nowiki><br /></nowiki>. Fractional AP is supported; for another unit use cost instead of ap. Missing values display "Unknown", not zero. Output can describe in-place construction.


Keep literal onlyinclude/view/station filters and stable anchors on the owning output article. Put the row call inside those filters; this template does not inherit caller parameters or own facts. Workstations continue transcluding filtered rows.
Keep onlyinclude/view/station filters and anchors on the output article, with the row call inside them. This template does not inherit caller parameters. Workstations transclude the filtered rows.
</noinclude>
</noinclude>

Latest revision as of 15:34, 29 September 2026

A presentation row inside an existing recipe table:

{{Recipe row
|ingredients={{Item|Plant Fiber|quantity=4}}
|output={{Item|Bandage|quantity=1}}
|methods=[[Inventory crafting]]
|ap=2
|conditions=Syntax example only.
}}

This is a syntax example, not a recipe. Separate multiple Item calls with <br />. Fractional AP is supported; for another unit use cost instead of ap. Missing values display "Unknown", not zero. Output can describe in-place construction.

Keep onlyinclude/view/station filters and anchors on the output article, with the row call inside them. This template does not inherit caller parameters. Workstations transclude the filtered rows.