Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (improve the error template stuff)
m (use {{tracking link}})
Line 62: Line 62:
 
-->{{{post|}}}<!--
 
-->{{{post|}}}<!--
   
--><small> <sub>[[<!--
+
--><small> <sub>{{tracking link|<!--
 
-->{{#if:{{{part|}}}<!--
 
-->{{#if:{{{part|}}}<!--
 
-->|{{#switch:{{lc:{{{part|}}}|}}<!--
 
-->|{{#switch:{{lc:{{{part|}}}|}}<!--
Line 85: Line 85:
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
-->|#]]</sub></small><!--
+
-->}}</sub></small><!--
   
 
-->|{{ref/broken|b/missing}} {{{1}}}<!--
 
-->|{{ref/broken|b/missing}} {{{1}}}<!--
Line 132: Line 132:
 
* [[Khriss]]' articles in ''Arcanum Unbounded'' use {{t|au ref|system name}} because they're not chapters
 
* [[Khriss]]' articles in ''Arcanum Unbounded'' use {{t|au ref|system name}} because they're not chapters
   
[[Category: Sources]]
+
[[category: sources]]
[[Category: Reference templates]]
+
[[category: reference templates]]

Revision as of 09:27, 8 September 2019

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