Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon/doc: Difference between revisions

Template page
mNo edit summary
Arin Mara (talk | contribs)
Template deprecated because it uses 10x more CPU
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:Icon}}</noinclude>
{{Deprecated|user= [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 18:30, 22 May 2022 (UTC)|"Due to the way pages are loaded and cached, this template consumes 10x CPU time usage compared to using regular image links. Just use regular image links, see [[Icons]] for a list of icon-images."}}


== Syntax ==
== Syntax ==
Line 19: Line 19:
* <code><nowiki>{{icon|warp scrambler|16|No MWD for you!}}</nowiki></code> &rarr; {{icon|warp scrambler|16|No MWD for you!}} ''(smaller icon, could be used inside a paragraph without breaking the line height)''
* <code><nowiki>{{icon|warp scrambler|16|No MWD for you!}}</nowiki></code> &rarr; {{icon|warp scrambler|16|No MWD for you!}} ''(smaller icon, could be used inside a paragraph without breaking the line height)''


= List of icons =
<includeonly>[[Category:Image templates]]</includeonly>
For a full list of icons available through this template, see the [[icons]] page.
 
{{note|Using too many calls of this template on the same page might lead to pages loading slowly or not at all. Use moderately.}}
<includeonly>[[Category:Template]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>