Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
(I)
 
(74 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitableShiny" style="width:350px; float:right; margin-left:1em;"
+
<includeonly>{| class="wikitableShiny" style="width:370px; 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 |
+
<!-- CHECK PART COST -->
{{!-}}
+
{{!}} Tile
+
{{!}} {{{Part image}}} {{{Shape}}}
+
}}
+
 
{{#if: {{{Part cost|}}} |
 
{{#if: {{{Part cost|}}} |
{{!-}}
+
{{!}}-
{{!}} Cost
+
{{!}} Cost per block
 
{{!}} {{{Part cost}}}
 
{{!}} {{{Part cost}}}
 
}}
 
}}
 +
<!-- CHECK YIELDS -->
 
{{#if: {{{Yields|}}} |
 
{{#if: {{{Yields|}}} |
{{!-}}
+
{{!}}-
{{!}} Breaking yeilds
+
{{!}} Breaking yields
 
{{!}} {{{Yields}}}
 
{{!}} {{{Yields}}}
 
}}
 
}}
|-
+
<!-- CHECK REPAIR -->
| Hits to break
+
{{#if: {{{Repair|}}} |
| {{{Hits}}}
+
{{!}}-
{{#if: {{{Function|}}} |
+
{{!}} Repair cost
{{!-}}
+
{{!}} {{{Repair}}}
{{!}} Function
+
}}
{{!}} {{{Function}}}
+
<!-- CHECK HITS -->
 +
{{#if: {{{Hits|}}} |
 +
{{!}}-
 +
{{!}} Hits to break
 +
{{!}} {{{Hits}}}
 +
}}
 +
<!-- CHECK PRODUCED -->
 +
{{#if: {{{Produced|}}} |
 +
{{!}}-
 +
{{!}} Produced by
 +
{{!}} {{{Produced}}}
 
}}
 
}}
|}
+
<!-- END TABLE HERE OR IN NEXT PIPE IF THIS DATA ISN'T USED (BAD ALIGNMENT FIX) -->
 +
{{!}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  
Line 35: Line 43:
 
Usage:
 
Usage:
  
<pre>{{Block_data_page|Blockoverview}}</pre>
+
<pre>{{Block_data_page|Block_overview}}</pre>
  
  
[[Category:Templates]]</noinclude>
+
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 02:19, 17 June 2012


Block/construction infobox template.

Usage:

{{Block_data_page|Block_overview}}