Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
(transfered by WikiBackup wikiTask at 2015-11-05T19:46:05Z) |
m (transfered by WikiBackup wikiTask at 2015-12-28T13:36:51Z) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence |
− | __NOCACHE__ | + | |prev=Template:HideSideBar |
− | <!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT --> | + | |next=Template:IconLink |
− | This is the template for | + | }} |
+ | This is the template for ProfiWiki stock icons which are derived from https://fortawesome.github.io/Font-Awesome/cheatsheet/ | ||
see [[:Category:Icon]] | see [[:Category:Icon]] | ||
+ | |||
=== examples === | === examples === | ||
<pre> | <pre> | ||
Line 29: | Line 31: | ||
</pre> | </pre> | ||
{{Icon|name=home|size=32}} | {{Icon|name=home|size=32}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== implementation === | === implementation === | ||
<source lang='html4strict'> | <source lang='html4strict'> | ||
− | + | <img src="{{SERVER}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}"> | |
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Template]]</noinclude><includeonly>{{#switch:{{{storemode|}}} | [[Category:Template]]</noinclude><includeonly>{{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 52: | Line 41: | ||
|Icon style={{{style|shadow}}} | |Icon style={{{style|shadow}}} | ||
|Icon size={{{size|48}}} | |Icon size={{{size|48}}} | ||
− | }}}} | + | }}}}<img src="{{SERVER}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}">{{#switch:{{{viewmode|}}} |
|editable={{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/Icon/{{FULLPAGENAME}}|title=edit}}}}</includeonly> | |editable={{Icon|name=edit|size=16}}{{Link|target=Special:FormEdit/Icon/{{FULLPAGENAME}}|title=edit}}}}</includeonly> |
Latest revision as of 14:36, 28 December 2015
This is the template for ProfiWiki stock icons which are derived from https://fortawesome.github.io/Font-Awesome/cheatsheet/ see Category:Icon
examples
{{Icon}}
{{Icon|name=home}}
{{Icon|name=home}}
{{Icon|name=server}}
{{Icon|name=home|style=plain}}
{{Icon|name=home|size=32}}
implementation
<img src="{{SERVER}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}">