Template:Icon: Difference between revisions

From wiki
Jump to navigation Jump to search
(pushed from contexts by wikipush)
 
(pushed from master by wikipush)
 
Line 36: Line 36:
<img src="{{SERVER}}{{SCRIPTPATH}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}">
<img src="{{SERVER}}{{SCRIPTPATH}}/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]]{{NeededFor|ProfiWiki}}</noinclude><includeonly>{{#switch:{{{storemode|}}}
|none=
|none=
|#default={{#subobject:Icon_name={{{name|question_and_answer}}}
|#default={{#subobject:Icon_name={{{name|question_and_answer}}}

Latest revision as of 18:57, 6 August 2024

Template:Category

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}}{{SCRIPTPATH}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}">