Template:FaviconLink: Difference between revisions

From Tomba! Wiki
Jump to navigation Jump to search
Dada78641 (talk | contribs)
Created page with "<includeonly><span class="site-favicon">{{{1|}}}</span></includeonly><noinclude> Adds a favicon to a link. == Usage == <pre> * {{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..."
 
Dada78641 (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><span class="site-favicon">{{{1|}}}</span></includeonly><noinclude>
<includeonly><span class="site-favicon {{#if: {{{2|}}} | domain-{{{2}}}}}">{{{1|}}}</span></includeonly><noinclude>
Adds a favicon to a link.
Adds a favicon to a link.


Line 11: Line 11:
* {{FaviconLink|[https://maps.app.goo.gl/cT5vNq6xoc9mmPuZ7 Also 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]}}
* {{FaviconLink|[https://www.instagram.com/p/Ch3YphHOHwk/ An image on Instagram]}}
</pre>
Force a specific icon by passing its domain:
<pre>
* {{FaviconLink|[https://social.erambert.me/@macthemes/114608701861444949 A Mastodon server]|mastodon.social}}
</pre>
</pre>


Line 21: Line 27:
* {{FaviconLink|[https://maps.app.goo.gl/cT5vNq6xoc9mmPuZ7 Also 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]}}
* {{FaviconLink|[https://www.instagram.com/p/Ch3YphHOHwk/ An image on Instagram]}}
* {{FaviconLink|[https://social.erambert.me/@macthemes/114608701861444949 A Mastodon server]|mastodon.social}}

Revision as of 15:04, 1 June 2025

Adds a favicon to a link.

Usage

* {{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]}}

Force a specific icon by passing its domain:

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

Example