Fandom Developers Wiki
([MobileEditor] <br> to <ul> (br is inline separator per HTML spec))
(Activate automatic multi-language)
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
<noinclude>{{LangSelect}}</noinclude><includeonly>
  +
{{Languages}}
 
{{Infobox JavaScript
 
{{Infobox JavaScript
 
| Image file = EraIcons.PNG
 
| Image file = EraIcons.PNG
| Status = Beta
+
| Status = Stable
 
| Description = Allows for the addition of era icons to page headers
 
| Description = Allows for the addition of era icons to page headers
 
| Scope = s
 
| Scope = s
Line 26: Line 28:
   
 
== Changelog ==
 
== Changelog ==
  +
*07-10-20 - UCP-ready ([[Special:Diff/141281|JS]] | [[Special:Diff/141300|CSS]])
 
*12-09-17 - Initial revision
 
*12-09-17 - Initial revision
  +
</includeonly>

Revision as of 19:40, 15 October 2020

EraIcons is a JavaScript user script that enables users to add era icons to the headers of pages.

To add an icon, just wrap the image you wish to use with <div class="eraicon"></div> (example here); it will then be appended by the script to the header of the page. The script will use whatever styles are included in the wiki's Common.css or Wikia.css files to display the icon properly, though users may elect to use the script's default stylesheet through the inclusion of a window variable, namely window.useIncludedStylesheet = true;

Installation

Changelog

  • 07-10-20 - UCP-ready (JS | CSS)
  • 12-09-17 - Initial revision
Text above can be found here (edit)