Difference between revisions of "Template:GOCE topicon"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
(+ sortkey (number is obsolete))
imported>MediaKill13
(changing topicon size)
Line 5: Line 5:
 
| id          = goce-icon
 
| id          = goce-icon
 
| sortkey      = {{{sortkey|}}}
 
| sortkey      = {{{sortkey|}}}
| width        = {{{width|24}}}
+
| width        = {{{width|22}}}
| height      = {{{height|24}}}
+
| height      = {{{height|22}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Categories and interwikis go on the /doc subpage. -->
 
<!-- Categories and interwikis go on the /doc subpage. -->
 
</noinclude>
 
</noinclude>

Revision as of 13:19, 21 June 2016

Template:Topicon

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 {{GOCE topicon}} anywhere on your user page to indicate that you are a member of WikiProject Guild of Copy Editors.

This icon is based on {{Top icon}} which is a metatemplate used to help build top icons, the little (usually 20x20 pixels) icons in the top-right area of user pages or articles. The template uses the page status indicator system.

Extra options:

| sortkey      = Allows ordering the icons according to the sortkey given.
| width        = Uses a different width for the images. Default is 20.
| height       = Uses a different height for the images. Default is 20.
| usercat      = Adds a category to be added in userspace.
| maincat      = Adds a category to be added in article mainspace.
| subpage      = For categorization on subpages (default = no).
| nocat        = Disables the automatically added category (default = no).

Top icons are automatically sorted for consistency in articles. For that reason, |sortkey= should only be used in user page top icon templates.

|width= and |height= are restrictive, meaning when one parameter is not set explicitly, the default acts as a maximum, even if the other parameter is set higher. To increase the overall size, both must be specified.

The following parameters are obsolete and no longer functional: |number=, |icon_nr=, |offset=, |extra-offset=, |class= and |style=.

Example

{{GOCE topicon}} 
{{Accountcreator topicon}}
{{Rollback topicon}}
{{Autopatrolled topicon}}

See also