Template:ItemT/sandbox: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Trimoon (talk | contribs)
m {{subst:ItemT}}
Trimoon (talk | contribs)
m adding 'nocat' to inhibit auto-categorisation
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<noinclude>
 
</noinclude>{{#ifeq: {{{2|}}} | thumb
  Add your experimental template code here.
| <div class="thumb tright"><div class="thumbinner" style="width:414px;">
 
}}<!--
-->{{#ifeq: | thumb | <div class="thumb tright"><div class="thumbinner" style="width:414px;"> }}
--><div class="gg-itemt"><!--
<div class="gg-itemt">
  --><div class="gg-itemt-hd"><!--
<div class="gg-itemt-hd">
      --><div class="gg-itemt-img"><!--
  <div class="gg-itemt-img">{{ #if: | {{icon|{{{icon}}}}} | [[Image:Item Template Icon (empty).gif]] }}</div>
        -->{{#if: {{{icon|}}}
  <div class="gg-hd" style="color:#{{ #switch:  
            | {{icon|{{{icon}}}}}
| yellow  = ffff00
            | [[Image:Item Template Icon (empty).gif]]
| purple  = 993399
            }}<!--
| magenta  = ff00ff
      --></div><!--
| cyan    = 00ffff
      --><div class="gg-hd" style="color:#{{#switch: {{{1|}}}
| green    = 00ff00
                                          | yellow  = ffff00
| #default = fff
                                          | purple  = 993399
}};">Item Name Goes Here</div>
                                          | magenta  = ff00ff
  <p>Item description goes here.</p>
                                          | cyan    = 00ffff
</div>
                                          | green    = 00ff00
Item stats goes here
                                          | #default = fff
</div>{{#if: | <div class="thumbcaption">{{{caption}}}</div> }}{{#ifeq: | thumb | </div></div> }}[[Category:Items]]
                                          }};"><!--
        -->{{{3|Item Name Goes Here}}}<!--
      --></div><!--
      --><p>{{{4|Item description goes here.}}}</p><!--
  --></div><!--
  -->{{{5|Item stats goes here}}}<!--
--></div><!--
-->{{#if: {{{caption|}}}
  | <div class="thumbcaption">{{{caption}}}</div>
  }}{{
#ifeq: {{{2|}}} | thumb
| </div></div>
}}<includeonly>{{
#ifeq: {{{nocat|-}}} | -
| [[Category:Items]]
}}</includeonly>

Latest revision as of 19:02, 18 April 2016

Item Name Goes Here

Item description goes here.

Item stats goes here