Template:Portal: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Sanddh
mNo edit summary
imported>An Adventurer
(attempting to update portal template to new item standards)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|border=0 cellpadding=0 cellspacing=3 style=width:100%
<includeonly><div style="overflow:auto">
|-valign=top
<div class="item tooltip-content">
|
<div id="item_header">
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
<div>{{{Name|Name}}}</div>
|colspan=2 align=center|'''{{{Name|??}}}'''
<div>[[File:{{{Icon Image}}}]]</div>
|-
</div>
|align=center| Value: {{{Value|??}}}<br>{{{Burden|??}}} Burden
<ul>
|width=40 align=center| [[{{#ifeq: {{{Icon Image|}}} || Image:Icon.png | Image:{{{Icon Image}}}}}]]
<li>Value: {{{Value|??}}}
|-
<li class="bottomspace">Burden: {{{Burden|??}}}
|colspan=2|
{{#if:{{{Tieable|}}}|<li>{{{Tieable}}}}}
{{#ifeq:{{{Description|}}}||{{#ifeq:{{{Description| }}}|||{{{Description}}}<br><br>}}}}|{#ifeq:{{{Tieable|}}}|||{{#ifeq:{{{Tieable| }}}|||{{{Tieable}}}<br><br>}}}}| {{#ifeq:{{{Summonable|}}}|||{{#ifeq:{{{Summonable| }}}| ||{{{Summonable}}}<br><br>}}}}| {{#ifeq:{{{Description Two|}}}|||{{#ifeq:{{{Description Two| }}}|||{{{Description Two}}}<br><br>}}}}| {{#ifeq:{{{Level Restrictions|}}}||| {{{Level Restrictions}}}.<br><br>}}
{{#if:{{{Summonable|}}}|<li>{{{Summonable}}}}}
{{#ifeq:{{{Destination|}}}|||{{#ifeq:{{{Destination| }}}| ||Destination:{{{Destination}}}<br><br>}}}}|
{{#if:{{{Description Two|}}}|<li>{{{Description Two}}}}}
|}
{{#if:{{{Level Restrictions|}}}|<li>{{{Level Restrictions}}}}}
|width=20|
{{#if:{{{Destination|}}}|<li>{{{Destination}}}}}
|
{{#if:{{{Description|}}}|<li class="topbottomspace">{{{Description}}}}}
{{#ifeq:{{{Live Image|Live.jpg}}}
</ul></div>
| Live.jpg
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div>
|  
| {{#ifeq:{{{Live Image|}}}
    |  
    |  
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
[[Category:Portal]]
[[Category:Portal]]
|}</includeonly><noinclude>
</includeonly><noinclude>
{{Related|Wiki Templates|Portal Template}}
{{Related|Wiki Templates|Portal Template}}
== Syntax ==
== Syntax ==
Line 38: Line 31:
  |            Tieable = This portal cannot be recalled nor linked to.
  |            Tieable = This portal cannot be recalled nor linked to.
  |        Summonable = This portal cannot be summoned.
  |        Summonable = This portal cannot be summoned.
|    Description Two =
  | Level Restrictions = Restricted to characters Level <> or greater.
  | Level Restrictions = Restricted to characters Level <> or greater.
  |        Destination = Destination: <location (<coords>).  
  |        Destination = <location (<coords>).  
}}
}}
</pre>
</pre>
Line 46: Line 40:
This wiki template is a section within the page template [[Portal Template]], go there for full details and an example.
This wiki template is a section within the page template [[Portal Template]], go there for full details and an example.


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

Latest revision as of 11:13, 24 May 2019

Related topics: Wiki Templates, Portal Template

Syntax

{{Portal
 |               Name = 
 |         Icon Image = Portal Icon.png
 |         Live Image = Live.jpg
 | Live Image Caption = 
 |              Value = ???
 |             Burden = Unknown
 |        Description = 
 |            Tieable = This portal cannot be recalled nor linked to.
 |         Summonable = This portal cannot be summoned.
 |    Description Two = 
 | Level Restrictions = Restricted to characters Level <> or greater.
 |        Destination = <location (<coords>). 
}}

Usage

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