Difference between revisions of "Template:Block overview"

From King Arthur's Gold Wiki
Jump to: navigation, search
(I)
 
(48 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitableShiny" style="width:350px; float:right; clear:both; margin-left:1em;"
+
<includeonly>{| class="wikitableShiny" style="width:370px; float:right; clear:both; margin-left:1em;"
 
|-
 
|-
 
! colspan="2" | {{{Name}}}
 
! colspan="2" | {{{Name}}}
 
|-
 
|-
| colspan="2" | {{#if:{{{Full image|}}} | {{{Full image}}} | {{{Part image}}} }}
+
| colspan="2" | {{#if: {{{Full image|}}} | {{{Full image}}} | {{{Part image}}} }}
 
|-
 
|-
{{#if: {{{Shape|}}} |
+
<!-- CHECK PART COST -->
{{!-}}
+
{{!}} Block
+
{{!}} {{{Part image}}}
+
{{!-}}
+
{{!}} Shape
+
{{!}} {{{Shape}}}
+
{{!-}}
+
{{!}} Total cost
+
{{!}} {{{Total cost}}}
+
}}
+
 
{{#if: {{{Part cost|}}} |
 
{{#if: {{{Part cost|}}} |
{{!-}}
+
{{!}}-
 
{{!}} Cost per block
 
{{!}} Cost per block
 
{{!}} {{{Part cost}}}
 
{{!}} {{{Part cost}}}
 
}}
 
}}
 +
<!-- CHECK YIELDS -->
 
{{#if: {{{Yields|}}} |
 
{{#if: {{{Yields|}}} |
{{!-}}
+
{{!}}-
 
{{!}} Breaking yields
 
{{!}} Breaking yields
 
{{!}} {{{Yields}}}
 
{{!}} {{{Yields}}}
 
}}
 
}}
 +
<!-- CHECK REPAIR -->
 +
{{#if: {{{Repair|}}} |
 +
{{!}}-
 +
{{!}} Repair cost
 +
{{!}} {{{Repair}}}
 +
}}
 +
<!-- CHECK HITS -->
 
{{#if: {{{Hits|}}} |
 
{{#if: {{{Hits|}}} |
{{!-}}
+
{{!}}-
 
{{!}} Hits to break
 
{{!}} Hits to break
 
{{!}} {{{Hits}}}
 
{{!}} {{{Hits}}}
 
}}
 
}}
|-
+
<!-- CHECK PRODUCED -->
| foo
+
{{#if: {{{Produced|}}} |
| bar
+
{{!}}-
{{#if: {{{Function|}}} |
+
{{!}} Produced by
{{!-}}
+
{{!}} Function
+
{{!}} {{{Function}}}
+
}}
+
{{#if: {{{Used|}}} |
+
{{!-}}
+
{{!}} Used by
+
{{!}} {{{Used}}}
+
{{!-}}
+
{{!}} Pickup
+
{{!}} {{{Pickup}}}
+
{{!-}}
+
{{!}} Produced
+
 
{{!}} {{{Produced}}}
 
{{!}} {{{Produced}}}
 
}}
 
}}
|}</includeonly><noinclude>
+
<!-- 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 56: 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}}