Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
(I)
 
(81 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 -->
 +
{{#if: {{{Part cost|}}} |
 
{{!}}-
 
{{!}}-
{{!}} Tile
+
{{!}} Cost per block
{{!}} {{{Part image}}} {{{Shape}}}
+
{{!}} {{{Part cost}}}
 
}}
 
}}
|-
+
<!-- CHECK YIELDS -->
| Cost
+
{{#if: {{{Yields|}}} |
| {{{Part cost}}}
+
{{!}}-
|-
+
{{!}} Breaking yields
| Breaking yeilds
+
{{!}} {{{Yields}}}
| {{{Yields}}}
+
}}
|-
+
<!-- CHECK REPAIR -->
| Hits to break
+
{{#if: {{{Repair|}}} |
| {{{Hits}}}
+
{{!}}-
{{#if: {{{Function|}}} |
+
{{!}} Repair cost
 +
{{!}} {{{Repair}}}
 +
}}
 +
<!-- CHECK HITS -->
 +
{{#if: {{{Hits|}}} |
 +
{{!}}-
 +
{{!}} Hits to break
 +
{{!}} {{{Hits}}}
 +
}}
 +
<!-- CHECK PRODUCED -->
 +
{{#if: {{{Produced|}}} |
 
{{!}}-
 
{{!}}-
{{!}} Function
+
{{!}} Produced by
{{!}} {{{Function}}}
+
{{!}} {{{Produced}}}
 
}}
 
}}
|}
+
<!-- END TABLE HERE OR IN NEXT PIPE IF THIS DATA ISN'T USED (BAD ALIGNMENT FIX) -->
 +
{{!}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  
Line 31: Line 43:
 
Usage:
 
Usage:
  
 +
<pre>{{Block_data_page|Block_overview}}</pre>
  
  
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:19, 17 June 2012


Block/construction infobox template.

Usage:

{{Block_data_page|Block_overview}}