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=Summary: The |
+ | -->|prelude=Summary: The Stormlight Archive#Prelude<!-- |
− | -->| |
+ | -->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!-- |
⚫ | |||
− | -->|royal epilogue=Summary:The Knights of Crystallia#Royal Epilogue (Not a Chapter)<!-- |
||
− | -->| |
+ | -->|postscript=Summary: {{b|{{{1}}}|}}#Postscript<!-- |
− | -->|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}}} |
+ | -->Summary: {{b|{{{1}}}|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<!-- |
-->|endnote=Endnote<!-- |
-->|endnote=Endnote<!-- |
||
-->|part=Part_{{{3}}}<!-- |
-->|part=Part_{{{3}}}<!-- |
||
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
||
⚫ | |||
-->|Chapter_{{{2}}}<!-- |
-->|Chapter_{{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
⚫ | |||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 44: | Line 39: | ||
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)<!-- |
||
− | -->| |
+ | -->|postscript=''{{b|{{{1}}}|}}'' postscript<!-- |
− | -->|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<!-- |
||
-->|part=part {{{3}}}<!-- |
-->|part=part {{{3}}}<!-- |
||
-->|i|interlude=interlude I-{{{3}}}<!-- |
-->|i|interlude=interlude I-{{{3}}}<!-- |
||
+ | -->|c={{book ref/c}}chapter {{{3}}}<!-- |
||
-->|chapter {{{2}}}<!-- |
-->|chapter {{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->}}<!-- |
+ | -->|{{book ref/chapterless}}<!-- |
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 72: | Line 63: | ||
-->]]<!-- |
-->]]<!-- |
||
− | -->{{{post|} |
+ | -->{{{post|}}}<!-- |
− | --> |
+ | --><small> <sub>[[<!-- |
-->{{#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}}}|}}/<!-- |
-->{{#if:{{{2|}}}<!-- |
-->{{#if:{{{2|}}}<!-- |
||
− | -->| |
+ | -->|<!-- |
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
-->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
-->|prologue=Prologue<!-- |
-->|prologue=Prologue<!-- |
||
− | -->|epilogue=Epilogue |
+ | -->|epilogue=Epilogue<!-- |
-->|endnote=Endnote<!-- |
-->|endnote=Endnote<!-- |
||
-->|part=Part_{{{3}}}<!-- |
-->|part=Part_{{{3}}}<!-- |
||
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
-->|i|interlude=Interlude_I-{{{3}}}<!-- |
||
+ | -->|c=Chapter_{{{3}}}<!-- |
||
-->|Chapter_{{{2}}}<!-- |
-->|Chapter_{{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->|/CHAPTERLESS<!-- see [[category: chapterless references]] |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | --> |
+ | -->|#]]</sub></small><!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
||
Line 115: | Line 102: | ||
errors |
errors |
||
− | -->{{#switch:{{ |
+ | -->{{#switch:{{lc:{{{1}}}|}}<!-- |
+ | -->|msh={{b/msh}}<!-- since {{msh ref}} |
||
− | these should all be using a specialised template: |
||
− | -->| |
+ | -->|tes={{b/tes}}<!-- since {{tes ref}} |
− | -->| |
+ | -->|au={{b/au}}<!-- since {{au 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 113: | ||
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 150: | Line 125: | ||
* ''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]] |
||
− | == 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}} |