Editing Template:Book ref
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- |
-->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- |
||
− | -->{{{pre|} |
+ | -->{{{pre|}}}<!-- |
-->[[<!-- |
-->[[<!-- |
||
Line 13: | Line 13: | ||
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
− | -->|prelude= |
+ | -->|prelude=The Stormlight Archive/Summary#Prelude<!-- |
− | -->| |
+ | -->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!-- |
⚫ | |||
− | -->|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}}}|<!-- -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->|<!-- |
-->|<!-- |
||
− | --> |
+ | -->{{b|{{{1}}}|missing-err=}}<!-- |
− | -->{{#if:{{#pos:{{{1|}}}|do}}|{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}|<!-- |
||
-->{{#if:{{{2|}}}<!-- |
-->{{#if:{{{2|}}}<!-- |
||
− | -->|<!-- |
+ | -->|/Summary#<!-- |
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
-->|prologue=Prologue<!-- |
-->|prologue=Prologue<!-- |
||
− | -->|epilogue=Epilogue |
+ | -->|epilogue=Epilogue<!-- |
-->|endnote=Endnote<!-- |
-->|endnote=Endnote<!-- |
||
⚫ | |||
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
||
⚫ | |||
-->|Chapter_{{{2}}}<!-- |
-->|Chapter_{{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 44: | Line 37: | ||
LINK TEXT |
LINK TEXT |
||
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
− | -->| |
+ | -->|{{#switch:{{lc:{{{part}}}|}}<!-- |
-->|prelude=Prelude to the ''Stormlight Archive''<!-- |
-->|prelude=Prelude to the ''Stormlight Archive''<!-- |
||
− | -->| |
+ | -->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!-- |
⚫ | |||
− | -->|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}}} |
+ | -->|''{{b|{{{1}}}|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<!-- |
-->|endnote=endnote<!-- |
-->|endnote=endnote<!-- |
||
⚫ | |||
-->|i|interlude=interlude I-{{{3}}}<!-- |
-->|i|interlude=interlude I-{{{3}}}<!-- |
||
⚫ | |||
-->|chapter {{{2}}}<!-- |
-->|chapter {{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->}}<!-- |
+ | -->|{{book ref/chapterless}}<!-- |
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 72: | Line 59: | ||
-->]]<!-- |
-->]]<!-- |
||
− | -->{{{post|} |
+ | -->{{{post|}}}<!-- |
− | |||
− | -->{{tracking link|<!-- |
||
− | -->{{#if:{{{part|}}}<!-- |
||
− | -->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
− | -->|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<!-- |
||
− | -->|ack=Summary: {{b|{{{1}}}|}}/Acknowledgements<!-- |
||
− | -->|postscript=Summary: {{b|{{{1}}}|}}/Postscript<!-- |
||
− | -->|preface=Summary: {{b|{{{1}}}|}}/Preface<!-- |
||
− | -->}}<!-- |
||
− | -->|<!-- |
||
− | -->Summary: {{b|{{{1}}}|text=y|}}<!-- |
||
− | -->{{#if:{{{2|}}}<!-- |
||
− | -->|/<!-- |
||
− | -->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
− | -->|prologue=Prologue<!-- |
||
− | -->|epilogue=Epilogue{{#if:{{{3|}}}|_{{{3}}}}}<!-- |
||
− | -->|endnote=Endnote<!-- |
||
− | -->|part=Part_{{{3}}}<!-- |
||
− | -->|i|interlude=Interlude_I-{{{3}}}<!-- |
||
− | -->|Chapter_{{{2}}}<!-- |
||
− | -->}}<!-- |
||
− | -->|/CHAPTERLESS<!-- see [[category: chapterless references]] |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- /TRACKING |
||
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
||
Line 115: | Line 73: | ||
errors |
errors |
||
− | -->{{#switch:{{ |
+ | -->{{#switch:{{lc:{{{1}}}|}}<!-- |
⚫ | |||
− | these should all be using a specialised template: |
||
− | -->| |
+ | -->|tes={{b/tes}}<!-- since {{tes ref}} |
− | -->| |
+ | -->|a1={{b/a1}}<!-- because it looks nasty |
⚫ | |||
-->}}<!-- |
-->}}<!-- |
||
− | -->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
− | these parameters are depreciated |
||
− | -->|c=[[category: redundant specifier in book ref template]]<!-- {{book ref|-|c|0}} is redundant |
||
− | -->|e=[[category: epigraph ref using book ref template]]<!-- since {{epigraph ref}} |
||
− | -->|part=[[category: ref to book part]]<!-- {{book ref|-|part|x}} |
||
− | -->}}<!-- |
||
− | someone has forgotten to add the chapter to this reference |
||
− | -->{{#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 136: | Line 83: | ||
To use, include {{t|book ref|book|chapter}} |
To use, include {{t|book ref|book|chapter}} |
||
− | * |
+ | * the book is expanded by {{t|b}} |
− | * |
+ | * the chapter should either be prologue, epilogue or the chapter number |
+ | * if the second argument is `i` or `interlude` type the third argument is used as the interlude number |
||
− | * 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 |
||
− | * 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 149: | Line 94: | ||
* ''Mistborn: Secret History'' uses {{t|msh ref|part|chapter}} as the chapters start at 1 in each part |
* ''Mistborn: Secret History'' uses {{t|msh ref|part|chapter}} as the chapters start at 1 in each part |
||
* ''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 |
||
− | * [[Dark One]] uses this template in combination with {{t|Dark One lookup}} to show the chapter title in the reference |
||
− | |||
⚫ | |||
+ | [[Category: Sources]] |
||
− | == 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}} |