Difference between revisions of "Template:XYPHOS I"

From Anarchy Online Wiki [AOWiki]
 
Line 1: Line 1:
 
{{{{{|safesubst:}}}#if:{{{size|}}}|{{#tag:aodb|{{{1}}}|opts="{{{size}}}px"}} |{{#tag:aodb|{{{1}}}}}}}{{{{{|safesubst:}}}#if:{{{ql|}}}|[http://www.xyphos.com/ao/aodb.php?id={{{1}}}&ql={{{ql}}} {{{3}}}]|[http://www.xyphos.com/ao/aodb.php?id={{{1}}} {{{2}}}]}}
 
{{{{{|safesubst:}}}#if:{{{size|}}}|{{#tag:aodb|{{{1}}}|opts="{{{size}}}px"}} |{{#tag:aodb|{{{1}}}}}}}{{{{{|safesubst:}}}#if:{{{ql|}}}|[http://www.xyphos.com/ao/aodb.php?id={{{1}}}&ql={{{ql}}} {{{3}}}]|[http://www.xyphos.com/ao/aodb.php?id={{{1}}} {{{2}}}]}}
<noinclude><nowiki>
+
<noinclude>
Functions the same as the original XYPHOS template, except that it appends and icon in front of the link as well,  
+
Functions the same as the original XYPHOS template, except that it appends and icon in front of the link as well, <br>
as there are now two optional parameters, QL and image size, these must be specified when using them.
+
as there are now two optional parameters, QL and image size, these must be specified when using them. <br>
eg. {{XYPHOS_I|11111|Item with lots of ones|size=24|ql=99}}
+
eg. <nowiki>{{XYPHOS_I|11111|Item with lots of ones|size=24|ql=99}}</nowiki> <br>
Would link the item 11111, with the given text, at QL 99, and with a 24 by 24 pixel icon
+
Would link the item 11111, with the given text, at QL 99, and with a 24 by 24 pixel icon <br>
</nowiki>
 
 
[[Category:Templates|AODB]]
 
[[Category:Templates|AODB]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:15, 7 October 2011

{{safesubst:#if:|<aodb>INVALID ID</aodb> |<aodb>INVALID ID</aodb>}}{{safesubst:#if:|{{{3}}}|{{{2}}}}}

Functions the same as the original XYPHOS template, except that it appends and icon in front of the link as well,
as there are now two optional parameters, QL and image size, these must be specified when using them.
eg. {{XYPHOS_I|11111|Item with lots of ones|size=24|ql=99}}
Would link the item 11111, with the given text, at QL 99, and with a 24 by 24 pixel icon