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
layout
added the ingame marker to the box
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| style="border: 1px solid black;border-radius: .3em;padding: .2em .5em;"
<includeonly><div class="pixel-border production-container">
|+ '''Production'''
<div class="production-in-out">
| rowspan=3 | {{#if:{{{i1|}}}|{{itemLink|{{{i1}}}|quantity={{{n1|1}}}}}}}<!--
{{#if:{{{i1|}}}|{{itemLink|{{{i1}}}|quantity={{{in1|1}}}}}}}<!--
-->{{#if:{{{i2|}}}|<br/>{{itemLink|{{{i2}}}|quantity={{{n2|1}}}}}}}<!--
-->{{#if:{{{i2|}}}|<br/>{{itemLink|{{{i2}}}|quantity={{{in2|1}}}}}}}<!--
-->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{n3|1}}}}}}}<!--
-->{{#if:{{{i3|}}}|<br/>{{itemLink|{{{i3}}}|quantity={{{in3|1}}}}}}}<!--
-->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{n4|1}}}}}}}
-->{{#if:{{{i4|}}}|<br/>{{itemLink|{{{i4}}}|quantity={{{in4|1}}}}}}}
| {{#if:{{{b|}}}| rowspan=3 {{!}} <span style="font-size:4em">&rsaquo;</span>
</div>
{{!}} style="text-align:center" {{!}} {{{b}}}}}
{{#if:{{{b|}}}| <div class="production-arrow">&rsaquo;</div>
| rowspan=3 | {{#if:{{{p1|}}}|<span style="font-size:4em">&rsaquo;</span>}}
<div>
| rowspan=3 | {{#if:{{{p1|}}}|{{itemLink|{{{p1}}}|quantity={{{pn1|1}}}}}}}<!--
<div style="text-align:center">[[{{{b}}}]]</div>
<div style="padding:2px 0.5em">[[File:{{{b|}}}.png|64px]]</div>
{{#if: {{{t|}}}|<div class="production-building">{{Stat|du}} {{{t}}}</div>}}
</div>
}}
<div class="production-arrow">&rsaquo;</div><div class="production-in-out">
{{#if:{{{p1|}}}|{{itemLink|{{{p1}}}|quantity={{{pn1|1}}}}}}}<!--
-->{{#if:{{{p2|}}}|<br/>{{itemLink|{{{p2}}}|quantity={{{pn2|1}}}}}}}<!--
-->{{#if:{{{p2|}}}|<br/>{{itemLink|{{{p2}}}|quantity={{{pn2|1}}}}}}}<!--
-->{{#if:{{{p3|}}}|<br/>{{itemLink|{{{p3}}}|quantity={{{pn3|1}}}}}}}<!--
-->{{#if:{{{p3|}}}|<br/>{{itemLink|{{{p3}}}|quantity={{{pn3|1}}}}}}}<!--
-->{{#if:{{{p4|}}}|<br/>{{itemLink|{{{p4}}}|quantity={{{pn4|1}}}}}}}
-->{{#if:{{{p4|}}}|<br/>{{itemLink|{{{p4}}}|quantity={{{pn4|1}}}}}}}
|-
</div>
| {{#if: {{{b|}}}|style="padding:2px 0.5em" {{!}} [[File:{{{b|}}}.png|64px]]}}
</div></includeonly><noinclude>{{doc}}
|-
| {{#if: {{{t|}}}|style="text-align:center" {{!}} <span style="border:1px solid #b7b078;border-radius:50%;padding:0.4em;background: lightgoldenrodyellow;>{{{t}}}</span> }}
|}</includeonly><noinclude>{{doc}}
[[category:formatting templates]]</noinclude>
[[category:formatting templates]]</noinclude>

Latest revision as of 09:04, 27 June 2026

File:Template-info.svg Documentation Edit this documentation at Template:Production/doc.
(edit • history • purge)

Displays infos about a production, i.e. ingredients, building and products.

Parameters

  • i1 Ingredient 1 ...
  • i4 Ingredient 4
  • in1 ingredient amount 1 (defaults to 1) ...
  • in4 ingredient amount 4 (defaults to 1)
  • b building
  • t production time
  • p1 product 1 ...
  • p4 product 4
  • pn1 product amount 1 (defaults to 1) ...
  • pn4 product amount 4 (defaults to 1)

Examples

{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread}}

1 ×  Flour
1 ×  Water

›
5 s
›

1 ×  Bread

{{production|i1=Flour|i2=Water|b=Bakery|t=5 s|p1=Bread|p2=Ingot|pn2=3}}

1 ×  Flour
1 ×  Water

›
5 s
›

1 ×  Bread
3 ×  Ingot