Template:Item: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Formatting box ... AGAIN. Finally have wiki markup w/ disappearing data lines.
m table syntax; || (double-pipe) format, remove margin; reduce border
Line 1: Line 1:
{| class="floatright" style=" width:267px; border:1px solid #72777d; margin-right:15px; "  
{| class="floatright" style=" width:267px; border:1px solid #72777d; "  
  |+'''Greyhawk Item'''  
  |+'''Greyhawk Item'''  
  |  
  |  
{| style=" width:265px; border:2px solid #72777d; "
{| style=" width:265px; border:1px solid #72777d; "
| colspan="2" style="background:#72777d; line-height: 300%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{{name}}}</span>  
| colspan="2" style="background:#72777d; line-height: 300%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{{name}}}</span>  
|-
|-
Line 12: Line 12:
|-
|-
|- style=" vertical-align: top;"
|- style=" vertical-align: top;"
| {{#if:{{{type|}}} | '''Type:'''  }}
| {{#if:{{{type|}}} | '''Type:'''  }} || {{#if:{{{type|}}} | {{{type|}}}  
| {{#if:{{{type|}}} | {{{type|}}}  
|-
|-
|  {{#if:{{{price|}}} | '''Price:'''  }}
|  {{#if:{{{price|}}} | '''Price:'''  }} ||  {{#if:{{{price|}}} | {{{price|}}}  
|  {{#if:{{{price|}}} | {{{price|}}}  
|-
|-
|  {{#if:{{{body|}}} | '''Body Slot:'''  }}  
|  {{#if:{{{body|}}} | '''Body Slot:'''  }} ||  {{#if:{{{body|}}} | {{{body|}}} }}  
|  {{#if:{{{body|}}} | {{{body|}}} }}  
|-
|-
|  {{#if:{{{caster|}}} | '''Caster Level:'''  }}  
|  {{#if:{{{caster|}}} | '''Caster Level:'''  }} ||  {{#if:{{{caster|}}} | {{{caster|}}} }}  
|  {{#if:{{{caster|}}} | {{{caster|}}} }}  
|-
|-
|  {{#if:{{{weight|}}} | '''Weight:'''  }}  
|  {{#if:{{{weight|}}} | '''Weight:'''  }} ||  {{#if:{{{weight|}}} | {{{weight|}}} }}  
|  {{#if:{{{weight|}}} | {{{weight|}}} }}  
|-
|-
|  {{#if:{{{first|}}} | '''First Appearance:'''  }}
|  {{#if:{{{first|}}} | '''First Appearance:'''  }} ||  {{#if:{{{first|}}} | {{{first|}}} }}
|  {{#if:{{{first|}}} | {{{first|}}} }}
|-
|-
|}
|}

Revision as of 12:33, 20 January 2019

Greyhawk Item
{{{name}}}
{{{image}}}
{{{caption}}}

Usage

Copy and paste this section at the top of the article, and fill in the information areas. The image and caption parameters are optional, but are preferred.

The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

If any fields are left undefined they will not appear. Add wiki links to articles by putting the name of the place inside double brackets, [[like this]].

{{Greyhawk item
|image    = 
|caption  = 
|name     = 
|type     = The type of item it is
|price    =
|body     = Which "body slot" the item occupies
|caster   = Caster Level of the item
|weight   = 
|first    = First appearance of the item
}}