Template:Top icon/ja

This page is a translated version of the page Template:Top icon and the translation is 88% complete.
警告! 警告: トップアイコンに使う場合、その画像の説明ページ以外にリンクさせたいときは、画像の帰属表示がライセンス条件で指定されたものは使ってはいけません。 またリンクさせないで画像を使った場合も、ライセンス条件に違反する可能性があります。

これはトップアイコンの作成を補助するメタテンプレート(metatemplate)で、小さなアイコン (通常 20x20 ピクセル) をユーザーボックスもしくは解説ページの右上に表示させます。 テンプレートはページの状態表示システムを使います。


{{Top icon
| imagename    = Image file to use as icon.
| wikilink     = The page to link to. This is where you will be taken when clicking the icon.
| description  = The tooltip will display this text when the mouse pointer hovers over the icon.
| id           = A unique id is required when using different top icons on the same page.


| 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.

Top icons are automatically sorted for consistency in articles. For that reason, |sortkey= should only be used in user top icons. Sort keys are sorted alphabetically, so, for example, "19" will sort before "2". If you want to use numbers as sort keys, and you have more than 10 top icons on a page, you must add leading zeroes, e.g. |sortkey=01, |sortkey=02, etc.

|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=.