Template:LinkLRRPodcast: Difference between revisions
From LoadingReadyWiki
Jump to navigationJump to search
Road-hog123 (talk | contribs) 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..." |
Road-hog123 (talk | contribs) m Fix indices starting at 0 not 1 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[https://loadingreadyrun.com/lrrcasts/view/{{{ | <includeonly>[https://loadingreadyrun.com/lrrcasts/view/{{{1}}}{{#if:{{{3|}}}|/audio-only/AU|}} <span style="color:{{{4|inherit}}};">{{{2|}}}</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> | ||
Latest revision as of 04:16, 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 IDis the podcast number.Display Textis the text to turn into a link, just like adding text to a normal external link.Audio-Onlyis an optional parameter that can be set to any non-empty value to point to the audio-only page instead of the video page.colorcan be any valid CSS color (named or hex starting with #), to recolor the link.