Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
(fixed a typo and added instructions for books without numbered chapters)
m (track pre/post usage + show usage)
Line 6: Line 6:
 
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!--
 
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->[[<!--
 
-->[[<!--
Line 60: Line 60:
 
-->]]<!--
 
-->]]<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
 
--><small> <sub>{{tracking link|<!--
 
--><small> <sub>{{tracking link|<!--
Line 136: Line 136:
 
[[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}}

Revision as of 10:52, 19 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 referencing chapters which have names in place of numbers, such as several chapters in the Alcatraz books, use the name of the chapter in place of a number. For example: {{book ref|a5|mary}}
  • 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 (don't use this for parts that are comprised of multiple chapters, like in The Stormlight Archive books; always reference a specific chapter, or put {{cite}} if you can't find it)
  • {{{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

Articles using Template