Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
(I)
 
(82 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitableShiny" style="width:30%; float:right;"
+
<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}}} }}
 
|-
 
|-
{{#if: {{{Part image|}}}  
+
<!-- CHECK PART COST -->
| <tr><td>Tile</td><td>{{{Part image}}} {{{Shape}}}</td></tr>}}
+
{{#if: {{{Part cost|}}} |
|-
+
{{!}}-
| Cost
+
{{!}} Cost per block
| {{{Part cost}}}
+
{{!}} {{{Part cost}}}
|-
+
}}
| Breaking yeilds
+
<!-- CHECK YIELDS -->
| {{{Yields}}}
+
{{#if: {{{Yields|}}} |
|-
+
{{!}}-
| Hits to break
+
{{!}} Breaking yields
| {{{Hits}}}
+
{{!}} {{{Yields}}}
{{#if: {{{Function|}}}  
+
}}
| <tr><td>Function</td><td>{{{Function}}}</td></tr>| }}
+
<!-- CHECK REPAIR -->
|}</includeonly><noinclude>
+
{{#if: {{{Repair|}}} |
 +
{{!}}-
 +
{{!}} Repair cost
 +
{{!}} {{{Repair}}}
 +
}}
 +
<!-- 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>
  
 
Block/construction infobox template.
 
Block/construction infobox template.
Line 24: Line 43:
 
Usage:
 
Usage:
  
 +
<pre>{{Block_data_page|Block_overview}}</pre>
  
  
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:19, 17 June 2012


Block/construction infobox template.

Usage:

{{Block_data_page|Block_overview}}