Difference between revisions of "Template:Icon"

From Openresearch
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->
 
<noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->
}}
+
This is the template for named icons see [[:Category:Icon]][[Category:Icon]]
This is the template for icons  
 
see [[:Category:Icon]][[Category:Icon]]
 
 
 
 
=== examples ===
 
=== examples ===
 
<pre>
 
<pre>
Line 9: Line 6:
 
</pre>
 
</pre>
 
{{Icon}}
 
{{Icon}}
 +
<pre>
 +
{{Icon|link=Openresearch:HowTo|size=64|title=How to}}
 +
</pre>
 +
{{Icon|link=Openresearch:HowTo|size=64|title=How to}}
 
<pre>
 
<pre>
 
{{Icon|name=home}}
 
{{Icon|name=home}}
Line 22: Line 23:
 
{{Icon|name=server}}
 
{{Icon|name=server}}
 
<pre>
 
<pre>
{{Icon|name=home|style=plain}}
+
{{Icon|name=tuxBlue|size=64}}
 
</pre>
 
</pre>
{{Icon|name=home|style=plain}}
+
{{Icon|name=tuxBlue|size=64}}
 
<pre>
 
<pre>
 
{{Icon|name=home|size=32}}
 
{{Icon|name=home|size=32}}
 
</pre>
 
</pre>
 
{{Icon|name=home|size=32}}
 
{{Icon|name=home|size=32}}
[[Category:Template]]</noinclude><includeonly>[[File:{{{name|question_and_answer}}}-Icon.svg]]</includeonly>
+
[[Category:Template]]</noinclude><includeonly>[[File:{{{name|question_and_answer}}}-Icon.png|{{{size|48}}}px|link={{{link|Main_Page}}}|{{{title|}}}]]</includeonly>

Latest revision as of 14:29, 27 July 2020

This is the template for named icons see Category:Icon

examples

{{Icon}}

Question and answer-Icon.png

{{Icon|link=Openresearch:HowTo|size=64|title=How to}}

How to

{{Icon|name=home}}

Home-Icon.png

{{Icon|name=home}}

Home-Icon.png

{{Icon|name=server}}

Server-Icon.png

{{Icon|name=tuxBlue|size=64}}

TuxBlue-Icon.png

{{Icon|name=home|size=32}}

Home-Icon.png