User:Admin/foo: Difference between revisions
No edit summary |
examples |
||
| Line 20: | Line 20: | ||
</button> | </button> | ||
</div> | </div> | ||
</html> | |||
{ | |||
"name": "icons.json", | |||
"callback": "MediaWiki\\ResourceLoader\\CodexModule::getIcons", | |||
"callbackParam": [ | |||
// List the icons your module needs here, e.g.: | |||
"cdxIconArrowNext", | |||
"cdxIconBold", | |||
"cdxIconTrash" | |||
] | |||
} | |||
cdxIconLogoCC | |||
cdxIconLogoCodex | |||
cdxIconLogoMediaWiki | |||
cdxIconLogoMetaWiki | |||
cdxIconLogoWikibooks | |||
cdxIconLogoWikidata | |||
cdxIconLogoWikifunctions | |||
cdxIconLogoWikimedia | |||
cdxIconLogoWikimediaCommons | |||
cdxIconLogoWikimediaDiscovery | |||
cdxIconLogoWikinews | |||
cdxIconLogoWikipedia | |||
cdxIconLogoWikiquote | |||
cdxIconLogoWikisource | |||
cdxIconLogoWikispecies | |||
cdxIconLogoWikiversity | |||
<html> | |||
<!-- Standalone icon. --> | |||
<span class="my-icon-class--map-pin"></span> | |||
<button class="cdx-button cdx-button--action-destructive"> | |||
<!-- Icon inside a button. --> | |||
<span class="my-icon-class--trash"></span> | |||
Delete | |||
</button> | |||
</html> | </html> | ||