Difference between revisions of "Template:Icons"
Jump to navigation
Jump to search
m |
|||
Line 61: | Line 61: | ||
<pre> | <pre> | ||
− | {|cellspacing=" | + | {|cellspacing="2" cellpadding="2" style="background-color:#EBD7A8;border: 2px solid #DCBA6A;" |
|In {{PAGENAME}} you can find the below services. For more info about icons see '''[[Sacred 2:Map Icons|Map Icons]]''': | |In {{PAGENAME}} you can find the below services. For more info about icons see '''[[Sacred 2:Map Icons|Map Icons]]''': | ||
{| | {| |
Revision as of 05:25, 10 June 2009
Numbers that are associated to icons:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
In order to use this template there must always be 16 bars, | , within the template code on your page. {{Icons||||||||||||||||}} After each bar a number can be typed in order to generate an icon. Each bar is associated to a number and icon in numerical order. {{Icons|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16}} The easiest way to use this template would be to copy {{Icons|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16}} and then remove the numbers that are not needed like the below example.
You type this:
{{Icons||2|||5|6||||||12|13|||}}
Wiki shows this:
In Icons you can find the below services. For more info about icons see Map Icons:
|
The code on this Template that makes it all work:
{|cellspacing="2" cellpadding="2" style="background-color:#EBD7A8;border: 2px solid #DCBA6A;" |In {{PAGENAME}} you can find the below services. For more info about icons see '''[[Sacred 2:Map Icons|Map Icons]]''': {| | |- {{#ifeq: 1 |{{{1}}}|{{!}}<span style="cursor:help;" title="Campaign Quest">http://www.sacredwiki.org/images/Sacred_2/Icon/gold-.png</span>|}} {{#ifeq: 2 |{{{2}}}|{{!}}<span style="cursor:help;" title="Side Quest">http://www.sacredwiki.org/images/Sacred_2/Icon/grey-.png</span>|}} {{#ifeq: 3 |{{{3}}}|{{!}}<span style="cursor:help;" title="Character Quest">http://www.sacredwiki.org/images/Sacred_2/Icon/blue-.png</span>|}} {{#ifeq: 4 |{{{4}}}|{{!}}<span style="cursor:help;" title="Ascaron Employee">http://www.sacredwiki.org/images/Sacred_2/Icon/grey.png</span>|}} {{#ifeq: 5 |{{{5}}}|{{!}}<span style="cursor:help;" title="Merchant">http://www.sacredwiki.org/images/Sacred_2/Icon/merchant.png</span>|}} {{#ifeq: 6 |{{{6}}}|{{!}}<span style="cursor:help;" title="Blacksmith">http://www.sacredwiki.org/images/Sacred_2/Icon/blacksmith.png</span>|}} {{#ifeq: 7 |{{{7}}}|{{!}}<span style="cursor:help;" title="Rune Master">http://www.sacredwiki.org/images/Sacred_2/Icon/runemaster.png</span>|}} {{#ifeq: 8 |{{{8}}}|{{!}}<span style="cursor:help;" title="Horse Trader">http://www.sacredwiki.org/images/Sacred_2/Icon/horsetrader.png</span>|}} {{#ifeq: 9 |{{{9}}}|{{!}}<span style="cursor:help;" title="Special Mount Trader">http://www.sacredwiki.org/images/Sacred_2/Icon/specialmount.png</span>|}} {{#ifeq: 10 |{{{10}}}|{{!}}<span style="cursor:help;" title="Captain">http://www.sacredwiki.org/images/Sacred_2/Icon/captain.png</span>|}} {{#ifeq: 11 |{{{11}}}|{{!}}<span style="cursor:help;" title="Storage Chest">http://www.sacredwiki.org/images/Sacred_2/Icon/chest.png</span>|}} {{#ifeq: 12 |{{{12}}}|{{!}}<span style="cursor:help;" title="Monolith">http://www.sacredwiki.org/images/Sacred_2/Icon/activemonolith.png</span>|}} {{#ifeq: 13 |{{{13}}}|{{!}}<span style="cursor:help;" title="Portal">http://www.sacredwiki.org/images/Sacred_2/Icon/interportal.png</span>|}} {{#ifeq: 14 |{{{14}}}|{{!}}<span style="cursor:help;" title="Mini Portal">http://www.sacredwiki.org/images/Sacred_2/Icon/teleport.png</span>|}} {{#ifeq: 15 |{{{15}}}|{{!}}<span style="cursor:help;" title="Graveyard">http://www.sacredwiki.org/images/Sacred_2/Icon/graveyard.png</span>|}} {{#ifeq: 16 |{{{16}}}|{{!}}<span style="cursor:help;" title="Temple">http://www.sacredwiki.org/images/Sacred_2/Icon/temple.png</span>|}} |} |}