Template:Sandbox: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>{|
<includeonly>[[Category:Portal Gem]]
|-
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
|
{|
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|colspan=2 align=center|'''{{{Name|??}}}'''
{|cellpadding=1 style="background:#f9f9f9; vertical-align:top;"
|-
|align=center colspan=4 height=26|'''<big>{{{Name|}}}</big>'''
|-
|colspan=4|
----
|-
|colspan=4|
{|style="width:100%; background:#f9f9f9;"
|align=left width=32| {{#ifeq:{{{Class|}}}|Misc. Creature Class|{{#ifexist:File:{{strip|{{{Subclass|}}}}} Icon.png|[[File:{{strip|{{{Subclass|}}}}} Icon.png|link={{strip|{{{Subclass|}}}}}]]|[[File:Misc. Creature Class Icon.png|link={{strip|{{{Subclass|}}}}}]]}}|{{#ifexist:File:{{strip|{{{Class|}}}}} Icon.png|[[File:{{strip|{{{Class|}}}}} Icon.png|link={{strip|{{{Class|}}}}}]]|}}}}
|align=center width=200| {{#ifeq:{{{Class|}}}|Misc. Creature Class|'''[[{{{Class}}}{{!}}{{{Subclass}}}]]'''|'''[[{{{Class}}}]]'''}}{{#ifeq:{{{Title|}}}|||<br>'''{{{Title|}}}'''}}{{#ifeq:{{{Subclass|}}}|||<br>[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]}}
|align=center| '''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level}}}}}</span>
|}
|-
|colspan=4|
----
|-
|width=1|
!align=left| Strength
|align=right| '''{{#ifeq:{{{Strength|}}} | | ?? | {{{Strength}}} }}'''
|width=1|
|-
|width=1|
!align=left| Endurance
|align=right| '''{{#ifeq:{{{Endurance|}}} | | ?? | {{{Endurance}}} }}'''
|width=1|
|-
|width=1|
!align=left| Coordination
|align=right| '''{{#ifeq:{{{Coordination|}}} | | ?? | {{{Coordination}}} }}'''
|width=1|
|-
|width=1|
!align=left| Quickness
|align=right| '''{{#ifeq:{{{Quickness|}}} | | ?? | {{{Quickness}}} }}'''
|width=1|
|-
|width=1|
!align=left| Focus
|align=right| '''{{#ifeq:{{{Focus|}}} | | ?? | {{{Focus}}} }}'''
|width=1|
|-
|-
|width=1|
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
!align=left| Self
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2| Cooldown When Used: 30s
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|-
|width=1|
|colspan=2|  
!align=left| <font color=darkgoldenrod>Stamina
{{#ifeq:{{{Description|}}}|||{{#ifeq:{{{Description| }}}| ||{{{Description}}}<br><br>}}}}{{#ifeq:{{{Special Properties|}}}|||{{#ifeq:{{{Special Properties| }}}| ||[[Special Properties]]: {{{Special Properties}}}<br><br>}}}}{{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}| ||{{{Description Two}}}<br><br>}}}}{{#ifeq:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br><br>}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq: {{lc:{{{Cannot Be Sold|}}} }}|true|<br>This item cannot be sold.<br>|}}
|align=right| <font color=darkgoldenrod>'''{{#ifeq:{{{Stamina|}}} | | ?? | {{{Stamina}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkblue>Mana
|align=right| <font color=darkblue>'''{{#ifeq:{{{Mana|}}} | | ?? | {{{Mana}}} }}'''
|width=1|
|-
|colspan=4|
----
|-
|width=1|
!align=left| <font color=darkgreen>XP
|align=right| <font color=darkgreen>'''{{#ifeq:{{{XP|}}} | | ?? | {{{XP}}}xp }}'''
|width=1|
|-
|width=1|
!align=left| <font color=purple>Luminance:
|align=right| <font color=purple>'''{{#ifeq:{{{Luminance|}}} | | ?? | {{{Luminance}}} }}'''
|width=1|
|-
|}
|}
|}
|width=20|
|
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{{#ifeq:{{{Live Image|Live.jpg}}}
{|cellpadding=2
| Live.jpg
!align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9;"| {{#ifexist:File:{{{Image|}}}|[[File:{{{Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]]}}
|  
|}
| {{#ifeq:{{{Live Image|}}}
|-
    |  
|align=center colspan=2|
    |  
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
|-
  }}
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
}}
|-
|}</includeonly><noinclude>
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
{{Related|Wiki Templates|Portal Gem Template}}
|-
== Syntax ==
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
<pre>
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
{{Portal Gem
|-
|               Name =  
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
|         Icon Image = Icon.png
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|         Live Image =
|-
| Live Image Caption =  
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
|             Value =  
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile A'''
|             Burden =
|bgcolor=#d0d0d0 align=center valign=top| '''Magic A'''
|       Description =  
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee D'''
| Special Properties =  
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile D'''
|   Description Two =  
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Magic D'''
|         Level Req =  
|-
|             Spells =  
|valign=top align=center| {{#ifeq:{{{Melee Attack}}}||&nbsp;|{{{Melee Attack}}}}}
|   Activation Reqs =  
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||&nbsp;|{{{Missile Attack}}}}}
|         Spellcraft =
|valign=top align=center| {{#ifeq:{{{Magic Attack}}}||&nbsp;|{{{Magic Attack}}}}}
|               Mana =
|valign=top align=center| {{#ifeq:{{{Melee Defense}}}||&nbsp;|{{{Melee Defense}}}}}
|     Cannot Be Sold =
|valign=top align=center| {{#ifeq:{{{Missile Defense}}}||&nbsp;|{{{Missile Defense}}}}}
}}
|valign=top align=center| {{#ifeq:{{{Magic Defense}}}||&nbsp;|{{{Magic Defense}}}}}
</pre>
|-
 
|}
== Usage ==
|}
This wiki template is a section within the page template [[Portal Gem Template]], go there for full details and an example.
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>
 
[[Category:Wiki Template]]
</noinclude>

Revision as of 17:37, 3 December 2010

Related topics: Wiki Templates, Portal Gem Template

Syntax

{{Portal Gem
 |               Name = 
 |         Icon Image =  Icon.png
 |         Live Image =  
 | Live Image Caption = 
 |              Value = 
 |             Burden = 
 |        Description = 
 | Special Properties = 
 |    Description Two = 
 |          Level Req = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |     Cannot Be Sold = 
}}

Usage

This wiki template is a section within the page template Portal Gem Template, go there for full details and an example.