Template:Sandbox: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Immortalbob
(Undo revision 345597 by Immortalbob (talk))
imported>An Adventurer
(more category testing)
 
(47 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Weapon]]{{#switch:{{lc:{{{Weapon Type|}}}}}
<includeonly>{|style="border-collapse:collapse; float:right"
| axe = [[Category:Axe]]
| dagger = [[Category:Dagger]]
| mace = [[Category:Mace]]
| spear = [[Category:Spear]]
| staff = [[Category:Staff]]
| sword = [[Category:Sword]]
| two handed = [[Category:Two Handed Weapon]]
| thw = [[Category:Two Handed Weapon]]
| two handed weapon = [[Category:Two Handed Weapon]]
| two handed weapons = [[Category:Two Handed Weapon]]
| two handed combat = [[Category:Two Handed Weapon]]
| ua = [[Category:UA Weapon]]
| unarmed = [[Category:UA Weapon]]
| unarmed combat = [[Category:UA Weapon]]
| unarmed weapon = [[Category:UA Weapon]]
}}{{#switch:{{lc:{{{Weapon Type|}}}}}
| bow = [[Category:Bow]]
| crossbow = [[Category:Crossbow]]
| tw = [[Category:Thrown Weapon]]
| thrown weapons = [[Category:Thrown Weapon]]
| thrown weapon = [[Category:Thrown Weapon]]
}}
{{#switch:{{lc:{{{Weapon Skill|}}}}}
| heavy = [[Category:Heavy Combat]]
| light = [[Category:Light Combat]]
| finesse = [[Category:Finesse Combat]]
}}
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
|
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
{|class="character-infobox columnstop;" style="margin-bottom:-10px; border-bottom:0px;"
!colspan=2|{{{Name|Name}}}
!colspan="2" class="worldbgc"|{{{Name}}}
|-
|-
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
|colspan="2" style="text-align:center;"|'''{{{Status|}}}'''
|width=40 align=center| [[Image:{{{Icon Image|Icon.png}}}]]
|-
|-
|colspan=2|  
|colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}}
{{#ifeq:{{{Description|}}}|||{{{Description|}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br><br>}}{{#ifeq:{{{Damage|}}}|||Damage: {{{Damage|?? - ??}}}{{#ifeq:{{{Buffed Damage|}}}|||<b><font color=green> ({{{Buffed Damage|}}})</font></b>}}, {{{Element|??}}}}}{{#ifeq:{{{Damage|}}}|||<br>}}{{#ifeq:{{{Speed|}}}|||Speed: {{{Speed|??}}}}}{{#ifeq:{{{Buffed Speed|}}}||| <b><font color=green> ({{{Buffed Speed|}}})</font></b>}}<br>{{#ifeq:{{{Weapon Skill|}}}|||Uses {{{Weapon Skill|}}} Skill<br>}}{{#ifeq:{{{Bonus to Attack|}}}|||Bonus to Attack Skill: +{{{Bonus to Attack|}}}%}}{{#ifeq:{{{Buffed Attack|}}}|||<b><font color=green> ({{{Buffed Attack|}}}%)</font></b>}}{{#ifeq:{{{Bonus to Attack|}}}|||<br>}}{{#ifeq:{{{Bonus to Defense|}}}|||Bonus to Melee Defense: +{{{Bonus to Defense|}}}%}}{{#ifeq:{{{Buffed Defense|}}}|||<b><font color=green> ({{{Buffed Defense|}}}%)</font></b>}}{{#ifeq:{{{Bonus to Defense|}}}|||<br>}}{{#ifeq:{{{Defense|}}}|||Bonus to Melee Defense: {{{Defense|}}}<br>}}{{#ifeq:{{{Bonus to Missile|}}}|||Bonus to Missile Defense: +{{{Bonus to Missile|}}}%<br>}}{{#ifeq:{{{Bonus to Magic|}}}|||Bonus to Magic Defense: +{{{Bonus to Magic|}}}%<br>}}<br>{{#ifeq:{{{Special Req|}}}|||{{{Special Req|}}}<br><br>}}{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}{{#ifeq:{{{Level Req|}}}|||You must be at least level {{{Level Req|}}} to wield this item.<br>}}{{#ifeq:{{{Base Weapon Req|}}}|||Your base {{{Weapon Type}}} must be at least {{{Base Weapon Req|}}} to wield this item.<br>}}{{#ifeq:{{{Buffed Weapon Req|}}}|||Your {{{Weapon Type}}} must be at least {{{Buffed Weapon Req|}}} to wield this item.<br>}}{{#ifeq:{{{Level Req|}}}||{{#ifeq:{{{Base Weapon Req|}}}||{{#ifeq:{{{Buffed Weapon Req|}}}|||<br>}}|<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:{{{Mana Cost|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|<br>This item cannot be sold.<br>|}}
|-
|-
{{#if:{{{Race|}}}|{{!}}style="width:100px"{{!}}'''Race'''
{{!}}{{{Race}}}}}
|-
{{#if:{{{Title|}}}|{{!}}'''Title'''
{{!}}{{{Title}}}}}
|-
|'''Location'''
|{{{Location|}}}
|}
|}
|width=20|
|-
|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
| Live.jpg
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Stats
|  
|-
| {{#ifeq:{{{Live Image|}}}
|style="width:100px"|'''Level'''
    |  
|{{{Level|}}}
    |  
|-
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
|'''Strength'''
  }}
|{{{Strength|}}}
|-
|'''Endurance'''
|{{{Endurance|}}}
|-
|'''Coordination'''
|{{{Coordination|}}}
|-
|'''Quickness'''
|{{{Quickness|}}}
|-
|'''Focus'''
|{{{Focus|}}}
|-
|'''Self'''
|{{{Self|}}}
|-
|'''Health'''
|{{{Health|}}}
|-
|'''Stamina'''
|{{{Stamina|}}}
|-
|'''Mana'''
|{{{Mana|}}}
|}
|}
<!-- Categories -->
{{#switch:{{{Race|}}}
| Aluvian | Female Aluvian | Male Aluvian = [[Category:Aluvian NPCs]]
| Gharun'dim | Female Gharun'dim | Male Gharun'dim = [[Category:Gharun'dim NPCs]]
| Sho | Female Sho | Male Sho = [[Category:Sho NPCs]]
| Viamontian | Female Viamontian | Male Viamontian = [[Category:Viamontian NPCs]]
| Shadow | Female Shadow | Male Shadow | Umbraen | Female Umbraen | Male Umbraen | Penumbraen | Female Penumbraen | Male Penumbraen = [[Category:Shadow NPCs]]
| Gear Knight | Female Gear Knight | Male Gear Knight | Gearknight | Female Gearknight | Male Gearknight = [[Category:Gear Knight NPCs]]
| Undead | Female Undead | Male Undead  | Mu-miyah | Female Mu-miyah | Male Mu-miyah | Ghost | Female Ghost | Male Ghost | Skeleton | Female Skeleton | Male Skeleton = [[Category:Undead NPCs]]
| Empyrean | Female Empyrean | Male Empyrean | Yalain | Female Yalain | Male Yalain | Yalaini | Female Yalaini | Male Yalaini = [[Category:Empyrean NPCs]]
| Tumerok | Female Tumerok | Male Tumerok | Aun Tumerok | Female Aun Tumerok | Male Aun Tumerok | Hea Tumerok | Female Hea Tumerok | Male Hea Tumerok = [[Category:Tumerok NPCs]]
| Lugian | Female Lugian | Male Lugian | Gotrok | Female Gotrok | Male Gotrok | Gotrok Lugian | Female Gotrok Lugian | Male Gotrok Lugian = [[Category:Lugian NPCs]]
| A'nekshay | Female A'nekshay | Male A'nekshay = [[Category:A'nekshay NPCs]]
| Banderling | Female Banderling | Male Banderling = [[Category:Banderling NPCs]]
| Burun | Female Burun | Male Burun | Ruuk | Female Ruuk | Male Ruuk | Burun Ruuk | Female Burun Ruuk | Male Burun Ruuk | Guruk | Female Guruk | Male Guruk | Burun Guruk | Female Burun Guruk | Male Burun Guruk | Kukuur | Female Kukuur | Male Kukuur | Burun Kukuur | Female Burun Kukuur | Male Burun Kukuur = [[Category:Burun NPCs]]
| Drudge | Female Drudge | Male Drudge = [[Category:Drudge NPCs]]
| Fiun | Female Fiun | Male Fiun = [[Category:Fiun NPCs]]
| Mosswart | Female Mosswart | Male Mosswart = [[Category:Mosswart NPCs]]
| Ruschk | Female Ruschk | Male Ruschk = [[Category:Ruschk NPCs]]
| Tusker | Female Tusker | Male Tusker = [[Category:Tusker NPCs]]
| Virindi | Female Virindi | Male Virindi = [[Category:Virindi NPCs]]
}}
}}
|}</includeonly><noinclude>
</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]
{{Related|Wiki Templates|Melee Weapon Template}}
 
== Syntax ==
== Syntax ==
<pre>
<pre>
{{Melee Weapon
{{Sandbox
  |       Weapon Type =
  |
|              Name =
|        Icon Image =  Icon.png
|        Live Image =  Live.jpg
| Live Image Caption =
|
|              Value =
|            Burden =
|        Description =
| Special Properties =
|
|            Damage =
|      Buffed Damage =
|            Element =
|              Speed =
|      Buffed Speed =
|    Bonus to Attack =
|      Buffed Attack =
|  Bonus to Defense =
|    Buffed Defense =
|  Bonus to Missile =
|    Bonus to Magic =
|
|    Player Attuned =
|          Level Req =
|    Base Weapon Req =
|  Buffed Weapon Req =
|        Special Req =
|
|            Spells =
|    Activation Reqs =
|        Spellcraft =
|              Mana =
|          Mana Cost =
|    Cannot Be Sold = False
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
This template is one component of the page template [[Melee Weapon Stat Template]], full details and an example can be found there.
This template is for testing purposes only


[[Category:Wiki Template]]
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 08:06, 20 July 2021

Template Documentation: |_}}/Doc?action=edit Edit Documentation

Sandbox Documentation

Syntax

{{Sandbox
 |
}}

Usage

This template is for testing purposes only