Difference between revisions of "Template:Icons"
Jump to navigation
Jump to search
(Tried to use new Icon template here. It should be compatible with current syntax.) |
|||
Line 4: | Line 4: | ||
| | | | ||
|- | |- | ||
− | {{# | + | {{#if: {{{1}}}|{{!}} {{Icon|{{{1}}}}}|{{!}}'''None'''}} |
− | {{# | + | {{#if: {{{2}}}|{{!}} {{Icon|{{{2}}}}}}} |
− | {{# | + | {{#if: {{{3}}}|{{!}} {{Icon|{{{3}}}}}}} |
− | {{# | + | {{#if: {{{4}}}|{{!}} {{Icon|{{{4}}}}}}} |
− | {{# | + | {{#if: {{{5}}}|{{!}} {{Icon|{{{5}}}}}}} |
− | {{# | + | {{#if: {{{6}}}|{{!}} {{Icon|{{{6}}}}}}} |
− | {{# | + | {{#if: {{{7}}}|{{!}} {{Icon|{{{7}}}}}}} |
− | {{# | + | {{#if: {{{8}}}|{{!}} {{Icon|{{{8}}}}}}} |
− | {{# | + | {{#if: {{{9}}}|{{!}} {{Icon|{{{9}}}}}}} |
− | {{# | + | {{#if: {{{10}}}|{{!}} {{Icon|{{{10}}}}}}} |
− | {{# | + | {{#if: {{{11}}}|{{!}} {{Icon|{{{11}}}}}}} |
− | {{# | + | {{#if: {{{12}}}|{{!}} {{Icon|{{{12}}}}}}} |
− | {{# | + | {{#if: {{{13}}}|{{!}} {{Icon|{{{13}}}}}}} |
− | {{# | + | {{#if: {{{14}}}|{{!}} {{Icon|{{{14}}}}}}} |
− | {{# | + | {{#if: {{{15}}}|{{!}} {{Icon|{{{15}}}}}}} |
− | {{# | + | {{#if: {{{16}}}|{{!}} {{Icon|{{{16}}}}}}} |
|} | |} | ||
|} | |} | ||
Line 66: | Line 66: | ||
| | | | ||
|- | |- | ||
− | {{# | + | {{#if: {{{1}}}|{{!}} {{Icon|{{{1}}}}}|{{!}}'''None'''}} |
− | {{# | + | {{#if: {{{2}}}|{{!}} {{Icon|{{{2}}}}}}} |
− | {{# | + | {{#if: {{{3}}}|{{!}} {{Icon|{{{3}}}}}}} |
− | {{# | + | {{#if: {{{4}}}|{{!}} {{Icon|{{{4}}}}}}} |
− | {{# | + | {{#if: {{{5}}}|{{!}} {{Icon|{{{5}}}}}}} |
− | {{# | + | {{#if: {{{6}}}|{{!}} {{Icon|{{{6}}}}}}} |
− | {{# | + | {{#if: {{{7}}}|{{!}} {{Icon|{{{7}}}}}}} |
− | {{# | + | {{#if: {{{8}}}|{{!}} {{Icon|{{{8}}}}}}} |
− | {{# | + | {{#if: {{{9}}}|{{!}} {{Icon|{{{9}}}}}}} |
− | {{# | + | {{#if: {{{10}}}|{{!}} {{Icon|{{{10}}}}}}} |
− | {{# | + | {{#if: {{{11}}}|{{!}} {{Icon|{{{11}}}}}}} |
− | {{# | + | {{#if: {{{12}}}|{{!}} {{Icon|{{{12}}}}}}} |
− | {{# | + | {{#if: {{{13}}}|{{!}} {{Icon|{{{13}}}}}}} |
− | {{# | + | {{#if: {{{14}}}|{{!}} {{Icon|{{{14}}}}}}} |
− | {{# | + | {{#if: {{{15}}}|{{!}} {{Icon|{{{15}}}}}}} |
− | {{# | + | {{#if: {{{16}}}|{{!}} {{Icon|{{{16}}}}}}} |
|} | |} | ||
|} | |} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 18:06, 11 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]]''': {| | |- {{#if: {{{1}}}|{{!}} {{Icon|{{{1}}}}}|{{!}}'''None'''}} {{#if: {{{2}}}|{{!}} {{Icon|{{{2}}}}}}} {{#if: {{{3}}}|{{!}} {{Icon|{{{3}}}}}}} {{#if: {{{4}}}|{{!}} {{Icon|{{{4}}}}}}} {{#if: {{{5}}}|{{!}} {{Icon|{{{5}}}}}}} {{#if: {{{6}}}|{{!}} {{Icon|{{{6}}}}}}} {{#if: {{{7}}}|{{!}} {{Icon|{{{7}}}}}}} {{#if: {{{8}}}|{{!}} {{Icon|{{{8}}}}}}} {{#if: {{{9}}}|{{!}} {{Icon|{{{9}}}}}}} {{#if: {{{10}}}|{{!}} {{Icon|{{{10}}}}}}} {{#if: {{{11}}}|{{!}} {{Icon|{{{11}}}}}}} {{#if: {{{12}}}|{{!}} {{Icon|{{{12}}}}}}} {{#if: {{{13}}}|{{!}} {{Icon|{{{13}}}}}}} {{#if: {{{14}}}|{{!}} {{Icon|{{{14}}}}}}} {{#if: {{{15}}}|{{!}} {{Icon|{{{15}}}}}}} {{#if: {{{16}}}|{{!}} {{Icon|{{{16}}}}}}} |} |}