Difference between revisions of "Template:Epigraph ref"

From The Coppermind
Jump to navigation Jump to search
m (Implement text parameter)
m (trak)
 
Line 27: Line 27:
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
 
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
--><small><sub>{{tracking link|Summary:{{b|{{{1}}}|text=y}}/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

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