Difference between revisions of "Template:MdiIcon"

From BITPlan Wiki
Jump to navigation Jump to search
 
Line 22: Line 22:
 
<pre>{{mdiIcon|icon=face|size=36}}</pre>
 
<pre>{{mdiIcon|icon=face|size=36}}</pre>
 
{{mdiIcon|icon=face|size=36}}
 
{{mdiIcon|icon=face|size=36}}
<pre>{{mdiIcon|icon=arrow_up|size=32}}</pre>
+
<pre>{{mdiIcon|icon=arrow_up_down_bold|size=32}}</pre>
{{mdiIcon|icon=arrow_up|size=33}}
+
{{mdiIcon|icon=arrow_up_down_bold|size=32}}
 
<pre>{{mdiIcon|title=go home}}</pre>
 
<pre>{{mdiIcon|title=go home}}</pre>
 
{{mdiIcon|title=go home}}
 
{{mdiIcon|title=go home}}

Latest revision as of 18:27, 14 January 2020

This is a template to display Material Design Icons

see

Usage

make sure the Material Icons font is available e.g. with

<html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html>
{{mdiIcon|icon=home|color=blue|size=64}}

home

{{mdiIcon|icon=favorite|color=red|size=48}}

favorite

{{mdiIcon|icon=face|size=36}}

face

{{mdiIcon|icon=arrow_up_down_bold|size=32}}

arrow_up_down_bold

{{mdiIcon|title=go home}}

home