Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (track pre/post usage + show usage)
m (Might as well track part here too)
Line 38: Line 38:
 
LINK TEXT
 
LINK TEXT
 
-->{{#if:{{{part|}}}<!--
 
-->{{#if:{{{part|}}}<!--
-->|{{#switch:{{lc:{{{part}}}|}}<!--
+
-->|{{ref/uses-part}}{{#switch:{{lc:{{{part}}}|}}<!--
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--
 
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--

Revision as of 00:55, 24 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