Template:ArticleIcons/doc: Difference between revisions

m
Text replacement - "class=("?)invert\b([^-])" to "class=$1invert-dark$2"
m (added p+)
m (Text replacement - "class=("?)invert\b([^-])" to "class=$1invert-dark$2")
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This template is intended for use in most [[SmashWiki:About|SmashWiki]] articles. It is used to display a series of icons in the top right corner of the article that quickly point out certain things about its content:
This template is intended for use in most [[SmashWiki:About|SmashWiki]] articles. It is used to display a series of icons in the top right corner of the article that quickly point out certain things about its content:
*[[Image:SSB Icon.png|24px]] shows that the article relates to ''{{b|Super Smash Bros.|series}}'' (the series in general).
*[[File:SSB Icon.png|24px]] shows that the article relates to ''{{b|Super Smash Bros.|series}}'' (the series in general).
*[[Image:SSB64 Icon.png|24px]] denotes that the article relates to ''[[Super Smash Bros.]]'' (the original, [[Nintendo 64]], game).
*[[File:SSB64 Icon.png|24px]] denotes that the article relates to ''[[Super Smash Bros.]]'' (the original, [[Nintendo 64]], game).
*[[Image:SSBM Icon.png|24px]] indicates that the article relates to ''[[Super Smash Bros. Melee]]''.
*[[File:SSBM Icon.png|24px|class=invert-dark]] indicates that the article relates to ''[[Super Smash Bros. Melee]]''.
*[[Image:SSBB Icon.png|24px]] shows that the article relates to ''[[Super Smash Bros. Brawl]]''.
*[[File:SSBB Icon.png|24px]] shows that the article relates to ''[[Super Smash Bros. Brawl]]''.
*[[Image:SSB4 Icon.png|24px]] shows that the article relates to ''[[Super Smash Bros. 4]]'' as a whole or otherwise covers both the 3DS and Wii U versions.
*[[File:SSB4 Icon.png|24px]] shows that the article relates to ''[[Super Smash Bros. 4]]'' as a whole or otherwise covers both the 3DS and Wii U versions.
*[[Image:SSB4-3 Icon.png|24px]] shows that the article relates specifically to {{for3ds}}.
*[[File:SSB4-3 Icon.png|24px]] shows that the article relates specifically to {{for3ds}}.
*[[Image:SSB4-U Icon.png|24px]] shows that the article relates specifically to {{forwiiu}}.
*[[File:SSB4-U Icon.png|24px]] shows that the article relates specifically to {{forwiiu}}.
*[[Image:SSBU Icon.png|24px]] shows that the article relates to ''[[Super Smash Bros. Ultimate]]''.
*[[File:SSBU Icon.png|24px|class=invert-dark]] shows that the article relates to ''[[Super Smash Bros. Ultimate]]''.
*[[Image:PM Icon.png|24px]] shows that the article relates to ''[[Project M]]''. '''Not''' to be used outside ''PM''-only pages and relevant tournaments ([[Forum:The Project M debate|archived discussion]]).
*[[File:PM Icon.png|24px]] shows that the article relates to ''[[Project M]]''. '''Not''' to be used outside ''PM''-only pages and relevant tournaments ([[Forum:The Project M debate|archived discussion]]).
*[[Image:P+ Icon.png|24px]] shows that the article relates to ''[[Project+]]''. '''Not''' to be used outside ''P+''-only pages and relevant tournaments
*[[File:P+ Icon.png|24px]] shows that the article relates to ''[[Project+]]''. '''Not''' to be used outside ''P+''-only pages and relevant tournaments
*[[Image:Unofficial Lingo.png|24px]] means that the article's title is [[:Category:Unofficial lingo|unofficial]].
*[[File:Unofficial Lingo.png|24px]] means that the article's title is [[:Category:Unofficial lingo|unofficial]].
*[[Image:Competitive.png|24px]] means that the article relates to [[competitive play]].
*[[File:Competitive.png|24px]] means that the article relates to [[competitive play]].
*[[Image:Featured.png|24px]] is how [[SmashWiki:Featured content|featured articles]] are marked.
*[[File:OnlineIcon.svg|24px|class=invert-dark]] means that the article relates to [[online play]].
*[[Image:ProtectIconGrey.png|24px]] shows that the page is [[SW:PROTECT|protected]].
*[[File:Featured.png|24px]] is how [[SmashWiki:Featured content|featured articles]] are marked.
*[[File:ProtectIconGrey.png|24px]] shows that the page is [[SW:PROTECT|protected]].
Articles may make use of zero, one, many, or all of these icons as necessary.
Articles may make use of zero, one, many, or all of these icons as necessary.


Line 44: Line 45:
===Protected icon===
===Protected icon===
The protected icon should be given certain values other than anything generic, such as "y":
The protected icon should be given certain values other than anything generic, such as "y":
*[[Image:ProtectIconRed.png|24px]] <code>vandalism</code>
*[[File:ProtectIconRed.png|24px]] <code>vandalism</code>
*[[Image:ProtectIconYellow.png|24px]] <code>highrisk</code>
*[[File:ProtectIconYellow.png|24px]] <code>highrisk</code>
*[[Image:ProtectIconGreen.png|24px]] <code>editwar</code>
*[[File:ProtectIconGreen.png|24px]] <code>editwar</code>
*[[Image:ProtectIconBlue.png|24px]] <code>preemptive</code>
*[[File:ProtectIconBlue.png|24px]] <code>preemptive</code>
These values produce different icon colours and rollover text relating to the protection type. If anything else is entered, it is used as a custom reason.
These values produce different icon colours and rollover text relating to the protection type. If anything else is entered, it is used as a custom reason.


==Other features==
==Other features==
*The icons link to an appropriate article or category when clicked on.
*The icons link to an appropriate article or category when clicked on.
*Adding the unofficial lingo icon automatically places the article into [[:Category:Unofficial lingo]], while the featured article icon puts it in [[:Category:Featured Articles]].
*Adding the unofficial lingo icon automatically places the article into [[:Category:Unofficial lingo]], while the featured article icon puts it in [[:Category:Featured articles]].


==Improvements==
==Improvements==
If you have ideas for other icons, post on [[Template talk:ArticleIcons]].
If you have ideas for other icons, post on [[Template talk:ArticleIcons]].
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>