Difference between revisions of "Template:DPL topicon"

From blackwiki
Jump to navigation Jump to search
imported>Thingg
(remove horizontal lines/ some rewording in "usage")
imported>Isarra
(Update for current skins)
Line 1: Line 1:
{{#switch:{{SUBJECTSPACE}}
+
{{#switch: {{NAMESPACE}}
|User
+
| {{ns:2}}
|User talk=
+
| {{ns:3}}  = <div style="display:none; right:{{{1|10}}}px;" class="metadata topicon nopopups">[[File:Disambig.svg|30px|link=WP:Disambiguation pages with links|This editor repairs links to disambi­guation pages - you can help!]]</div>
<div style="right:{{#if:{{{1|}}}|{{{1}}}|10}}px; top:7px; z-index:101;" class="metadata topicon">
 
<imagemap>
 
Image:Disambig.svg|30px|This editor repairs links to disambi­guation pages - you can help!
 
rect 0 0 128 128 [[WP:Disambiguation pages with links|This editor repairs links to disambi­guation pages - you can help!]]
 
desc none
 
</imagemap>
 
</div>
 
|
 
 
}}<noinclude>
 
}}<noinclude>
 
==Usage==
 
==Usage==

Revision as of 04:03, 7 April 2012

Usage

  • This template will display the project logo in the top bar of your userpage with a link to the project page.
30px
  • If this template is placed in any namespace outside user it will not display
  • The optional parameter can be used to offset the icon to the left (50 for one step to the left, 90 for two, etc.)
  • By default it will be set 10 pixels to the left