Template:Icons/doc

From Toon Wiki
Revision as of 16:53, 20 June 2025 by imported>ToonWikiBot (Imported from Avatar Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
This template is used to place icons at the top-right of a page for visual identification and categorisation, as well as provide navigation to associated pages.
Dependencies

<syntaxhighlight lang="javascript"> /* Adds icons to page header bottom border

* by: User:The 888th Avatar
*/

$(document).ready(function() { if (skin == "oasis" || skin == "wikia") { $('.WikiaPageHeader').append($('#icons')); $('#icons').css({'position' : 'absolute', 'right' : '0', 'bottom' : '-1.2em'}); } }); </syntaxhighlight>

<syntaxhighlight lang="CSS">

  1. icons {
   position:absolute;
   z-index:100;
   right:3px;
   top:10px;
   float: right;

} </syntaxhighlight>

Syntax
Type {{Icons|<...>}} somewhere, with parameters as explained further below.
Sample output
Indicate that an article is a featured article:
{{Icons|FA}} gives... This article has been featured on the main page. Click here for more featured articles.
Indicate that an article is an A-class article:
{{Icons|A-class}} gives... This article is an A-class article. It is written to a very high standard.
Indicate that an article is a B-class article:
{Icons|B-class}} gives... This article is a B-class article. It is written to a good standard.
Indicate that a page is temporarily fully protected:
{{Icons|p-full}} gives... Error creating thumbnail: Unable to save thumbnail to destination
Indicate that a page is permanently fully protected:
{{Icons|p-fullp}} gives... Error creating thumbnail: Unable to save thumbnail to destination
Indicate that a page is semi-protected:
{{Icons|p-semi}} gives... This page is semi-protected.
Indicate that a page is create protected:
{{Icons|p-create}} gives... This page is protected from creation.
Indicate that a page is move protected:
{{Icons|p-move}} gives... This page is move protected.
Indicate that an article is about the real world:
{{Icons|real}} gives... This article is about the real world.
Indicate that the subject of an article is a voice actor:
{{Icons|Voice actor}} gives...
Indicate that the subject of an article is a film crew member:
{{Icons|Film crew}} gives...
Indicate that the subject of an article is an airbender:
{{Icons|Airbender}} gives... Airbender
Indicate that the subject of an article is a waterbender:
{{Icons|Waterbender}} gives... Waterbender
Indicate that the subject of an article is a earthbender:
{{Icons|Earthbender}} gives... Earthbender
Indicate that the subject of an article is a firebender:
{{Icons|Firebender}} gives... Firebender
Indicate that the subject of an article is associated with the Air Nomads:
{{Icons|Air Nomads}} gives...
Indicate that the subject of an article is associated with the Water Tribe:
{{Icons|Water Tribe}} gives...
Indicate that the subject of an article is associated with the Earth Kingdom:
{{Icons|Earth Kingdom}} gives...
Indicate that the subject of an article is associated with the Fire Nation:
{{Icons|Fire Nation}} gives...
Indicate that the subject of an article is associated with Jasmine Island:
{{Icons|Jasmine}} gives...
Indicate that the subject of an article is associated with the Order of the White Lotus:
{{Icons|Order of the White Lotus}} gives...
Indicate that the subject of an article is associated with the Red Lotus:
{{Icons|Red Lotus}} gives...
Indicate that the subject of an article is associated with the Earth Empire:
{{Icons|Earth Empire}} gives...
Indicate that the subject of an article is a spirit:
{{Icons|Spirit}} gives...
Indicate that the subject of an article is neutral:
{{Icons|Neutral}} gives... Neutral
Indicate that the subject of an article is associated with the United Republic of Nations:
{{Icons|URN}} gives...
Indicate that the subject of an article is associated with the Equalists:
{{Icons|Equalist}} gives...
Indicate that the subject of an article was a former waterbender:
{{Icons|Former waterbender}} gives... Former waterbender
Indicate that the subject of an article was a former earthbender:
{{Icons|Former earthbender}} gives... Former earthbender
Indicate that the subject of an article was a former firebender:
{{Icons|Former firebender}} gives... Error creating thumbnail: Unable to save thumbnail to destination
Multiple icon parameters may be used. Example of all parameters together:
{{Icons|FA|A-class|B-class|p-full|p-fullp|p-semi|p-create|p-move|real|Voice Actor|Film Crew|Airbender|Waterbender|Earthbender|Firebender|Air Nomads|Water Tribe|Earth Kingdom|Fire Nation|Jasmine|Order of the White Lotus|Spirit|Neutral|URN|Equalist}} gives...
This article has been featured on the main page. Click here for more featured articles. This article is an A-class article. It is written to a very high standard. This article is a B-class article. It is written to a good standard. Error creating thumbnail: Unable to save thumbnail to destination Error creating thumbnail: Unable to save thumbnail to destination This page is semi-protected. This page is protected from creation. This page is move protected. This article is about the real world. Airbender Waterbender Earthbender Firebender Neutral Former waterbender Former earthbender Error creating thumbnail: Unable to save thumbnail to destination
You can copy the example with all parameters together, and remove sections of the call code on the desired pages to make your own specific icon setting for the page.
See also