Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
m (Reverted edits by The dnmr (talk) to last revision by Labla)
Line 1: Line 1:
<includeonly>{| class="wikitableShiny" style="width:350px; float:right; margin-left:1em;"
+
<includeonly>{| class="wikitableShiny" style="width:350px; float:right; clear:both; margin-left:1em;"
 
|-
 
|-
 
! colspan="2" | {{{Name}}}
 
! colspan="2" | {{{Name}}}
 
|-
 
|-
| colspan="2" | {{{Full image}}}
+
| colspan="2" | {{#if:{{{Full image|}}} | {{{Full image}}} | {{{Part image}}} }}
 
|-
 
|-
{{#ifeq: {{{Blocktype|}}} | construction |
+
{{#if: {{{Shape|}}} |
 
{{!-}}
 
{{!-}}
{{!}} Tile
+
{{!}} Block
 
{{!}} {{{Part image}}}
 
{{!}} {{{Part image}}}
 
{{!-}}
 
{{!-}}
Line 18: Line 18:
 
{{#if: {{{Part cost|}}} |
 
{{#if: {{{Part cost|}}} |
 
{{!-}}
 
{{!-}}
{{!}} Cost per tile
+
{{!}} Cost per block
 
{{!}} {{{Part cost}}}
 
{{!}} {{{Part cost}}}
 
}}
 
}}
 
{{#if: {{{Yields|}}} |
 
{{#if: {{{Yields|}}} |
 
{{!-}}
 
{{!-}}
{{!}} Breaking yeilds
+
{{!}} Breaking yields
 
{{!}} {{{Yields}}}
 
{{!}} {{{Yields}}}
 
}}
 
}}
|-
+
{{#if: {{{Hits|}}} |
| Hits to break
+
{{!-}}
| {{{Hits}}}
+
{{!}} Hits to break
 +
{{!}} {{{Hits}}}
 +
}}
 
{{#if: {{{Function|}}} |
 
{{#if: {{{Function|}}} |
 
{{!-}}
 
{{!-}}
 
{{!}} Function
 
{{!}} Function
 
{{!}} {{{Function}}}
 
{{!}} {{{Function}}}
 +
}}
 +
{{#if: {{{Used|}}} |
 +
{{!-}}
 +
{{!}} Used by
 +
{{!}} {{{Used}}}
 +
{{!-}}
 +
{{!}} Pickup
 +
{{!}} {{{Pickup}}}
 +
{{!-}}
 +
{{!}} Produced
 +
{{!}} {{{Produced}}}
 
}}
 
}}
 
|}
 
|}

Revision as of 15:36, 25 November 2011


Block/construction infobox template.

Usage:

{{Block_data_page|Blockoverview}}