Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (Making tiny clarifications on common use cases)
Line 119: Line 119:
   
 
To use, include {{t|book ref|book|chapter}}
 
To use, include {{t|book ref|book|chapter}}
* the book is expanded by {{t|b}}
+
* Replace <code>book</code> with the appropriate code from {{t|b}}
* the chapter should either be prologue, epilogue or the chapter number
+
* <code>chapter</code> should be the chapter number, <code>prologue</code>, or <code>epilogue</code>
* if the second argument is `i` or `interlude` type the third argument is used as the interlude number
+
* When referring to interludes, replace <code>chapter</code> with <code>i|number</code>, where the latter is the interlude number
  +
* For parts that aren't any of the above, replace <code>chapter</code> with <code>part=name</code>; for example, <code>part=ars</code> for Ars Arcanum
 
* {{{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 12:40, 18 April 2020

This template is used to refer to chapter summaries on the coppermind.

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

  • Replace book with the appropriate code from {{b}}
  • chapter should be the chapter number, prologue, or epilogue
  • When referring to interludes, replace chapter with i|number, where the latter is the interlude number
  • For parts that aren't any of the above, replace chapter with part=name; for example, part=ars for Ars Arcanum
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group

The following books have specific templates for referencing use:

  • Mistborn: Secret History uses {{msh ref|part|chapter}} as the chapters start at 1 in each part
  • The Emperor's Soul uses {{tes ref|day number}} as the chapters are numbered differently
  • Khriss' articles in Arcanum Unbounded use {{au ref|system name}} because they're not chapters