Template:FaviconLink

From Tomba! Wiki
Jump to navigation Jump to search

Adds a favicon to a link.

Usage

This should be used when linking to websites in the external links section of a page, primarily.

You don't have to specify which icon to use. Just wrapping a link around the FaviconLink template is sufficient.

* {{FaviconLink|[https://twitter.com/soundfujita Harumi Fujita's personal Twitter account]}}
* {{FaviconLink|[https://drive.google.com/asdf Google Drive]}}
* {{FaviconLink|[https://github.com/msikma/tomba-club-vector Github page for tomba-club-vector]}}
* {{FaviconLink|[https://www.google.com/maps/@51.9053303,4.511873,18.26z A location on Google Maps]}}
* {{FaviconLink|[https://maps.app.goo.gl/cT5vNq6xoc9mmPuZ7 Also a location on Google Maps]}}
* {{FaviconLink|[https://www.instagram.com/p/Ch3YphHOHwk/ An image on Instagram]}}

If the URL itself can't be matched to the correct icon (e.g. when you're actually linking to an Archive.today page), you can force a specific icon by passing its domain as the second argument:

* {{FaviconLink|[https://social.erambert.me/@macthemes/114608701861444949 A Mastodon server]|mastodon.social}}

Examples

Social media

Creative platforms

Google services

Other