Difference between revisions of "Template:Pictures"

From Fallen Sword Wiki
Jump to: navigation, search
m (Krip7or moved page Template:Picture to Template:Pictures: Going to add different templates in the main template 'pictures' to cover most all pictures links in the wiki.)
Line 1: Line 1:
 
<includeonly>http://huntedcow.cachefly.net/fs/items/{{{1}}}.gif</includeonly><noinclude>
 
<includeonly>http://huntedcow.cachefly.net/fs/items/{{{1}}}.gif</includeonly><noinclude>
<center>
+
{{Warningbox
{| width="100%" style="border:3px dashed #f00;"
+
|Title=Do not edit this page unless Fallen Sword image urls change!
| align="center" valign="middle" style="font-family:Verdana;font-variant:small-caps;font-weight:bold;" | Do not edit this page!
+
|Text=If you would like to make a customized version of this template for your own use, copy it to a new template and edit from there. Editing this page may cause the template to stop working properly for the numerous other pages currently using this template.
|-
+
|Width=50%
| 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]].</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.
+
These templates allow for easy editing of image links in case the urls change again. The following codes are to be used in place of an image url. There are separate urls and thus separate codes for items and creatures. To use these templates, copy one of the following codes to the image section of a template and fill in the item or creature number. See examples below:
|}
+
 
</center>
+
  
 
{| width="100%"
 
{| width="100%"
Line 15: Line 14:
 
! ''Output''
 
! ''Output''
 
|-
 
|-
| width="75%" style="border:1px solid #aaa;" | <pre>{{Picture|1}}</pre>
+
| width="75%" style="border:1px solid #aaa;" | <pre>{{ItemPicture|1}}</pre>
| width="25%" style="border:1px solid #aaa;" | {{Picture|1}}
+
| width="25%" style="border:1px solid #aaa;" | {{ItemPicture|1}}
 
|}
 
|}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 09:28, 1 December 2013

Ambox_content.png Do not edit this page unless Fallen Sword image urls change!
If you would like to make a customized version of this template for your own use, copy it to a new template and edit from there. Editing this page may cause the template to stop working properly for the numerous other pages currently using this template.


These templates allow for easy editing of image links in case the urls change again. The following codes are to be used in place of an image url. There are separate urls and thus separate codes for items and creatures. To use these templates, copy one of the following codes to the image section of a template and fill in the item or creature number. See examples below:


Code Output
{{ItemPicture|1}}
1.gif