Template:Crafting Block: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<h2>Crafting</h2> | <h2>[[:Category:Crafting/Blocks|Crafting]]</h2> | ||
'''Craftable Items''' | |||
<p style="margin-left: 1.6em;">{{{craftable|<Information Missing>}}}{{#if:{{{craftable|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p> | <p style="margin-left: 1.6em;">{{{craftable|<Information Missing>}}}{{#if:{{{craftable|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p> | ||
'''Requires Fuel''' | |||
<p style="margin-left: 1.6em;">{{{fuel|No}}}</p> | <p style="margin-left: 1.6em;">{{{fuel|No}}}</p> | ||
{{#if:{{{related|}}}|<!--TRUE-->'''Related Research'''<br/><p style="margin-left: 1.6em;">{{{related}}}</p>}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Crafting/Blocks]]</includeonly>}}<noinclude> | |||
<p style="margin-left: 1.6em;">{{{related | |||
==Usage== | ==Usage== | ||
The Crafting Block template is meant to be used for any block that is used in crafting. This includes the campfire and crafting table. | The Crafting Block template is meant to be used for any block that is used in crafting. This includes the campfire and crafting table. | ||
<pre>{{Crafting_Block | <pre>{{Crafting_Block | ||
|craftable=<List of | |craftable=<List of items?> | ||
|fuel=<Yes/No> | |fuel=<Yes/No> | ||
|related=<Links to research | |related=<Links to research> | ||
}}</pre> | }}</pre> | ||
*The code above can be pasted into your page and edited. | *The code above can be pasted into your page and edited. | ||
*Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in. | *Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in. | ||
*Templates adds [[:Category:Crafting]]. [[:Category:Missing_information]] is added conditionally. | *Templates adds [[:Category:Crafting/Blocks]]. [[:Category:Missing_information]] is added conditionally. | ||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 12:26, 12 September 2018
Crafting
Craftable Items
<Information Missing>
Requires Fuel
No
Usage
The Crafting Block template is meant to be used for any block that is used in crafting. This includes the campfire and crafting table.
{{Crafting_Block |craftable=<List of items?> |fuel=<Yes/No> |related=<Links to research> }}
- The code above can be pasted into your page and edited.
- Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
- Templates adds Category:Crafting/Blocks. Category:Missing_information is added conditionally.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.