Difference between revisions of "Template:Icon"

From BITPlan profiwiki Wiki
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 BITPlan Iconfactory stock icons
+
}}
 +
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}}
 
=== Stockicons ===
 
[http://capri.bitplan.com/sonstiges/icons/com.bitplan.icons.IconsFactory48x48shadow.html 48x48Shadow]
 
<file>/sonstiges/icons/48x48/shadow/</file>
 
Application Basics: <file>/sonstiges/icons/icons_ap.pdf</file>
 
Business and Data: <file>/sonstiges/icons/icons_bd.pdf</file>
 
Flags of the World: <file>/sonstiges/icons/icons_fw.pdf</file>
 
Network and Security: <file>/sonstiges/icons/icons_ns.pdf</file>
 
Objects and People: <file>/sonstiges/icons/icons_op.pdf</file>
 
  
 
=== implementation ===
 
=== implementation ===
 
<source lang='html4strict'>
 
<source lang='html4strict'>
http://capri.bitplan.com/sonstiges/icons/{{{size|48}}}x{{{size|48}}}/{{{style|shadow}}}/{{{name|question_and_answer}}}.png
+
<img src="{{SERVER}}/font-awesome/svg/{{{name|question_and_answer}}}.svg" width="{{{size|48}}}" height="{{{size|48}}}" title="{{{name|question_and_answer}}}">
 
</source>
 
</source>
==== alternative Implementation ====
 
<pre>
 
<img src='http://capri.bitplan.com/sonstiges/icons/{{{size|48}}}x{{{size|48}}}/{{{style|shadow}}}/{{{name|question_and_answer}}}.png'>
 
</pre>
 
 
[[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}}}
}}}}http://capri.bitplan.com/sonstiges/icons/{{{size|48}}}x{{{size|48}}}/{{{style|shadow}}}/{{{name|question_and_answer}}}.png{{#switch:{{{viewmode|}}}
+
}}}}<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}}}">