Difference between revisions of "Template:DPL topicon"

From blackwiki
Jump to navigation Jump to search
imported>!dea4u
m (!dea4u moved page Wikipedia:Disambiguation pages with links/Usertop to Template:DPL topicon: Old link was placed in wikipedia namespace, but is is a template for topicon, hence moved & standardized changes been made in main template as per {{To...)
imported>!dea4u
(Updated Template:DPL topicon with standard procedure)
Line 1: Line 1:
{{#switch: {{NAMESPACE}}
+
 
| {{ns:2}}
+
{{top icon
| {{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>
+
| imagename    = Disambig.svg
 +
| wikilink    = Wikipedia:Disambiguation pages with links
 +
| description  = This user repairs links to [[Wikipedia:Disambiguation pages with links|disambiuation pages]]
 +
| id          = DPL_topicon
 +
| icon_nr      = {{{icon_nr|{{{number|0}}}}}}
 +
| extra_offset = {{{extra_offset|{{{offset|0}}}}}}
 +
| width        = {{{width|24}}}
 +
| style       = {{{style|}}}
 +
| usercat      = [[Category:Wikipedians who help fix disambiguation pages with links]]
 
}}<noinclude>
 
}}<noinclude>
==Usage==
+
{{documentation}}
*This template will display the project logo in the top bar of your userpage with a link to the project page.
+
</noinclude>
::[[Image:Disambig.svg|30px]]
+
 
*If this template is placed in any namespace outside '''user''' it will not display
+
==See also==
*The optional parameter can be used to offset the icon to the left (50 for one step to the left, 90 for two, etc.)
+
* [[Wikipedia:Disambiguation pages with links/Userbox]] (userbox)
*By default it will be set 10 pixels to the left
 
  
<!-- The #ifeq below is so that only user pages (and no other kind of pages) that use this template gets listed in the "Category:WikiProject X participants". -->{{#ifeq:{{NAMESPACE}}|User|[[Category:Wikipedians who help fix disambiguation pages with links|{{PAGENAME}}]]|}}<noinclude>
+
<!-- The categories below is so that only user pages (and no other kind of pages) that use this template gets listed in the "Category:WikiProject X participants". -->
[[Category:Wikipedia-related user templates|Disambiguation pages with links]]
+
[[Category:Wikipedians who help fix disambiguation pages with links]]
</noinclude>
+
[[Category:User namespace templates]]
 +
[[Category:Wikipedia-related user templates]]

Revision as of 10:50, 23 December 2014

50px Template documentation[view] [edit] [history] [purge]

This template is not blank, it adds a little icon in the top-right corner. See?

Usage

Place {{DPL topicon}} anywhere on your user page if you repair links to disambiguation pages. It indicates that you are part of Wikiproject:Disambiguation pages with links.

This icon is based on {{Top icon}}.

{{DPL topicon
| nocat = yes         = disables the automatically added category (default = no)
| sortkey =           = custom sorting - the relative position of topicons on the page (alphabetical)
}}

See also


See also