Dawn of Crafting Wiki
Line 4: Line 4:
 
! style="font-family: 'D3Stonism'; font-size: 16px; color:#6d6362;" colspan="4" | Construction:
 
! style="font-family: 'D3Stonism'; font-size: 16px; color:#6d6362;" colspan="4" | Construction:
 
|-
 
|-
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|100x100px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} style="font-family: 'D3Stonism'; font-size: 14px; color:#6d6362; text-align:left;" | {{{name}}}<br>Construction required:{{#if: {{{consreq|}}} | {{!}} {{{consreq}}} }}<br>Sucess chance: {{#if: {{{consreq|}}} | {{!}} {{{consreq}}} }}<br>
+
{{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|100x100px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} style="font-family: 'D3Stonism'; font-size: 14px; color:#6d6362; text-align:left;" | {{{name}}}<br>Construction required:{{#if: {{{consreq|}}} | {{!}} {{{consreq}}} }}<br>Sucess chance: {{#if: {{{chance|}}} | {{!}} {{{chance}}} }}<br>
 
|-
 
|-
 
{{#if: {{{icon1|}}} | ! {{!}} [[File:{{{icon1}}}{{!}}{{{size|80x80px}}}]] |{{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} {{#if: {{{icon2|}}} | ! {{!}} [[File:{{{icon2}}}{{!}}{{{size|80x80px}}}]] | {{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} {{#if: {{{icon3|}}} | !{{!}} [[File:{{{icon3}}}{{!}}{{{size|80x80px}}}]] |{{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} [[File:ZPrimitiveHammer.png|40px]] {{!!}} {{#if: {{{icon4|}}} | ! {{!}} [[File:{{{icon4}}}{{!}}{{{size|80x80px}}}]] | {{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
{{#if: {{{icon1|}}} | ! {{!}} [[File:{{{icon1}}}{{!}}{{{size|80x80px}}}]] |{{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} {{#if: {{{icon2|}}} | ! {{!}} [[File:{{{icon2}}}{{!}}{{{size|80x80px}}}]] | {{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} {{!!}} {{#if: {{{icon3|}}} | !{{!}} [[File:{{{icon3}}}{{!}}{{{size|80x80px}}}]] |{{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }} [[File:ZPrimitiveHammer.png|40px]] {{!!}} {{#if: {{{icon4|}}} | ! {{!}} [[File:{{{icon4}}}{{!}}{{{size|80x80px}}}]] | {{!}} [[File:Menu containerslot.png{{!}}{{{size|60x60px}}}]] {{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}

Revision as of 12:41, 24 April 2017


Construction:
No image yet {{{name}}}
Construction required:
Sucess chance:
Menu containerslot.png Menu containerslot.png Menu containerslot.png ZPrimitiveHammer.png Menu containerslot.png
Template-info.png Documentation

This is just a generic infobox with a few sample fields

Usage

{{Infobox
| name     = 
| image    = 
| size     = //optional, default is 250x250px
| consreq  = 
| chance   =
| icon1   = 
| icon2   = 
| icon3  = 
| icon4     =
| slots =
| expl =
| burnEnergy =
}}

Example

Construction:
Curse hydra.png Hydra guy
Construction required:
Sucess chance:
Menu containerslot.png Menu containerslot.png Menu containerslot.png ZPrimitiveHammer.png Menu containerslot.png
{{Infobox
| name     = Hydra guy
| image    = Curse hydra.png
| consreq  = 
| chance   =
| icon1   = 
| icon2   = 
| icon3  = 
| icon4     =
| slots =
| expl =
| burnEnergy =
}}