Difference between revisions of "Template:Book ref"
Jump to navigation
Jump to search
m (Making tiny clarifications on common use cases) |
m |
||
(17 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- |
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- |
||
− | -->{{{pre|}}}<!-- |
+ | -->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!-- |
-->[[<!-- |
-->[[<!-- |
||
Line 14: | Line 14: | ||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
-->|prelude=Summary: The Way of Kings#Prelude<!-- |
-->|prelude=Summary: The Way of Kings#Prelude<!-- |
||
− | -->| |
+ | -->|bastille's letter=Summary: The Dark Talent#Bastille's Letter<!-- |
+ | -->|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}}<!-- |
||
⚫ | |||
+ | -->|postscript=Summary: {{b|{{{1}}}|text=y}}#Postscript<!-- |
||
⚫ | |||
-->|{{#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:{{{2|}}}<!-- |
-->{{#if:{{{2|}}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
-->{{#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 31: | Line 36: | ||
-->|Chapter_{{{2}}}<!-- |
-->|Chapter_{{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
+ | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 38: | Line 44: | ||
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''<!-- |
||
− | -->| |
+ | -->|bastille's letter=Bastille's Letter from ''The Dark Talent''<!-- |
+ | -->|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<!-- |
||
+ | -->|ack=Acknowledgements for ''{{b|{{{1}}}|}}''<!-- |
||
+ | -->|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:{{{2|}}}<!-- |
-->{{#if:{{{2|}}}<!-- |
||
-->| <!-- |
-->| <!-- |
||
-->{{#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 55: | Line 66: | ||
-->|chapter {{{2}}}<!-- |
-->|chapter {{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
+ | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 60: | Line 72: | ||
-->]]<!-- |
-->]]<!-- |
||
− | -->{{{post|}}}<!-- |
+ | -->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!-- |
− | -- |
+ | -->{{tracking link|<!-- |
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
-->|prelude=Summary: The Stormlight Archive/Prelude<!-- |
-->|prelude=Summary: The Stormlight Archive/Prelude<!-- |
||
+ | -->|bastille's letter=Summary: The Dark Talent/Bastille's Letter<!-- |
||
+ | -->|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<!-- |
||
-->|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|}}}<!-- |
||
-->|/<!-- |
-->|/<!-- |
||
-->{{#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 85: | Line 101: | ||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->}} |
+ | -->}}<!-- /TRACKING |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
||
Line 104: | Line 120: | ||
-->|The Emperor's Soul={{b/tes}}<!-- since {{tes ref}} |
-->|The Emperor's Soul={{b/tes}}<!-- since {{tes ref}} |
||
-->|Arcanum Unbounded={{b/au}}<!-- since {{au ref}} |
-->|Arcanum Unbounded={{b/au}}<!-- since {{au ref}} |
||
− | -->|Alcatraz Versus the Evil Librarians (book)={{b/a1}}<!-- because it looks nasty |
||
-->}}<!-- |
-->}}<!-- |
||
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
Line 114: | 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 121: | Line 138: | ||
* Replace <code>book</code> with the appropriate code from {{t|b}} |
* Replace <code>book</code> with the appropriate code from {{t|b}} |
||
* <code>chapter</code> should be the chapter number, <code>prologue</code>, or <code>epilogue</code> |
* <code>chapter</code> should be the chapter number, <code>prologue</code>, or <code>epilogue</code> |
||
+ | * When referencing chapters which have names in place of numbers, such as several chapters in the [[Alcatraz Versus the Evil Librarians (series)|Alcatraz]] books, use the name of the chapter in place of a number. For example: {{t|book ref|a5|mary}} |
||
* When referring to interludes, replace <code>chapter</code> with <code>i|number</code>, where the latter is the interlude number |
* When referring to interludes, replace <code>chapter</code> with <code>i|number</code>, where the latter is the interlude number |
||
− | * For parts that aren't any of the above, replace <code>chapter</code> with <code>part=name</code>; for example, <code>part=ars</code> for Ars Arcanum |
+ | * For parts that aren't any of the above, replace <code>chapter</code> with <code>part=name</code>; for example, <code>part=ars</code> 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 {{t|cite}} if you can't find it) |
* {{{pre}}} is included before the link |
* {{{pre}}} is included before the link |
||
* {{{post}}} is included after the link |
* {{{post}}} is included after the link |
||
Line 132: | Line 150: | ||
* ''The Emperor's Soul'' uses {{t|tes ref|day number}} as the chapters are numbered differently |
* ''The Emperor's Soul'' uses {{t|tes ref|day number}} as the chapters are numbered differently |
||
* [[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 |
||
+ | * [[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]] |
||
+ | |||
+ | == 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}} |
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
, orepilogue
- 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
withi|number
, where the latter is the interlude number - For parts that aren't any of the above, replace
chapter
withpart=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]
- Brandon Sanderson (transclusion) (← links | edit)
- Luthadel (transclusion) (← links | edit)
- Hoid (transclusion) (← links | edit)
- Steel (transclusion) (← links | edit)
- Raoden (transclusion) (← links | edit)
- Sarene (transclusion) (← links | edit)
- Hrathen (transclusion) (← links | edit)
- Taan (transclusion) (← links | edit)
- Galladon (transclusion) (← links | edit)
- Iadon (transclusion) (← links | edit)
- Eshen (transclusion) (← links | edit)
- Wikim Davar (transclusion) (← links | edit)
- Jushu Davar (transclusion) (← links | edit)
- Balat Davar (transclusion) (← links | edit)
- Blushweaver (transclusion) (← links | edit)
- Evi Kholin (transclusion) (← links | edit)
- Elantris (book) (transclusion) (← links | edit)
- Mistborn: The Final Empire (transclusion) (← links | edit)
- Allomancy (transclusion) (← links | edit)
- Tin (transclusion) (← links | edit)
- Pewter (transclusion) (← links | edit)
- Zinc (transclusion) (← links | edit)
- Brass (transclusion) (← links | edit)
- Copper (transclusion) (← links | edit)
- Bronze (transclusion) (← links | edit)
- Cadmium (transclusion) (← links | edit)
- Bendalloy (transclusion) (← links | edit)
- Gold (transclusion) (← links | edit)
- Electrum (transclusion) (← links | edit)
- Chromium (transclusion) (← links | edit)
- Nicrosil (transclusion) (← links | edit)
- Duralumin (transclusion) (← links | edit)
- Atium (transclusion) (← links | edit)
- Malatium (transclusion) (← links | edit)
- Eventeo (transclusion) (← links | edit)
- Fjon (transclusion) (← links | edit)
- Wyrn (title) (transclusion) (← links | edit)
- Dilaf (transclusion) (← links | edit)
- Karata (transclusion) (← links | edit)
- Kiin (transclusion) (← links | edit)
- Daora (transclusion) (← links | edit)
- Daorn (transclusion) (← links | edit)
- Kaise (transclusion) (← links | edit)
- Lukel (transclusion) (← links | edit)
- Jalla (transclusion) (← links | edit)
- Adien (transclusion) (← links | edit)
- Telrii (transclusion) (← links | edit)
- Eondel (transclusion) (← links | edit)
- Shuden (transclusion) (← links | edit)
- Roial (transclusion) (← links | edit)
- Ahan (transclusion) (← links | edit)
- Edan (transclusion) (← links | edit)
- Kelsier (transclusion) (← links | edit)
- Marsh (transclusion) (← links | edit)
- Mare (transclusion) (← links | edit)
- Vin (transclusion) (← links | edit)
- Camon (transclusion) (← links | edit)
- Dockson (transclusion) (← links | edit)
- Hammond (transclusion) (← links | edit)
- Edgard Ladrian (transclusion) (← links | edit)
- Spook (transclusion) (← links | edit)
- Cladent (transclusion) (← links | edit)
- Sazed (transclusion) (← links | edit)
- Mennis (transclusion) (← links | edit)
- Yeden (transclusion) (← links | edit)
- Rashek (transclusion) (← links | edit)
- Teven Renoux (transclusion) (← links | edit)
- Gemmel (transclusion) (← links | edit)
- Kliss (transclusion) (← links | edit)
- Reen (transclusion) (← links | edit)
- Demoux (transclusion) (← links | edit)
- Shan Elariel (transclusion) (← links | edit)
- Elend Venture (transclusion) (← links | edit)
- Straff Venture (transclusion) (← links | edit)
- TenSoon (transclusion) (← links | edit)
- Ferson Penrod (transclusion) (← links | edit)
- Ashweather Cett (transclusion) (← links | edit)
- Allrianne Cett (transclusion) (← links | edit)
- Tindwyl (transclusion) (← links | edit)
- Alendi (transclusion) (← links | edit)
- Kwaan (transclusion) (← links | edit)
- Amaranta (transclusion) (← links | edit)
- Felt (transclusion) (← links | edit)
- Jastes Lekal (transclusion) (← links | edit)
- Mardra (transclusion) (← links | edit)
- Noorden (transclusion) (← links | edit)
- Zane Venture (transclusion) (← links | edit)
- Quellion (transclusion) (← links | edit)
- Beldre (transclusion) (← links | edit)
- Goradel (transclusion) (← links | edit)
- Ati (transclusion) (← links | edit)
- Ruin (transclusion) (← links | edit)
- Preservation (transclusion) (← links | edit)
- Vasher (transclusion) (← links | edit)
- Sisirinah (transclusion) (← links | edit)
- Mab (transclusion) (← links | edit)
- Vivenna (transclusion) (← links | edit)
- Lightsong (transclusion) (← links | edit)
- Denth (transclusion) (← links | edit)
- Susebron (transclusion) (← links | edit)