Difference between revisions of "Template:Quest infobox"

From LugdunonWiki
Jump to: navigation, search
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; border-style:solid; border-width:0.1em; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em;"
+
{| class="infobox" style="font-size:89%; width:{{{boxwidth|21em}}}; -moz-border-radius: .7em; -webkit-border-radius: .7em; border-radius: .7em;"
 
|-
 
|-
 
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}}
 
! colspan="2" style="background-color: #E4F0F7; color: #063B5E; font-size:120%; padding:0.5em;" | {{{name|{{BASEPAGENAME}}}}}
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
 
|-
 
|-
{{#if: {{{damage|}}}|
+
| style="width:100px" | '''Quest series'''
{{!}} '''Damage'''
+
| {{{series}}}
{{!}} {{{damage|}}} }}
+
 
|-
 
|-
{{#if: {{{defense|}}}|
+
{{#if: {{{release_date|}}}|
{{!}} '''Defense'''
+
{{!}} '''Release date'''
{{!}} {{{defense|}}} }}
+
{{!}} {{{release_date|}}} }}
 
|-
 
|-
{{#if: {{{bonus|}}}|
+
{{#if: {{{difficulty|}}}|
{{!}} '''Bonus'''
+
{{!}} '''Official difficulty'''
 +
{{!}} {{{difficulty|}}} }}
 +
|-
 +
{{#if: {{{length|}}}|
 +
{{!}} '''Official length'''
 
{{!}} {{{bonus|}}} }}
 
{{!}} {{{bonus|}}} }}
 
|-
 
|-
{{#if: {{{pick|}}}|
+
{{#if: {{{developer|}}}|
{{!}} '''Power'''
+
{{!}} '''Developer'''
{{!}} {{{pick|}}} }}
+
{{!}} {{{developer|}}} }}
 
|-
 
|-
{{#if: {{{knockback|}}}|
+
|}<includeonly>[[Category:Quests]]</includeonly><noinclude>
{{!}} '''[[Knockback]]'''
+
 
{{!}} {{{knockback|}}} }}
+
|-
+
{{#if: {{{placeable |}}}|
+
{{!}} '''[[Placement|Placeable]]'''
+
{{!}} {{{placeable|}}} }}
+
|-
+
{{#if: {{{width|}}}{{{height|}}}|
+
{{!}} '''Dimensions'''
+
{{!}} {{#if: {{{width|}}}|{{{width}}} wide}}{{#switch: |{{{width|}}}|{{{height|}}}=|&nbsp;ˣ&nbsp;}}{{#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|}}}|
+
{{!}}-
+
{{!}} 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}}}''' }}
+
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
+
-->{{#if:{{{type|}}}|[[Category:{{{type}}} items]]}}<!--
+
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}} items]]}}<!--
+
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumable items]]}}<!--
+
-->}}</includeonly><noinclude>
+
 
{{clear}}
 
{{clear}}
  
 
==Usage:==
 
==Usage:==
* The attribute sspeed is the same attribute as velocity (which is a replacement for sspeed).
+
* fill in "None" for the quest series in case the quest is stand-alone
* 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>
 
{{quest infobox
 
{{quest infobox
 
| boxwidth = optional: width of infobox
 
| boxwidth = optional: width of infobox
| type =  
+
| series =  
| damage =  
+
| release_date =  
| defense =  
+
| difficulty =  
| bonus =  
+
| length =  
| pick =
+
| developer =  
| knockback =
+
| placeable =
+
| width =
+
| height =
+
| stack =
+
| mana =
+
| mregen =
+
| mheal =
+
| lregen =
+
| hheal =
+
| tooltip =
+
| consumable =
+
| velocity =
+
| rare =
+
| body slot =
+
| use =
+
| toolspeed =
+
| tool =
+
| buy  =
+
| sell =
+
| id =  
+
 
}}
 
}}
 
</pre>
 
</pre>
  
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 09:38, 17 February 2015

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

Usage:

  • fill in "None" for the quest series in case the quest is stand-alone
  • 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
| series = 
| release_date = 
| difficulty = 
| length = 
| developer = 
}}