Difference between revisions of "Template:Quest infobox"

From LugdunonWiki
Jump to: navigation, search
Line 7: Line 7:
 
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Statistics
 
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; padding:0em;" | Statistics
 
|-
 
|-
| style="width:100px" | '''Type'''
+
| style="width:100px" | '''Quest series'''
| {{{type}}}{{#if: {{{type2|}}} |  – {{{type2}}} }}
+
| {{{series}}}
 
|-
 
|-
{{#if: {{{damage|}}}|
+
{{#if: {{{release_date|}}}|
{{!}} '''Damage'''
+
{{!}} '''Release date'''
{{!}} {{{damage|}}} }}
+
{{!}} {{{release_date|}}} }}
 
|-
 
|-
{{#if: {{{defense|}}}|
+
{{#if: {{{difficulty|}}}|
{{!}} '''Defense'''
+
{{!}} '''Official difficulty'''
{{!}} {{{defense|}}} }}
+
{{!}} {{{difficulty|}}} }}
 
|-
 
|-
{{#if: {{{bonus|}}}|
+
{{#if: {{{length|}}}|
{{!}} '''Bonus'''
+
{{!}} '''Official length'''
 
{{!}} {{{bonus|}}} }}
 
{{!}} {{{bonus|}}} }}
 
|-
 
|-
{{#if: {{{pick|}}}|
+
{{#if: {{{developer|}}}|
{{!}} '''Power'''
+
{{!}} '''Developer'''
{{!}} {{{pick|}}} }}
+
{{!}} {{{developer|}}} }}
 
|-
 
|-
{{#if: {{{knockback|}}}|
 
{{!}} '''[[Knockback]]'''
 
{{!}} {{{knockback|}}} }}
 
|-
 
{{#if: {{{placeable |}}}|
 
{{!}} '''[[Placement|Placeable]]'''
 
{{!}} {{{placeable|}}} }}
 
|-
 
{{#if: {{{width|}}}{{{height|}}}|
 
{{!}} '''Dimensions'''
 
{{!}} {{#if: {{{width|}}}|{{{width}}} wide}}{{#switch: |{{{width|}}}|{{{height|}}}=| ˣ }}{{#if:{{{height|}}}|{{{height}}} high}}}}
 
|-
 
{{#if: {{{stack|}}}|
 
{{!}} '''Max stack'''
 
{{!}} {{{stack|}}} }}
 
|-
 
{{#if: {{{mana|}}}|
 
{{!}} '''[[Mana]]'''
 
{{!}} {{{mana|}}} }}
 
|-
 
{{#if: {{{mregen|}}}|
 
{{!}} '''[[Mana]] regen'''
 
{{!}} {{{mregen|}}} }}
 
|-
 
{{#if: {{{mheal|}}}|
 
{{!}} '''Heal [[Mana]]'''
 
{{!}} {{{mheal|}}} }}
 
|-
 
{{#if: {{{lregen|}}}|
 
{{!}} '''Life regen'''
 
{{!}} {{{lregen|}}}}}
 
|-
 
{{#if: {{{hheal|}}}|
 
{{!}} '''Heal [[Health]]'''
 
{{!}} {{{hheal|}}}}}
 
|-
 
{{#if: {{{sspeed|}}}|
 
{{!}} '''[[Velocity]]'''
 
{{!}} {{{sspeed|}}}}}
 
|-
 
{{#if: {{{velocity|}}}|
 
{{!}} '''[[Velocity]]'''
 
{{!}} {{{velocity|}}}}}
 
|-
 
{{#if: {{{rare|}}}|
 
{{!}} '''[[Rarity]]'''
 
{{!}} {{rare2| {{{rare|}}} }} }}
 
|-
 
{{#if: {{{body slot|}}}|
 
{{!}} '''Body slot'''
 
{{!}} {{{body slot|}}}}}
 
|-
 
{{#if: {{{use|}}}|
 
{{!}} '''[[Use time]]'''
 
{{!}} {{{use|}}}}}
 
|-
 
{{#if: {{{toolspeed|}}}|
 
{{!}} '''Tool speed'''
 
{{!}} {{{toolspeed|}}}}}
 
|-
 
{{#if: {{{tool|}}}|
 
{{!}} '''Tool'''
 
{{!}} {{{tool|}}}}}
 
|-
 
{{#if: {{{tooltip|}}}|
 
{{!}} style="vertical-align:middle" {{!}} '''Tooltip'''
 
{{!}} ''{{{tooltip|}}}'' }}
 
|-
 
{{#if: {{{buff|}}}|
 
{{!}} style="vertical-align:middle; background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} '''Grants [[buff]]'''
 
{{!}} style="background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} <span style="white-space:nowrap">{{#ifeq:{{{bufflink|}}}|yes|'''{{item link|{{{buff}}}}}'''|'''{{item|{{{buff}}}}}'''}}</span> }}
 
|-
 
{{#if: {{{duration|}}}|
 
{{!}} style="background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} <span style="white-space:nowrap">'''Buff duration'''</span>
 
{{!}} style="background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} {{{duration|}}} }}
 
|-
 
{{#if: {{{bufftip|}}}|
 
{{!}} style="vertical-align:middle; background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} '''Buff tooltip'''
 
{{!}} style="background:#E4F0F7; border:#E4F0F7 1px solid;" {{!}} ''{{{bufftip|}}}'' }}
 
|-
 
{{#if: {{{buy|}}}{{{sell|}}}|
 
{{!}} '''[[Value|{{#if: {{{buy|}}}|Buy}}{{#switch: |{{{buy|}}}|{{{sell|}}}=|&nbsp;/&nbsp;}}{{#if:{{{sell|}}}|Sell}}]]'''
 
{{!}} {{#if: {{{buy|}}}|{{{buy}}}}}<!--
 
  -->{{#switch: |{{{buy|}}}|{{{sell|}}}=|&nbsp;/&nbsp;}}<!--
 
  -->{{#if:{{{sell|}}}|{{{sell}}}}}}}
 
 
{{#if:{{{id|}}}|
 
{{#if:{{{id|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="3" style="padding-top:3px" {{!}} <!--nothing-->
 
{{!}} colspan="3" style="padding-top:3px" {{!}} <!--nothing-->
 
{{!}}-
 
{{!}}-
! colspan="3" style="font-size:85%; background-color: #E4F0F7; color: #063B5E; border-top:1px #bbb solid" {{!}} Internal [[Item IDs|Item ID]]: '''{{{id}}}''' }}
+
! colspan="3" style="font-size:85%; background-color: #E4F0F7; color: #063B5E; border-top:1px #bbb solid" }}
 
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
 
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}} items]]}}<!--
 
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}} items]]}}<!--
 
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumable items]]}}<!--
 
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
 +
 
{{clear}}
 
{{clear}}
  
 
==Usage:==
 
==Usage:==
* The attribute sspeed is the same attribute as velocity (which is a replacement for sspeed).
 
* Everything is optional;
 
 
* you can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
 
* you can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
 
<pre>
 
<pre>
{{item infobox
+
{{quest infobox
 
| boxwidth = optional: width of infobox
 
| boxwidth = optional: width of infobox
 
| type =  
 
| type =  

Revision as of 09:15, 17 February 2015

Quest infobox
File:Quest infobox.png
Statistics
Quest series {{{series}}}

Usage:

  • you can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
{{quest infobox
| boxwidth = optional: width of infobox
| type = 
| damage = 
| defense = 
| bonus = 
| pick = 
| knockback = 
| placeable = 
| width =
| height =
| stack = 
| mana = 
| mregen = 
| mheal = 
| lregen = 
| hheal = 
| tooltip = 
| consumable = 
| velocity = 
| rare = 
| body slot = 
| use = 
| toolspeed =
| tool = 
| buy  = 
| sell = 
| id = 
}}