Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (+error categories)
m (tweaks)
Line 29: Line 29:
 
-->|part=Part_{{{3}}}<!--
 
-->|part=Part_{{{3}}}<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
-->|c=Chapter_{{{3}}}<!--
 
 
-->|Chapter_{{{2}}}<!--
 
-->|Chapter_{{{2}}}<!--
 
-->}}<!--
 
-->}}<!--
Line 54: Line 53:
 
-->|part=part {{{3}}}<!--
 
-->|part=part {{{3}}}<!--
 
-->|i|interlude=interlude I-{{{3}}}<!--
 
-->|i|interlude=interlude I-{{{3}}}<!--
-->|c={{book ref/c}}chapter {{{3}}}<!--
 
 
-->|chapter {{{2}}}<!--
 
-->|chapter {{{2}}}<!--
 
-->}}<!--
 
-->}}<!--
Line 82: Line 80:
 
-->|part=Part_{{{3}}}<!--
 
-->|part=Part_{{{3}}}<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
 
-->|i|interlude=Interlude_I-{{{3}}}<!--
-->|c=Chapter_{{{3}}}<!--
 
 
-->|Chapter_{{{2}}}<!--
 
-->|Chapter_{{{2}}}<!--
 
-->}}<!--
 
-->}}<!--
Line 111: Line 108:
 
-->|c=[[category: redundant specifier in book ref template]]<!-- {{book ref|-|c|0}} is redundant
 
-->|c=[[category: redundant specifier in book ref template]]<!-- {{book ref|-|c|0}} is redundant
 
-->|e=[[category: epigraph ref using book ref template]]<!-- since {{epigraph ref}}
 
-->|e=[[category: epigraph ref using book ref template]]<!-- since {{epigraph ref}}
  +
-->|part=[[category: ref to book part]]<!-- {{book ref|-|part|x}}
 
-->}}<!--
 
-->}}<!--
   

Revision as of 13:31, 30 July 2018

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

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

  • the book is expanded by {{b}}
  • the chapter should either be prologue, epilogue or the chapter number
  • if the second argument is `i` or `interlude` type the third argument is used as the interlude number
  • {{{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