Template:Item: Difference between revisions

From EotL - End of the Line MUD
No edit summary
No edit summary
 
(7 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 item"


|-
|-
{{#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: {{{cabal|}}}|
{{!}} class="info-label" {{!}} Cabal:
{{!}} class="info-value" {{!}}
[[:Category:{{{cabal}}}{{!}}{{{cabal}}}]]}}
|-
{{#if: {{{location|}}}|
{{!}} class="info-label" {{!}} Location:
{{!}} class="info-value" {{!}}
{{{location}}}}}
|-
|-
{{#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}}}}}
|-
{{#if: {{{sell|}}}|
{{!}} class="info-label" {{!}} Sells for:
{{!}} class="info-value" {{!}}
{{{sell}}}}}
|-
{{#if: {{{storable|}}}|
{{!}} class="info-label" {{!}} Storable:
{{!}} class="info-value" {{!}}
{{{storable}}}}}
|-
{{#if: {{{dests|}}}|
{{!}} class="info-label" {{!}} Dests:
{{!}} class="info-value" {{!}}
{{{dests}}}}}
|-
|-
{{#if: {{{type|}}}|
{{#if: {{{type|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Type:
{{!}} class="info-label" {{!}} Type:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{type}}}}}
{{{type}}}}}
|-
{{#if: {{{enhancement|}}}|
{{!}} class="info-label" {{!}} Enhancement:
{{!}} class="info-value" {{!}}
{{{enhancement}}}}}
|-
|-
{{#if: {{{usage|}}}|
{{#if: {{{usage|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Usage:
{{!}} class="info-label" {{!}} Usage:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}  
{{!}} class="info-value" {{!}}  
{{{usage}}}}}
{{{usage}}}}}
|-
|-
{{#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: {{{found|}}}|
{{!}} style="background: #eee; padding-left:6px; padding-right:6px; border-top: 1px solid #999; border-right: 1px solid #999; color: #000; font-size:smaller;" {{!}} Found:
{{!}} style="background: #fff; padding-left:6px; padding-right:6px; border-top: 1px solid #999; font-size:smaller;" {{!}}
{{{found}}}}}
|-}}
|-}}
|}
|}


<includeonly>
<includeonly>
[[Category:Item]]
[[Category:Item]]{{#if: {{{cabal|}}}| [[Category:{{{cabal}}}]][[Category:{{{cabal}}} Item]]}}
</includeonly><noinclude>
</includeonly><noinclude>
{{Clear}}
{{Clear}}
Line 46: Line 71:
|image=
|image=
|name=
|name=
|cabal=
|location=
|storable=
|dests=
|cost=
|cost=
|sell=
|type=
|type=
|enhancement=
|usage=
|usage=
|requirements=
|requirements=
|found=
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 14:30, 27 June 2013

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

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

Location:

{{{location}}}}}

Cost:

{{{cost}}}}}

Sells for:

{{{sell}}}}}

Storable:

{{{storable}}}}}

Dests:

{{{dests}}}}}

Type:

{{{type}}}}}

Enhancement:

{{{enhancement}}}}}

Usage:

{{{usage}}}}}

Requirements:

{{{requirements}}}}}


Usage

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

{{Item
|image=
|name=
|cabal=
|location=
|storable=
|dests=
|cost=
|sell=
|type=
|enhancement=
|usage=
|requirements=
}}