Dawn of Crafting Wiki
(<default import>)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
<!-- Under construction -->
  +
 
{| class="infoboxtable"
 
{| class="infoboxtable"
  +
! 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: {{{chance|}}} | {{!}} {{{chance}}} }}<br>
! colspan="2" class="infoboxname" | "{{{name}}}"
 
 
|-
 
|-
  +
{{#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: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colspan="2" {{!}} ''No image yet''{{#ifeq: {{NAMESPACE}} | Template | | <includeonly>[[Category:Infoboxes lacking images]]</includeonly>}} }}
 
 
|-
 
|-
 
{{#if: {{{slots|}}} | {{!}} width=80 {{!}} <div>Slots</div> {{!!}} {{{slots}}} }}
! colspan="2" class="infoboxdetails" | Details
 
 
|-
 
|-
{{#if: {{{race|}}} | {{!}} width=80 {{!}} <div>Race</div> {{!!}} {{{race}}} }}
+
{{#if: {{{expl|}}} | {{!}} <div>Explanation:</div> {{!!}} {{{expl}}} }}
 
|-
 
|-
{{#if: {{{location|}}} | {{!}} <div>Location(s)</div> {{!!}} {{{location}}} }}
+
{{#if: {{{burnEnergy|}}} | {{!}} <div>Burn energy:</div> {{!!}} {{{burnEnergy}}} }}
|-
 
{{#if: {{{source|}}} | {{!}} <div>Source</div> {{!!}} {{{source}}} }}
 
|-
 
{{#if: {{{reward|}}} | {{!}} <div>Reward</div> {{!!}} {{{reward}}} }}
 
|-
 
{{#if: {{{related|}}} | {{!}} <div>Related</div> {{!!}} {{{related}}} }}
 
|-
 
{{#if: {{{ID|}}} | {{!}} <div>ID</div> {{!!}} {{{ID}}} }}
 
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 19:18, 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 =
}}