Difference between revisions of "Template:Imagelink"

From SacredWiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
<nowiki>
 
<nowiki>
{{Imagelink
+
{{Fireball}}
|Fireball
+
</nowiki>
|http://www.sacredwiki.org/images/Combat%20Arts/Battle%20Mage/fireball.png}}</nowiki>
 
  
 
Which gives this:
 
Which gives this:
  
{{Imagelink
+
{{Fireball}}
|Fireball
 
|http://www.sacredwiki.org/images/Combat%20Arts/Battle%20Mage/fireball.png}}
 
  
<includeonly><div style="float:left;padding:10px 20px;"><span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}} }} {{{2}}}]</span></div></includeonly>
+
<includeonly><div style="float:right;padding:10px 20px;"><span class="plainlinks">[{{SERVER}}{{localurl:Fireball}} http://www.sacredwiki.org/images/Combat%20Arts/Battle%20Mage/fireball.png]</span></div></includeonly>

Revision as of 10:05, 31 October 2007

Note to self. Create a template for EACH CA to be used as {{Fireball}} etc...



This template will be used to make all CA images clickable. Used like the following:

{{Fireball}}

Which gives this:



fireball.png