Difference between revisions of "Template:Icon"

From Openresearch
Jump to: navigation, search
Line 7: Line 7:
 
{{Icon}}
 
{{Icon}}
 
<pre>
 
<pre>
{{Icon|link=Openresearch:HowTo|size=64}}
+
{{Icon|link=Openresearch:HowTo|size=64|title=How to}}
 
</pre>
 
</pre>
{{Icon|link=Openresearch:HowTo|size=64}}
+
{{Icon|link=Openresearch:HowTo|size=64|title=How to
 
<pre>
 
<pre>
 
{{Icon|name=home}}
 
{{Icon|name=home}}
Line 30: Line 30:
 
</pre>
 
</pre>
 
{{Icon|name=home|size=32}}
 
{{Icon|name=home|size=32}}
[[Category:Template]]</noinclude><includeonly>[[File:{{{name|question_and_answer}}}-Icon.png|{{{size|48}}}px|link={{{link|Main_Page}}}]]</includeonly>
+
[[Category:Template]]</noinclude><includeonly>[[File:{{{name|question_and_answer}}}-Icon.png|{{{size|48}}}px|link={{{link|Main_Page}}}|{{{title|}}}]]</includeonly>

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

{{Icon|link=Openresearch:HowTo|size=64|title=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