5,675
edits
(Created page with "<includeonly><div class="navboxIcon" style="z: 11; position: absolute; left: {{#expr:{{{2|0}}}-{{{4|32}}}/2}}px; top: {{#expr:{{{3|0}}}-{{{4|32}}}/2}}px;">{{#if:{{{custom|}}}|...") |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><templatestyles src="Map icon/styles.css"/><div class="mapIcon" style="position: absolute; left: {{#expr:{{{2|0}}}-{{{4|32}}}/2}}px; top: {{#expr:{{{3|0}}}-{{{4|32}}}/2}}px; border-radius: 50%; {{#if:{{{bg|}}}|background: {{{bg}}};}}"><div>{{#if:{{{custom|}}}|{{{1|}}}|{{icon|{{{1|}}}|3={{{4|32}}}px|v={{{v|}}}|l={{{l|{{{1|}}}}}}}}}}</div></div></includeonly><noinclude> | ||
==Info== | ==Info== | ||
Line 19: | Line 19: | ||
! 4 | ! 4 | ||
| No || 32 || Width || Width of the icon. | | No || 32 || Width || Width of the icon. | ||
|- | |||
! v | |||
| No || || Version || If there is more than one version of the subject, use this parameter to specify it. This is valid for icon filenames that follow the following pattern: "<subject> <version> icon.png". | |||
|- | |||
! l | |||
| No || || Link || If the link to the article is different from the icon's name, specify it here. | |||
|- | |||
! bg | |||
| No || || Background || A CSS background property to apply a circular highlight behind the icon. | |||
|- | |- | ||
! custom | ! custom | ||
Line 25: | Line 34: | ||
==Skeleton== | ==Skeleton== | ||
<pre>{{map icon | <icon> | <x> | <y> | <size> | custom = <custom?>}}</pre> | <pre>{{map icon | <icon> | <x> | <y> | <size> | bg = <background?> | custom = <custom?>}}</pre> | ||
==Examples== | ==Examples== |