Difference between revisions of "Template:Epigraph ref"

From The Coppermind
Jump to navigation Jump to search
m (Tweak link text)
m (Text replacement - "category: sources [[" to "[[")
 
(4 intermediate revisions by 2 users 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
Line 58: Line 58:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[category: sources]]
 
 
[[category: reference templates]]
 
[[category: reference templates]]
   

Latest revision as of 05:42, 22 May 2022

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[edit]