Template:Weapon: Difference between revisions

From EotL - End of the Line MUD
Created page with "{| width="250" align="right" cellpadding="3" cellspacing="0" style="clear: right; border: 2px #ccc solid; background: #ccc; border-bottom-right-radius: .8em; border-bottom-lef..."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| width="250" align="right" cellpadding="3" cellspacing="0" style="clear: right; border: 2px #ccc solid; background: #ccc; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #000;"
{| width="250" align="right" class="info-box weapon"


|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" style="background: #ccc; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller; text-align: center;" {{!}} {{{image}}}}}
{{!}} colspan="2" class="info-image" {{!}} {{{image}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #999; border-right: #999; border-left: #999; text-align: center; color: #000; font-size:larger; background-color:#eee; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
| colspan="2" class="info-name" | '''{{{name}}}'''
|-
|-
| colspan="2" style="border-top: 1px solid #999; text-align: center; color: #000; background-color:#ccc; text-align:center; font-size:8pt;" | '''General Information'''
| colspan="2" class="info" | '''General Information'''
|-
{{#if: {{{type|}}}|
{{!}} class="info-label" {{!}} Type:
{{!}} class="info-value" {{!}}
[[:Category:Weapon - {{{type}}}{{!}}{{{type}}}]]}}
|-
{{#if: {{{cabal|}}}|
{{!}} class="info-label" {{!}} Cabal:
{{!}} class="info-value" {{!}}
[[:Category:{{{cabal}}}{{!}}{{{cabal}}}]]}}
|-
|-
{{#if: {{{location|}}}|
{{#if: {{{location|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Location:
{{!}} class="info-label" {{!}} Location:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{location}}}}}
{{{location}}}}}
|-
|-
{{#if: {{{monster|}}}|
{{#if: {{{monster|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Monster:
{{!}} class="info-label" {{!}} Monster:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{monster}}}}}
{{{monster}}}}}
|-
|-
{{#if: {{{requirements|}}}|
{{#if: {{{requirements|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Requirements:
{{!}} class="info-label" {{!}} Requirements:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{requirements}}}}}
{{{requirements}}}}}
|-
|-
{{#if: {{{limit|}}}|
{{#if: {{{limit|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Limit:
{{!}} class="info-label" {{!}} Limit:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{limit}}}}}
{{{limit}}}}}
|-
|-
{{#if: {{{damagetype|}}}|
{{#if: {{{damagetype|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Damage Type:
{{!}} class="info-label" {{!}} Damage Type:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}
{{{damagetype}}}}}
[[:Category:Weapon - {{{damagetype}}}{{!}}{{{damagetype}}}]]}}
|-
|-
{{#if: {{{weight|}}}|
{{#if: {{{weight|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Weight:
{{!}} class="info-label" {{!}} Weight:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{weight}}}}}
{{{weight}}}}}
|-
|-
{{#if: {{{storable|}}}|
{{#if: {{{storable|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Storable:
{{!}} class="info-label" {{!}} Storable:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{storable}}}}}
{{{storable}}}}}
|-
{{#if: {{{dests|}}}|
{{!}} class="info-label" {{!}} Dests:
{{!}} class="info-value" {{!}}
{{{dests}}}}}
|-
|-
{{#if: {{{material|}}}|
{{#if: {{{material|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Material:
{{!}} class="info-label" {{!}} Material:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{material}}}}}
{{{material}}}}}
|-
|-
{{#if: {{{balanced|}}}|
{{#if: {{{balanced|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Balanced:
{{!}} class="info-label" {{!}} Balanced:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{balanced}}}}}
{{{balanced}}}}}
|-
|-
{{#if: {{{damage|}}}|
{{#if: {{{damage|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Damage:
{{!}} class="info-label" {{!}} Damage:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}
{{{damage}}}}}
[[:Category:Weapon - {{{damage}}}{{!}}{{{damage}}}]]}}
|-
|-
{{#if: {{{speed|}}}|
{{#if: {{{speed|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Speed:
{{!}} class="info-label" {{!}} Speed:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{speed}}}}}
{{{speed}}}}}
|-
|-
{{#if: {{{special|}}}|
{{#if: {{{special|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Special:
{{!}} class="info-label" {{!}} Special:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{special}}}}}
{{{special}}}}}
|-
|-
{{#if: {{{cost|}}}|
{{#if: {{{cost|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Cost:
{{!}} class="info-label" {{!}} Cost:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{cost}}}}}
{{{cost}}}}}
|-}}
|-}}
Line 77: Line 92:


<includeonly>
<includeonly>
[[Category:Item]][[Category:Weapon]]
[[Category:Item]][[Category:Weapon]]{{#if: {{{type|}}}| [[Category:Weapon - {{{type}}}]]}}{{#if: {{{damage|}}}| [[Category:Weapon - {{{damage}}}]]}}{{#if: {{{damagetype|}}}| [[Category:Weapon - {{{damagetype}}}]]}}{{#if: {{{cabal|}}}| [[Category:{{{cabal}}}]][[Category:{{{cabal}}} Item]][[Category:{{{cabal}}} Weapon]]}}
</includeonly><noinclude>
</includeonly><noinclude>
{{Clear}}
{{Clear}}
Line 86: Line 101:
|image=
|image=
|name=
|name=
|type=
|monster=
|monster=
|requirements=
|requirements=
Line 92: Line 108:
|weight=
|weight=
|storable=
|storable=
|dests=
|material=
|material=
|balanced=
|balanced=
Line 99: Line 116:
|cost=
|cost=
|location=
|location=
|cabal=
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 14:31, 27 June 2013

{{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: | {{#if: |
{{{image}}}}}
{{{name}}}
General Information
Type:

[[:Category:Weapon - {{{type}}}|{{{type}}}]]}}

Cabal:

[[:Category:{{{cabal}}}|{{{cabal}}}]]}}

Location:

{{{location}}}}}

Monster:

{{{monster}}}}}

Requirements:

{{{requirements}}}}}

Limit:

{{{limit}}}}}

Damage Type:

[[:Category:Weapon - {{{damagetype}}}|{{{damagetype}}}]]}}

Weight:

{{{weight}}}}}

Storable:

{{{storable}}}}}

Dests:

{{{dests}}}}}

Material:

{{{material}}}}}

Balanced:

{{{balanced}}}}}

Damage:

[[:Category:Weapon - {{{damage}}}|{{{damage}}}]]}}

Speed:

{{{speed}}}}}

Special:

{{{special}}}}}

Cost:

{{{cost}}}}}


Usage

To use this template, paste the following code into the top of the page, filling all relevant fields:

{{Weapon
|image=
|name=
|type=
|monster=
|requirements=
|limit=
|damagetype=
|weight=
|storable=
|dests=
|material=
|balanced=
|damage=
|speed=
|special=
|cost=
|location=
|cabal=
}}