Difference between revisions of "Template:ItemBox2"

From Fallen Sword Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>width="60px" height="90" align="center" valign="middle" bgcolor="#774411" style="border:1px solid #000" | http://66.7.192.165/items/{{{1}}}.gif </includeonly>
+
<includeonly>{{ItemBox|http://66.7.192.165/items/{{{1}}}.gif}}</includeonly>
 
<noinclude>
 
<noinclude>
 
<center>
 
<center>
Line 6: Line 6:
 
|-
 
|-
 
| align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" |  
 
| align="center" valign="middle" style="font-family:Verdana;font-weight:normal;" |  
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. If you think this template needs changed, mention it on the [[Talk:{{PAGENAME}}|Talk Page]]. If you want to understand what it does precisely, click modify and look at the code inside the code outside the <noinclude> tags; but don't make any change.  This Profile allows a user to easily include icons from www.fallensword.com. If the site's IP address change, change this template so all pages using it are corrected</small>
+
<small>If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. If you think this template needs changed, mention it on the [[Talk:{{PAGENAME}}|Talk Page]].</small>
 
|-
 
|-
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template.
 
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Editing this page may cause the template to stop working properly for other pages currently using this template.
Line 12: Line 12:
 
</center>
 
</center>
  
 +
==Variations==
 +
'''[[Template:ItemBox|ItemBox]]'''
 +
{| width="100%"
 +
! ''Code''
 +
! ''Output''
 +
|-
 +
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemBox|http://66.7.192.165/items/81.gif}}</pre>
 +
| width="25%" style="border:1px solid #aaa;" | {{ItemBox|http://66.7.192.165/items/81.gif}}
 +
|}
 +
 +
 +
'''[[Template:ItemBox2|ItemBox2]]'''
 +
{| width="100%"
 +
! ''Code''
 +
! ''Output''
 +
|-
 +
| width="75%" style="border:1px solid #aaa;" | This template contains the item image URL so only the filename portion is needed.<pre>{{ItemBox2|81}}</pre>
 +
| width="25%" style="border:1px solid #aaa;" | {{ItemBox2|81}}
 +
|}
 +
 +
 +
'''[[Template:ItemBox3|ItemBox3]]'''
 +
{| width="100%"
 +
! ''Code''
 +
! ''Output''
 +
|-
 +
| width="75%" style="border:1px solid #aaa;" | This template was designed to be used as a cell in a table. Because of this, it is flexible enough to be used for more than just items.
 +
<pre>{|
 +
|{{ItemBox3|Anything !!!}}
 +
|}</pre>
 +
| width="25%" style="border:1px solid #aaa;" |
 +
{|
 +
|{{ItemBox3|Anything !!!}}
 +
|}
 +
|}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 21:43, 11 May 2008


Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. If you think this template needs changed, mention it on the Talk Page.

Editing this page may cause the template to stop working properly for other pages currently using this template.

Variations

ItemBox

Code Output
{{ItemBox|http://66.7.192.165/items/81.gif}}
2x3.png
81.gif


ItemBox2

Code Output
This template contains the item image URL so only the filename portion is needed.
{{ItemBox2|81}}
2x3.png
81.gif


ItemBox3

Code Output
This template was designed to be used as a cell in a table. Because of this, it is flexible enough to be used for more than just items.
{|
|{{ItemBox3|Anything !!!}}
|}
Anything !!!