Template:LinkLRRVideo: Difference between revisions

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


== Usage ==
== Usage ==
  <nowiki>{{LinkLRRVideo|Video ID|Display Text}}</nowiki>
  <nowiki>{{LinkLRRVideo|Video ID|Display Text|color}}</nowiki>
* <code>Video ID</code> is the video number.
* <code>Video ID</code> is the video 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>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 03:59, 19 October 2019

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

Usage

{{LinkLRRVideo|Video ID|Display Text|color}}
  • Video ID is the video number.
  • Display Text is the text to turn into a link, just like adding text to a normal external link.
  • color can be any valid CSS color (named or hex starting with #), to recolor the link.