Template:Sandbox: Difference between revisions

From leaftidewiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{|
<div style="position:relative; top:0px; left:0px">
|-
<span style="z-index:0>[[Image:Map 2px Border.png|Map]]</span>
<span style="position:absolute; top:2px; left:2px; z-index:1">{{#ifeq:{{{Base Map|}}}||[[Image:Point Map.jpg|Dereth]]|[[Image:{{{Base Map|}}}]]}}</span>
{{#ifeq:{{{Show Towns|}}}||
{{MP Loc | 47.1 | N | 90.3 | W | MP Town | Ahurenga }}
{{MP Loc | 31.2 | S | 13.7 | E | MP Town | Al-Arqas }}
{{MP Loc | 07.4 | N | 04.8 | E | MP Town | Al-Jalima }}
{{MP Loc | 33.2 | N | 56.6 | E | MP Town | Arwic }}
{{MP Loc | 60.0 | S | 88.0 | W | MP Town | Ayan Baqur }}
{{MP Loc | 49.5 | S | 62.5 | E | MP Town | Baishi }}
{{MP Loc | 66.4 | N | 49.9 | E | MP Town | Bandit Castle }}
{{MP Loc | 76.0 | N | 49.0 | W | MP Town | Beach Fort }}
{{MP Loc | 39.4 | N | 75.4 | W | MP Town | Bluespire }}
{{MP Loc | 87.5 | S | 67.2 | W | MP Town | Candeth Keep }}
{{MP Loc | 25.7 | N | 49.2 | E | MP Town | Cragstone }}
{{MP Loc | 23.4 | N | 28.7 | W | MP Town | Danby's Outpost }}
{{MP Loc | 08.1 | S | 73.0 | E | MP Town | Dryreach }}
{{MP Loc | 17.6 | N | 63.3 | E | MP Town | Eastham }}
{{MP Loc | 90.3 | N | 43.1 | W | MP Town | Eastwatch Outpost }}
{{MP Loc | 95.9 | N | 56.8 | W | MP Town | Fiun Outpost }}
{{MP Loc | 01.5 | N | 71.8 | W | MP Town | Fort Tethana }}
{{MP Loc | 29.6 | N | 27.2 | E | MP Town | Glenden Wood }}
{{MP Loc | 43.2 | N | 66.8 | W | MP Town | Greenspire }}
{{MP Loc | 39.1 | S | 83.2 | E | MP Town | Hebian-To }}
{{MP Loc | 42.3 | N | 33.7 | E | MP Town | Holtburg }}
{{MP Loc | 83.3 | S | 47.1 | E | MP Town | Kara }}
{{MP Loc | 47.6 | S | 24.7 | E | MP Town | Khayyaban }}
{{MP Loc | 74.6 | S | 84.5 | E | MP Town | Kryst }}
{{MP Loc | 54.5 | S | 73.1 | E | MP Town | Lin }}
{{MP Loc | 77.6 | S | 28.0 | E | MP Town | Linvak Tukal }}
{{MP Loc | 00.9 | N | 51.1 | E | MP Town | Lytelthorpe }}
{{MP Loc | 74.2 | S | 92.3 | E | MP Town | MacNiall's Freehold }}
{{MP Loc | 10.6 | S | 17.1 | E | MP Town | Ma'ruun }}
{{MP Loc | 61.6 | S | 81.9 | E | MP Town | Mayoi }}
{{MP Loc | 79.9 | N | 59.1 | E | MP Town | Merwart Village }}
{{MP Loc | 64.8 | N | 13.5 | E | MP Town | Crater Village }}
{{MP Loc | 52.5 | S | 82.1 | E | MP Town | Nanto }}
{{MP Loc | 69.6 | N | 17.6 | E | MP Town | Neydisa Castle }}
{{MP Loc | 02.3 | N | 95.5 | E | MP Town | Oolutanga's Refuge }}
{{MP Loc | 44.2 | N | 43.4 | W | MP Town | Plateau Village }}
{{MP Loc | 74.4 | S | 19.3 | E | MP Town | Qalaba'r }}
{{MP Loc | 40.6 | N | 83.0 | W | MP Town | Redspire }}
{{MP Loc | 10.8 | N | 58.7 | E | MP Town | Rithwic }}
{{MP Loc | 02.8 | S | 19.4 | E | MP Town | Samsur }}
{{MP Loc | 71.9 | N | 61.1 | W | MP Town | Sanamar }}
{{MP Loc | 28.7 | S | 59.3 | E | MP Town | Sawato }}
{{MP Loc | 33.5 | S | 72.8 | E | MP Town | Shoushi }}
{{MP Loc | 87.3 | N | 70.5 | W | MP Town | Silyun }}
{{MP Loc | 68.8 | N | 21.6 | W | MP Town | Stonehold }}
{{MP Loc | 44.2 | N | 78.0 | W | MP Town | Timaru }}
{{MP Loc | 28.0 | S | 95.7 | E | MP Town | Tou-Tou }}
{{MP Loc | 14.0 | S | 05.3 | E | MP Town | Tufa }}
{{MP Loc | 25.2 | S | 28.3 | E | MP Town | Uziz }}
{{MP Loc | 61.9 | S | 51.4 | W | MP Town | Wai Jhou }}
{{MP Loc | 72.8 | N | 73.4 | W | MP Town | Westwatch Outpost }}
{{MP Loc | 41.8 | S | 16.0 | E | MP Town | Xarabydun }}
{{MP Loc | 12.1 | S | 42.4 | E | MP Town | Yanshi }}
{{MP Loc | 21.6 | S | 01.7 | W | MP Town | Yaraq }}
{{MP Loc | 13.7 | N | 00.6 | E | MP Town | Zaikhal }}
|
|
{|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
{|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:{{{Subclass|}}}|||<br>{{#ifeq:{{{Title|}}}||[[:Category:{{{Subclass|}}}|({{{Subclass|}}})]]|{{{Title|}}}}}}}}}
|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=left| Self
|align=right| '''{{#ifeq:{{{Self|}}} | | ?? | {{{Self}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkred>Health
|align=right| <font color=darkred>'''{{#ifeq:{{{Health|}}} | | ?? | {{{Health}}} }}'''
|width=1|
|-
|width=1|
!align=left| <font color=darkgoldenrod>Stamina
|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|
|-
|}
|}
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
!align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9;"| {{#ifexist:File:{{{Image|}}}|[[File:{{{Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]]}}
|}
|-
|align=center colspan=2|
{|cellpadding=2 style="width:634px; border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=6| '''[[Trophies]]'''
|-
|valign=top colspan=6 align=center| '''{{#ifeq:{{{Trophies|}}}||??|{{{Trophies}}}}}'''
|-
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Common Attacks'''
|bgcolor=#d0d0d0 align=center valign=top colspan=3 width=310| '''Weaknessess'''
|-
|valign=top colspan=3 align=center| {{#ifeq:{{{Attacks|}}}||??|{{{Attacks}}}}}
|valign=top colspan=3 align=center| {{#ifeq:{{{Weaknesses|}}}||??|{{{Weaknesses}}}}}
|-
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee A'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile A'''
|bgcolor=#d0d0d0 align=center valign=top| '''Magic A'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Melee D'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Missile D'''
|bgcolor=#d0d0d0 align=center valign=top width=100| '''Magic D'''
|-
|valign=top align=center| {{#ifeq:{{{Melee Attack}}}||&nbsp;|{{{Melee Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Attack}}}||&nbsp;|{{{Missile Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Attack}}}||&nbsp;|{{{Magic Attack}}}}}
|valign=top align=center| {{#ifeq:{{{Melee Defense}}}||&nbsp;|{{{Melee Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Missile Defense}}}||&nbsp;|{{{Missile Defense}}}}}
|valign=top align=center| {{#ifeq:{{{Magic Defense}}}||&nbsp;|{{{Magic Defense}}}}}
|-
|}
|}
{{#ifeq:{{lc:{{{Boss|}}}}} | true | [[Category:Boss Creature]] | }}[[Category:Creature]] {{#if: {{{Class|}}} | [[Category:{{{Class}}}]] {{#ifeq: {{{Subclass| }}} | {{{Subclass|u}}} | {{#if:{{{Subclass|}}} | [[Category:{{{Subclass}}}]] | }} | }} }}</includeonly><noinclude>
{{Related|Wiki Templates|Creature Template}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Creature
|            Name =
|          Image =
|          Class =
|        Subclass =
|            Boss =
|          Level =
|        Strength =
|      Endurance =
|    Coordination =
|      Quickness =
|          Focus =
|            Self =
|          Health =
|        Stamina =
|            Mana =
|  Melee Defense =
|    Melee Attack =
| Missile Defense =
|  Missile Attack =
|  Magic Defense =
|    Magic Attack =
|              XP =
|      Weaknesses =
|        Attacks =
|        Trophies =
}}
}}
<span style="position:absolute; top:{{#ifeq: {{uc:{{{2|0}}}}}
</pre>
| N
 
| {{#expr: 128-2-{{{1|0}}}/102.8*128 round 0}}
== Usage ==
| {{#expr: 128-2+{{{1|0}}}/102.8*128 round 0}} }}px; left:{{#ifeq: {{uc:{{{4|0}}}}}
This is a component template that is part of a [[Page Template]]. See [[Creature Template]] for details on usage and examples.
| E
 
| {{#expr: 128-2+{{{3|0}}}/102.8*128 round 0}}
[[Category:Wiki Template]]
| {{#expr: 128-2-{{{3|0}}}/102.8*128 round 0}} }}px; z-index:2">{{#ifeq:{{{4| }}} | {{{4|u}}} 
</noinclude>
| [[Image:Map Point {{ucfirst:{{{Marker|Large}}}}}.png|{{{5|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{7|0}}}}}
| N
| {{#expr: 128-2-{{{6|0}}}/102.8*128 round 0}}
| {{#expr: 128-2+{{{6|0}}}/102.8*128 round 0}} }}px; left:{{#ifeq: {{uc:{{{9|0}}}}}
| E
| {{#expr: 128-2+{{{8|0}}}/102.8*128 round 0}}
| {{#expr: 128-2-{{{8|0}}}/102.8*128 round 0}} }}px; z-index:2">{{#ifeq:{{{9| }}} | {{{9|u}}} 
| [[Image:Map Point {{ucfirst:{{{Marker|Large}}}}}.png|{{{10|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{12|0}}}}}
| N
| {{#expr: 128-2-{{{11|0}}}/102.8*128 round 0}}
| {{#expr: 128-2+{{{11|0}}}/102.8*128 round 0}} }}px; left:{{#ifeq: {{uc:{{{14|0}}}}}
| E
| {{#expr: 128-2+{{{13|0}}}/102.8*128 round 0}}
| {{#expr: 128-2-{{{13|0}}}/102.8*128 round 0}} }}px; z-index:2">{{#ifeq:{{{14| }}} | {{{14|u}}} 
| [[Image:Map Point {{ucfirst:{{{Marker|Large}}}}}.png|{{{15|Point}}}]]
| }}</span>
<span style="position:absolute; top:{{#ifeq: {{uc:{{{17|0}}}}}
| N
| {{#expr: 128-2-{{{16|0}}}/102.8*128 round 0}}
| {{#expr: 128-2+{{{16|0}}}/102.8*128 round 0}} }}px; left:{{#ifeq: {{uc:{{{19|0}}}}}
| E
| {{#expr: 128-2+{{{18|0}}}/102.8*128 round 0}}
| {{#expr: 128-2-{{{18|0}}}/102.8*128 round 0}} }}px; z-index:2">{{#ifeq:{{{19| }}} | {{{19|u}}} 
| [[Image:Map Point {{ucfirst:{{{Marker|Large}}}}}.png|{{{20|Point}}}]]
| }}</span>
</div>
</includeonly>

Revision as of 17:28, 19 December 2009

Related topics: Wiki Templates, Creature Template

Syntax

{{Creature
 |            Name = 
 |           Image = 
 |           Class = 
 |        Subclass = 
 |            Boss = 
 |           Level = 
 |        Strength = 
 |       Endurance = 
 |    Coordination = 
 |       Quickness = 
 |           Focus = 
 |            Self = 
 |          Health = 
 |         Stamina = 
 |            Mana = 
 |   Melee Defense = 
 |    Melee Attack = 
 | Missile Defense = 
 |  Missile Attack = 
 |   Magic Defense = 
 |    Magic Attack = 
 |              XP = 
 |      Weaknesses = 
 |         Attacks = 
 |        Trophies = 
}}

Usage

This is a component template that is part of a Page Template. See Creature Template for details on usage and examples.