Difference between revisions of "Template:MdiIcon"

From BITPlan Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
<html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html>
 
<html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html>
 
</source>
 
</source>
<pre>{{mdi-icon|icon=face}}</pre>
+
<pre>{{mdi-icon|icon=home}}</pre>
{{mdi-icon|icon=face}}
+
{{mdi-icon|icon=home}}
 
<html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html>
 
<html><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"></html>
  
 
</noinclude><includeonly><i class="material-icons">{{{icon|face}}}</i></includeonly>
 
</noinclude><includeonly><i class="material-icons">{{{icon|face}}}</i></includeonly>

Revision as of 06:16, 7 December 2019

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>
{{mdi-icon|icon=home}}

Template:Mdi-icon