Difference between revisions of "Template:Book ref"

From The Coppermind
Jump to navigation Jump to search
m (+A3 Royal epilogue)
m
 
(5 intermediate revisions by one other user not shown)
Line 16: Line 16:
 
-->|bastille's letter=Summary: The Dark Talent#Bastille's Letter<!--
 
-->|bastille's letter=Summary: The Dark Talent#Bastille's Letter<!--
 
-->|royal epilogue=Summary:The Knights of Crystallia#Royal Epilogue (Not a Chapter)<!--
 
-->|royal epilogue=Summary:The Knights of Crystallia#Royal Epilogue (Not a Chapter)<!--
  +
-->|anotherepilogue=Summary:Yumi and the Nightmare Painter#Another Epilogue<!--
 
-->|ars=Ars Arcanum#{{b|{{{1}}}|text=y}}<!--
 
-->|ars=Ars Arcanum#{{b|{{{1}}}|text=y}}<!--
 
-->|ack=Acknowledgements#{{b|{{{1}}}|text=y}}<!--
 
-->|ack=Acknowledgements#{{b|{{{1}}}|text=y}}<!--
Line 29: Line 30:
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->|prologue=Prologue<!--
 
-->|prologue=Prologue<!--
-->|epilogue=Epilogue<!--
+
-->|epilogue=Epilogue{{#if:{{{3|}}}|_{{{3}}}}}<!--
 
-->|endnote=Endnote<!--
 
-->|endnote=Endnote<!--
 
-->|part=Part_{{{3}}}<!--
 
-->|part=Part_{{{3}}}<!--
Line 45: Line 46:
 
-->|{{ref/uses-part}}{{#switch:{{lc:{{{part}}}|}}<!--
 
-->|{{ref/uses-part}}{{#switch:{{lc:{{{part}}}|}}<!--
 
-->|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 ''The Dark Talent''<!--
-->|royal epilogue=''Alcatraz Versus the Knights of Crystallia'' Royal Epilogue (Not a Chapter)<!--
+
-->|royal epilogue=''The Knights of Crystallia'' Royal Epilogue (Not a Chapter)<!--
  +
-->|anotherepilogue=''Yumi and the Nightmare Painter'' Another Epilogue<!--
 
-->|ars=''{{b|{{{1}}}|text=y}}'' Ars Arcanum<!--
 
-->|ars=''{{b|{{{1}}}|text=y}}'' Ars Arcanum<!--
 
-->|ack=Acknowledgements for ''{{b|{{{1}}}|}}''<!--
 
-->|ack=Acknowledgements for ''{{b|{{{1}}}|}}''<!--
Line 58: Line 60:
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->|prologue=prologue<!--
 
-->|prologue=prologue<!--
-->|epilogue=epilogue<!--
+
-->|epilogue=epilogue{{#if:{{{3|}}}|&#32;{{{3}}}}}<!--
 
-->|endnote=endnote<!--
 
-->|endnote=endnote<!--
 
-->|part=part {{{3}}}<!--
 
-->|part=part {{{3}}}<!--
Line 78: Line 80:
 
-->|bastille's letter=Summary: The Dark Talent/Bastille's Letter<!--
 
-->|bastille's letter=Summary: The Dark Talent/Bastille's Letter<!--
 
-->|royal epilogue=Summary:The Knights of Crystallia/Royal Epilogue (Not a Chapter)<!--
 
-->|royal epilogue=Summary:The Knights of Crystallia/Royal Epilogue (Not a Chapter)<!--
  +
-->|anotherepilogue=Summary:Yumi and the Nightmare Painter/Another Epilogue<!--
 
-->|ars=Summary: {{b|{{{1}}}|}}/Ars Arcanum<!--
 
-->|ars=Summary: {{b|{{{1}}}|}}/Ars Arcanum<!--
 
-->|ack=Summary: {{b|{{{1}}}|}}/Acknowledgements<!--
 
-->|ack=Summary: {{b|{{{1}}}|}}/Acknowledgements<!--
Line 89: Line 92:
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->{{#switch:{{lc:{{{2}}}|}}<!--
 
-->|prologue=Prologue<!--
 
-->|prologue=Prologue<!--
-->|epilogue=Epilogue<!--
+
-->|epilogue=Epilogue{{#if:{{{3|}}}|_{{{3}}}}}<!--
 
-->|endnote=Endnote<!--
 
-->|endnote=Endnote<!--
 
-->|part=Part_{{{3}}}<!--
 
-->|part=Part_{{{3}}}<!--
Line 126: Line 129:
 
someone has forgotten to add the chapter to this reference
 
someone has forgotten to add the chapter to this reference
 
-->{{#if:{{{2|{{{part|}}}{{b/chapterless|{{{1}}}|}}|}}}|<!-- -->|[[category: chapterless references]]}}<!--
 
-->{{#if:{{{2|{{{part|}}}{{b/chapterless|{{{1}}}|}}|}}}|<!-- -->|[[category: chapterless references]]}}<!--
  +
White Sand check that chapters are still same in omnibus
  +
-->{{#ifeq:{{{review|}}}|yes|[[category: review ws references]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
Line 147: Line 152:
 
* [[Dark One]] uses this template in combination with {{t|Dark One lookup}} to show the chapter title in the reference
 
* [[Dark One]] uses this template in combination with {{t|Dark One lookup}} to show the chapter title in the reference
   
[[category: sources]]
 
 
[[category: reference templates]]
 
[[category: reference templates]]
   

Latest revision as of 06:12, 1 July 2023

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
  • Dark One uses this template in combination with {{Dark One lookup}} to show the chapter title in the reference

Articles using Template[edit]