Template:LinkLRRPodcast: Difference between revisions

From LoadingReadyWiki
Jump to navigationJump to search
Created page with "<includeonly>[https://loadingreadyrun.com/lrrcasts/view/{{{0}}}{{#if:{{{2|}}}|/audio-only/AU|}} {{{1|}}}]</includeonly><noinclude>Template for formatting links to LRR Podcasts..."
 
m Add recolor support
Line 1: Line 1:
<includeonly>[https://loadingreadyrun.com/lrrcasts/view/{{{0}}}{{#if:{{{2|}}}|/audio-only/AU|}} {{{1|}}}]</includeonly><noinclude>Template for formatting links to LRR Podcasts (for Videos, see [[Template:LinkLRRVideo]]).
<includeonly>[https://loadingreadyrun.com/lrrcasts/view/{{{0}}}{{#if:{{{2|}}}|/audio-only/AU|}} <span style="color:{{{3|inherit}}};">{{{1|}}}</span>]</includeonly><noinclude>Template for formatting links to LRR Podcasts (for Videos, see [[Template:LinkLRRVideo]]).


== Usage ==
== Usage ==
  <nowiki>{{LinkLRRPodcast|Podcast ID|Display Text|Audio-Only}}</nowiki>
  <nowiki>{{LinkLRRPodcast|Podcast ID|Display Text|Audio-Only|color}}</nowiki>
* <code>Podcast ID</code> is the podcast number.
* <code>Podcast ID</code> is the podcast number.
* <code>Display Text</code> is the text to turn into a link, just like adding text to a normal external link.
* <code>Display Text</code> is the text to turn into a link, just like adding text to a normal external link.
* <code>Audio-Only</code> is an optional parameter that can be set to any non-empty value to point to the audio-only page instead of the video page.
* <code>Audio-Only</code> is an optional parameter that can be set to any non-empty value to point to the audio-only page instead of the video page.
* <code>color</code> can be any valid CSS color (named or hex starting with #), to recolor the link.
[[Category:Formatting Templates]]</noinclude>
[[Category:Formatting Templates]]</noinclude>

Revision as of 03:57, 19 October 2019

Template for formatting links to LRR Podcasts (for Videos, see Template:LinkLRRVideo).

Usage

{{LinkLRRPodcast|Podcast ID|Display Text|Audio-Only|color}}
  • Podcast ID is the podcast number.
  • Display Text is the text to turn into a link, just like adding text to a normal external link.
  • Audio-Only is an optional parameter that can be set to any non-empty value to point to the audio-only page instead of the video page.
  • color can be any valid CSS color (named or hex starting with #), to recolor the link.