This stylesheet adds a custom icon font based on FANDOM icons.
Installation
Simply copy and paste the following code to the top of your wiki's Wikia.css.
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:FandomIcons/code.css&only=styles";
Or place this code in your wiki's Common.js page:
importArticles({
type: "style",
articles: [
"u:dev:MediaWiki:FandomIcons/code.css"
]
});
Use
<span class="fandom-icons icon-NAME"></span>
Where NAME is the icon name.
See also
- WDSIcons - Inject SVG icons.