Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Production: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei using css classes |
added the ingame marker to the box |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
<div style="text-align:center">[[{{{b}}}]]</div> | <div style="text-align:center">[[{{{b}}}]]</div> | ||
<div style="padding:2px 0.5em">[[File:{{{b|}}}.png|64px]]</div> | <div style="padding:2px 0.5em">[[File:{{{b|}}}.png|64px]]</div> | ||
{{#if: {{{t|}}}|<div class="production-building">{{{t}}}</div>}} | {{#if: {{{t|}}}|<div class="production-building">{{Stat|du}} {{{t}}}</div>}} | ||
</div> | </div> | ||
}} | }} | ||
Latest revision as of 09:04, 27 June 2026
Displays infos about a production, i.e. ingredients, building and products.
Parameters
i1Ingredient 1 ...i4Ingredient 4in1ingredient amount 1 (defaults to 1) ...in4ingredient amount 4 (defaults to 1)bbuildingtproduction timep1product 1 ...p4product 4pn1product amount 1 (defaults to 1) ...pn4product amount 4 (defaults to 1)
Examples
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread}}
{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}



