Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (+Dark One)
m (Add preface to part parameter)
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
-->|prelude=Summary: The Way of Kings#Prelude<!--
 
-->|prelude=Summary: The Way of Kings#Prelude<!--
 
-->|bastille's letter=Summary: The Dark Talent#Bastille's Letter<!--
 
-->|bastille's letter=Summary: The Dark Talent#Bastille's Letter<!--
-->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!--
+
-->|ars=Ars Arcanum#{{b|{{{1}}}|text=y}}<!--
-->|ack=Acknowledgements#{{b|{{{1}}}|}}<!--
+
-->|ack=Acknowledgements#{{b|{{{1}}}|text=y}}<!--
-->|postscript=Summary: {{b|{{{1}}}|}}#Postscript<!--
+
-->|postscript=Summary: {{b|{{{1}}}|text=y}}#Postscript<!--
  +
-->|preface=Summary: {{b|{{{1}}}|text=y}}#Preface<!--
 
-->|{{#if:{{{part|}}}|{{ref/broken|book ref/part}} {{{part}}}|<!-- -->}}<!--
 
-->|{{#if:{{{part|}}}|{{ref/broken|book ref/part}} {{{part}}}|<!-- -->}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->|<!--
 
-->|<!--
-->Summary: {{b|{{{1}}}|missing-err=}}#<!--
+
-->Summary: {{b|{{{1}}}|text=y|missing-err=}}#<!--
 
-->{{#if:{{#pos:{{{1|}}}|do}}|{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}|<!--
 
-->{{#if:{{#pos:{{{1|}}}|do}}|{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}|<!--
 
-->{{#if:{{{2|}}}<!--
 
-->{{#if:{{{2|}}}<!--
Line 44: Line 45:
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|prelude=Prelude to the ''Stormlight Archive''<!--
 
-->|bastille's letter=Bastille's Letter from ''Alcatraz Versus the Dark Talent''<!--
 
-->|bastille's letter=Bastille's Letter from ''Alcatraz Versus the Dark Talent''<!--
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--
+
-->|ars=''{{b|{{{1}}}|text=y}}'' Ars Arcanum<!--
-->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!--
+
-->|ack=Acknowledgements for ''{{b|{{{1}}}|}}''<!--
-->|postscript=''{{b|{{{1}}}|}}'' postscript<!--
+
-->|postscript=''{{b|{{{1}}}|text=y}}'' postscript<!--
  +
-->|preface=''{{b|{{{1}}}|text=y}}'' preface<!--
 
-->}}<!--
 
-->}}<!--
-->|''{{b|{{{1}}}|missing-err=}}''<!--
+
-->|''{{b|{{{1}}}|text=y|missing-err=}}''<!--
 
-->{{#if:{{#pos:{{{1|}}}|do}}|, {{lcfirst:{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}}}|<!--
 
-->{{#if:{{#pos:{{{1|}}}|do}}|, {{lcfirst:{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}}}|<!--
 
-->{{#if:{{{2|}}}<!--
 
-->{{#if:{{{2|}}}<!--
Line 76: Line 78:
 
-->|ack=Summary: {{b|{{{1}}}|}}/Acknowledgements<!--
 
-->|ack=Summary: {{b|{{{1}}}|}}/Acknowledgements<!--
 
-->|postscript=Summary: {{b|{{{1}}}|}}/Postscript<!--
 
-->|postscript=Summary: {{b|{{{1}}}|}}/Postscript<!--
  +
-->|preface=Summary: {{b|{{{1}}}|}}/Preface<!--
 
-->}}<!--
 
-->}}<!--
 
-->|<!--
 
-->|<!--
-->Summary: {{b|{{{1}}}|}}<!--
+
-->Summary: {{b|{{{1}}}|text=y|}}<!--
 
-->{{#if:{{{2|}}}<!--
 
-->{{#if:{{{2|}}}<!--
 
-->|/<!--
 
-->|/<!--

Revision as of 23:25, 10 August 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