Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
(I)
 
(85 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{| 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 -->
| Tile
+
{{#if: {{{Part cost|}}} |
| {{{Part image}}} {{{Shape}}} | }}
+
{{!}}-
|-
+
{{!}} Cost per block
| Cost
+
{{!}} {{{Part cost}}}
| {{{Part cost}}}
+
}}
|-
+
<!-- CHECK YIELDS -->
| Breaking yeilds
+
{{#if: {{{Yields|}}} |
| {{{Yields}}}
+
{{!}}-
|-
+
{{!}} Breaking yields
| Hits to break
+
{{!}} {{{Yields}}}
| {{{Hits}}}
+
}}
{{#if: {{{Function}}} | |-
+
<!-- CHECK REPAIR -->
| Function
+
{{#if: {{{Repair|}}} |
| {{{Function}}} | }}
+
{{!}}-
|}</noinclude>
+
{{!}} 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.
  
 
Usage:
 
Usage:
 +
 +
<pre>{{Block_data_page|Block_overview}}</pre>
 +
 +
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 02:19, 17 June 2012


Block/construction infobox template.

Usage:

{{Block_data_page|Block_overview}}