This is the talk page for discussing improvements to the GlobalNavButtons page.
- Please sign and date your posts by typing four tildes (
~~~~
). - Put new text under old text. Click here to start a new topic.
- If you're new to the wiki, please take a look at the talk page help.
- Be polite
- Assume good faith
- Be welcoming
How to add icons to elements[]
I can't manage to get icons to show up. Neither by using their full link nor by using a normal wikitext link. I just insert
icon: 'https://static.wikia.nocookie.net/nomanssky_de_gamepedia/images/6/64/Favicon.ico/revision/latest?cb=20160823205426',
into the code that defines the elements, but it just shows the raw link instead of the icon that is being called. The full code block looks something like this (it is fully functional, just misses the icon):
{ text: 'No Mans Sky', url: 'https://nomanssky.fandom.com/wiki/', isMain: true, whoIsMain: false, icon: 'https://static.wikia.nocookie.net/nomanssky_de_gamepedia/images/6/64/Favicon.ico/revision/latest?cb=20160823205426', shortName: 'NMS' },
How do I correctly insert icons? The documentation is not clear (enough for me) about it. Thanks! Lenni (talk) 18:19, 14 October 2021 (UTC)