Template:External links: Difference between revisions
Trig Jegman (talk | contribs) mNo edit summary |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<div style="border-color:#0099ff; background-color:#d9f0ff; color:#000000; border-radius:5px; border-style:solid; border-width:1px 5px 1px 5px; column-gap:1em; margin:.5em 0; padding:.5em; width:250px; text-align:center;"> | <div style="border-color:#0099ff; background-color:#d9f0ff; color:#000000; border-radius:5px; border-style:solid; border-width:1px 5px 1px 5px; column-gap:1em; margin:.5em 0; padding:.5em; width:250px; text-align:center;"> | ||
'''External links:'''<br clear=all> | '''External links:'''<br clear=all> | ||
{{#ifeq:{{{twitch|}}}|no||{{#if:{{{twitch|}}}|<span class="img-ib-inline">[[File:Twitch Icon.png|25px|link={{{twitch|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Twitch Icon.png|25px|Twitch|link=]]</span>}}}} {{#ifeq:{{{speedrun|}}}|no||{{#if:{{{speedrun|}}}|<span class="img-ib-inline">[[File:Speedruncom icon.png|25px|link={{{speedrun|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Speedruncom icon.png|25px|Speedrun.com|link=]]</span>}}}} {{#ifeq:{{{youtube|}}}|no||{{#if:{{{youtube|}}}|<span class="img-ib-inline">[[File: | {{#ifeq:{{{twitch|}}}|no||{{#if:{{{twitch|}}}|<span class="img-ib-inline">[[File:Twitch Icon.png|25px|link={{{twitch|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Twitch Icon.png|25px|Twitch|link=]]</span>}}}} {{#ifeq:{{{speedrun|}}}|no||{{#if:{{{speedrun|}}}|<span class="img-ib-inline">[[File:Speedruncom icon.png|25px|link={{{speedrun|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:Speedruncom icon.png|25px|Speedrun.com|link=]]</span>}}}} {{#ifeq:{{{youtube|}}}|no||{{#if:{{{youtube|}}}|<span class="img-ib-inline">[[File:YouTube Icon.png|25px|link={{{youtube|}}}]]</span>|<span class="img-ib-inline img-greyscale">[[File:YouTube Icon.png|25px|Youtube|link=]]</span>}}}} {{#ifeq:{{{strategywiki|}}}|no||{{#if:{{{strategywiki|}}}|<span class="img-ib-inline nolink">[[File:StrategyWiki Icon.svg|25px|link=[[strategywiki:{{{strategywiki|}}}]]]]</span>|<span class="img-ib-inline img-greyscale">[[File:StrategyWiki icon grayscale.png|25px|StrategyWiki|link=]]</span>}}}} {{#if:{{{wikipedia|}}}|<span class="img-ib-inline">[[File:Wikipedia Icon.png|25px|link={{{wikipedia|}}}]]</span>|}} {{#if:{{{twitter|}}}|<span class="img-ib-inline">[[File:Twitter Icon.svg|25px|link={{{twitter|}}}]]</span>|}} {{#if:{{{website|}}}|<span class="img-ib-inline">[[File:Web icon.png|25px|link={{{website|}}}|class=dark-image]]</span>|}} | ||
</div><noinclude><br clear=all> | </div><noinclude><br clear=all> | ||
This template is used to designate external links on articles or user pages. The default options include links to Twitch, Speedrun.com, Youtube, and StrategyWiki. If these are not filled in, they will appear grayed out. If they do not have a corresponding link at all, fill in the parameter with "no" to hide the icon.<br clear=all> | This template is used to designate external links on articles or user pages. The default options include links to Twitch, Speedrun.com, Youtube, and StrategyWiki. If these are not filled in, they will appear grayed out. If they do not have a corresponding link at all, fill in the parameter with "no" to hide the icon.<br clear=all> |
Latest revision as of 03:56, 21 June 2024
External links:
This template is used to designate external links on articles or user pages. The default options include links to Twitch, Speedrun.com, Youtube, and StrategyWiki. If these are not filled in, they will appear grayed out. If they do not have a corresponding link at all, fill in the parameter with "no" to hide the icon.
Additional icons exist only if the parameter is specified for Wikipedia, Twitter, and a generic external website. Otherwise, they will not appear.
All links should be the full URL of the webpage, with the exception of StrategyWiki which only needs the matching page name on the site (for example, Bowling would be strategywiki=Wii Sports/Bowling
).
Not filled out at all:
{{External links |twitch= |speedrun |youtube= |strategywiki= }}
External links:
With the main four links:
{{External links |twitch=https://www.twitch.tv/directory/category/wii-sports |speedrun=https://www.speedrun.com/wiisports |youtube=https://www.youtube.com/watch?v=mBOaO7QTFMQ |strategywiki=Wii Sports }}
With the all possible links:
{{External links |twitch=https://www.twitch.tv/directory/category/wii-sports |speedrun=https://www.speedrun.com/wiisports |youtube=https://www.youtube.com/watch?v=mBOaO7QTFMQ |strategywiki=Wii Sports |wikipedia=https://en.wikipedia.org/wiki/Wii_Sports |website=https://www.ign.com/articles/2006/11/14/wii-sports-review }}