Template:Resource infobox/doc: Difference between revisions
Jump to navigation
Jump to search
. |
Stlnegril9 (talk | contribs) No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{Building infobox | ||
| title = | | title = | ||
| image = | | image = | ||
| image-width = | | image-width = | ||
| mod-id = | | mod-id = | ||
| | | group = | ||
| | | resources = | ||
| | | construction-time = | ||
| input = | |||
| output = | |||
| daily-output = | |||
| note = | |||
| requirements = | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
== Example == | == Example == | ||
{{Building infobox | |||
{{ | | title = Bakery | ||
| title = | | image = Building_Bakery.png | ||
| image = | | mod-id = 15 | ||
| mod-id = | | group= [[Food Production]] | ||
| | | resources = 10x [[Planks]], 5x [[Stone]], 10x [[Bricks]], 5x [[Iron]] | ||
| | | construction-time = 8 days | ||
| | | input = 2x [[Flour]], 1x [[Water]], 0.25x [[Fuel]] | ||
| output = 2x [[Bread]] | |||
| daily-output = 4x [[Bread]] per day | |||
| note = | |||
| requirements = [[Construction II]] | |||
}} | }} | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
| Line 31: | Line 40: | ||
:; ''image'' | :; ''image'' | ||
:: Defaults to <code><nowiki>{{BASEPAGENAME}}.png</nowiki></code> | :: Defaults to <code><nowiki>Building_{{BASEPAGENAME}}.png</nowiki></code> | ||
:; ''mod-id'' | :; ''mod-id'' | ||
:: | :: | ||
:; '' | :; ''group '' | ||
:: | :: | ||
:; '' | :; ''resources '' | ||
:: | :: | ||
:; '' | :; ''construction-time '' | ||
:: | :: | ||
:; ''input '' | |||
:: | |||
:; ''output '' | |||
:: | |||
:; ''daily-output '' | |||
:: | |||
:; ''note '' | |||
:: | |||
:; ''requirements '' | |||
:: | |||
[[Category:Templates]] | [[Category:Templates]] | ||
Latest revision as of 18:58, 4 October 2020
Usage
See Parameters section below for documentation of all parameters.
{{Building infobox
| title =
| image =
| image-width =
| mod-id =
| group =
| resources =
| construction-time =
| input =
| output =
| daily-output =
| note =
| requirements =
}}
Example
| Bakery | |
|---|---|
| |
| Basic information | |
| Mod ID: | 15 |
| Group: | Food Production |
| Construction information | |
| Resources: | 10x Planks, 5x Stone, 10x Bricks, 5x Iron |
| Construction time: | 8 days |
| Production information | |
| Input: | 2x Flour, 1x Water, 0.25x Fuel |
| Output: | 2x Bread |
| Daily-output: | 4x Bread per day |
| Research information | |
| Requirements: | Construction II |
Parameters
- title
- Defaults to
{{BASEPAGENAME}}
- image
- Defaults to
Building_{{BASEPAGENAME}}.png
- mod-id
- group
- resources
- construction-time
- input
- output
- daily-output
- note
- requirements
