Difference between revisions of "Template:Epigraph ref"

From The Coppermind
Jump to navigation Jump to search
m
m (trak)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#tag:ref<!--
+
<includeonly>{{#tag:ref|<!--
   
 
TEXT
 
TEXT
-->|{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
  +
LINK:
-->[[{{b|{{{1}}}|}}/Epigraphs{{{part|#{{{part|Chapter_{{{2}}}|}}}|}}}<!--
 
  +
-->[[<!--
-->|{{{text|''{{b|{{{1}}}|}}'' {{#if:{{{part|}}}|- {{{part}}} epigraphs|chapter {{{2}}} epigraph|}}|}}}]]<!--
 
 
-->{{b|{{{1}}}|}}/Epigraphs#<!--
  +
-->{{#switch:{{lc:{{{2}}}}}<!--
  +
-->|prologue=Prologue<!--
  +
-->|epilogue=Epilogue<!--
  +
-->|Chapter_{{{2}}}<!--
 
-->}}<!--
  +
-->|<!--
   
  +
LINK TEXT:
-->{{{post|}}}<!--
 
  +
-->{{#if:{{{text|}}}|{{{text}}}<!--
  +
-->|''{{b|{{{1}}}|text=y}}'' <!--
  +
-->{{#switch:{{lc:{{{2}}}}}<!--
  +
-->|prologue=prologue<!--
  +
-->|epilogue=epilogue<!--
  +
-->|chapter {{{2}}}<!--
  +
-->}}<!--
  +
--> epigraph}}<!--
  +
-->]]<!--
  +
  +
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
  +
  +
-->{{tracking link|Summary:{{b|{{{1}}}|text=y}}/Epigraphs/<!--
  +
-->{{#switch:{{lc:{{{2}}}}}<!--
  +
-->|prologue=Prologue<!--
  +
-->|epilogue=Epilogue<!--
  +
-->|Chapter_{{{2}}}<!--
  +
-->}}<!--
  +
-->}}<!--
   
 
NAME
 
NAME
-->|name={{{name|{{b|{{{1}}}|}}-{{{part|chapter-{{{2}}}|}}}-epigraph|}}}<!--
+
-->|name={{{name|{{b|{{{1}}}|}}<!--
  +
-->-{{#switch:{{lc:{{{2}}}}}<!--
  +
-->|prologue=prologue<!--
  +
-->|epilogue=epilogue<!--
  +
-->|chapter-{{{2}}}<!--
  +
-->}}<!--
  +
-->-epigraph|}}}<!--
   
 
GROUP
 
GROUP
 
-->|group={{{group|}}}<!--
 
-->|group={{{group|}}}<!--
   
  +
-->}}<!--
-->}}{{#if:{{{part|}}}|[[Category: epigraph part]]|}}</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|chapter}}
 
  +
  +
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
* {{{part}}} can be used to refer to other parts of the epigraphs page
 
 
* {{{pre}}} is included before the link
 
* {{{pre}}} is included before the link
 
* {{{post}}} is included after the link
 
* {{{post}}} is included after the link
Line 25: Line 58:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
+
[[category: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

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]