Difference between revisions of "Template:Epigraph ref"

From The Coppermind
Jump to navigation Jump to search
(#)
 
m
Line 4: Line 4:
 
-->|{{{pre|}}}<!--
 
-->|{{{pre|}}}<!--
   
-->[[{{b|{{{1}}}|}}/Epigraphs#Chapter_{{{2}}}<!--
+
-->[[{{b|{{{1}}}|}}/Epigraphs#{{{part|Chapter_{{{2}}}|}}}<!--
-->|{{{text|{{b|{{{1}}}|}} chapter {{{2}}} epigraph|}}}]]<!--
+
-->|{{{text|{{b|{{{1}}}|}} {{#if:{{{part|}}}|{{{part}}} epigraphs|chapter {{{2}}} epigraph|}}|}}}]]<!--
   
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
 
NAME
 
NAME
-->|name={{{name|{{b|{{{1}}}|}}-chapter-{{{2}}}-epigraph|}}}<!--
+
-->|name={{{name|{{b|{{{1}}}|}}-{{{part|chapter-{{{2}}}|}}}-epigraph|}}}<!--
   
 
GROUP
 
GROUP
Line 19: Line 19:
 
To use, include {{t|epigraph ref|book|chapter}}
 
To use, include {{t|epigraph ref|book|chapter}}
 
* {{{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

Revision as of 18:47, 24 August 2014

This template is used to refer to epigraphs.

To use, include {{epigraph ref|book|chapter}}

  • {{{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
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group