Template:ReadTranscript: Difference between revisions

From LoadingReadyWiki
Jump to navigationJump to search
m Maybe this will fix the color, maybe it'll break everything
m Sigh... parameter indexing starts at 1, not 0...
 
Line 1: Line 1:
<includeonly>{{#ifexist:{{PAGENAME}} Transcript|'''Read [[{{PAGENAME}} Transcript|<span style="color:{{{0|inherit}}};">{{PAGENAME}} Transcript</span>]]'''|}}</includeonly><noinclude>Template for "Read Page Name Transcript" links in Navigation boxes.
<includeonly>{{#ifexist:{{PAGENAME}} Transcript|'''Read [[{{PAGENAME}} Transcript|<span style="color:{{{1|inherit}}};">{{PAGENAME}} Transcript</span>]]'''|}}</includeonly><noinclude>Template for "Read Page Name Transcript" links in Navigation boxes.


== Usage ==
== Usage ==
  <nowiki>{{ReadTranscript|color}}</nowiki>
  <nowiki>{{ReadTranscript|color}}</nowiki>
* <code>color</code> can be any valid CSS color (named or hex starting with #), used to change the color of the clickable link part.
* <code>color</code> can be any valid CSS color (named or hex starting with #), used to change the color of the clickable link part.

Latest revision as of 23:39, 18 October 2019

Template for "Read Page Name Transcript" links in Navigation boxes.

Usage

{{ReadTranscript|color}}
  • color can be any valid CSS color (named or hex starting with #), used to change the color of the clickable link part.