Difference between revisions of "Template:Epigraph ref"

From The Coppermind
Jump to navigation Jump to search
m (Tweak link text)
m (trak)
(3 intermediate revisions by one other user not shown)
Line 16: Line 16:
 
LINK TEXT:
 
LINK TEXT:
 
-->{{#if:{{{text|}}}|{{{text}}}<!--
 
-->{{#if:{{{text|}}}|{{{text}}}<!--
-->|''{{b|{{{1}}}}}'' <!--
+
-->|''{{b|{{{1}}}|text=y}}'' <!--
 
-->{{#switch:{{lc:{{{2}}}}}<!--
 
-->{{#switch:{{lc:{{{2}}}}}<!--
 
-->|prologue=prologue<!--
 
-->|prologue=prologue<!--
Line 27: Line 27:
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><small><sub>{{tracking link|{{b|{{{1}}}}}/Epigraphs/<!--
+
-->{{tracking link|Summary:{{b|{{{1}}}|text=y}}/Epigraphs/<!--
 
-->{{#switch:{{lc:{{{2}}}}}<!--
 
-->{{#switch:{{lc:{{{2}}}}}<!--
 
-->|prologue=Prologue<!--
 
-->|prologue=Prologue<!--
Line 33: Line 33:
 
-->|Chapter_{{{2}}}<!--
 
-->|Chapter_{{{2}}}<!--
 
-->}}<!--
 
-->}}<!--
-->}}</sub></small><!--
+
-->}}<!--
   
 
NAME
 
NAME
Line 51: Line 51:
 
--></includeonly><noinclude>This template is used to refer to epigraphs.
 
--></includeonly><noinclude>This template is used to refer to epigraphs.
   
To use, include {{t|epigraph ref|book|part}} where <code>book</code> is a book code from {{t|b}} and <code>part></code> is the chapter number, prologue, or epilogue. The following parameters are also available:
+
To use, include {{t|epigraph ref|book|part}} where <code>book</code> is a book code from {{t|b}} and <code>part</code> is the chapter number, prologue, or epilogue. The following parameters are also available:
 
* {{{text}}} replaces the whole link text
 
* {{{text}}} replaces the whole link text
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link

Revision as of 18:55, 1 February 2021

This template is used to refer to epigraphs.

To use, include {{epigraph ref|book|part}} where book is a book code from {{b}} and part is the chapter number, prologue, or epilogue. The following parameters are also available:

  • {{{text}}} replaces the whole link text
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group

Articles using Template