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 2: | Line 2: | ||
TEXT |
TEXT |
||
− | -->|<!-- |
+ | -->|{{{pre|}}}[[<!-- |
− | |||
− | -->{{#if:{{b|{{{1}}}|missing-err=}}|<!-- |
||
− | |||
− | -->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!-- |
||
− | |||
− | -->[[<!-- |
||
LINK |
LINK |
||
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
− | + | -->|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<!-- |
||
− | + | -->{{b|{{{1}}}|}}<!-- |
|
− | + | -->{{#if:{{{2|}}}<!-- |
|
− | + | -->|/Summary#{{#switch:{{lc:{{{2}}}|}}<!-- |
|
− | + | -->|prologue=Prologue<!-- |
|
+ | -->|epilogue=Epilogue<!-- |
||
− | -->|{{#if:{{{part|}}}|{{ref/broken|book ref/part}} {{{part}}}|<!-- -->}}<!-- |
||
− | -->}}<!-- |
+ | -->|i|interlude=Interlude_I-{{{3}}}<!-- |
− | -->|<!-- |
+ | -->|day=Day_{{{3}}}<!-- |
− | --> |
+ | -->|Chapter_{{{3|{{{2}}}|}}}<!-- |
+ | -->}}<!-- |
||
− | -->{{#if:{{#pos:{{{1|}}}|do}}|{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}|<!-- |
||
− | + | -->}}|}}<!-- |
|
− | -->|<!-- |
||
− | -->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
− | -->|prologue=Prologue<!-- |
||
− | -->|epilogue=Epilogue{{#if:{{{3|}}}|_{{{3}}}}}<!-- |
||
− | -->|endnote=Endnote<!-- |
||
− | -->|part=Part_{{{3}}}<!-- |
||
− | -->|i|interlude=Interlude_I-{{{3}}}<!-- |
||
− | -->|Chapter_{{{2}}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
− | + | -->|<!-- |
|
LINK TEXT |
LINK TEXT |
||
− | + | -->{{#if:{{{part|}}}<!-- |
|
− | + | -->|{{#switch:{{lc:{{{part}}}|}}<!-- |
|
− | + | -->|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}}}|text=y|missing-err=}}''<!-- |
||
− | -->{{#if:{{#pos:{{{1|}}}|do}}|, {{lcfirst:{{Dark One lookup|{{{1}}}|{{{2}}}|{{{3}}}}}}}|<!-- |
||
− | -->{{#if:{{{2|}}}<!-- |
||
− | -->| <!-- |
||
− | -->{{#switch:{{lc:{{{2}}}|}}<!-- |
||
− | -->|prologue=prologue<!-- |
||
− | -->|epilogue=epilogue{{#if:{{{3|}}}| {{{3}}}}}<!-- |
||
− | -->|endnote=endnote<!-- |
||
− | -->|part=part {{{3}}}<!-- |
||
− | -->|i|interlude=interlude I-{{{3}}}<!-- |
||
− | -->|chapter {{{2}}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
− | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
+ | -->|''{{b|{{{1}}}|}}''{{#if:{{{2|}}}| {{#switch:{{lc:{{{2}}}|}}<!-- |
||
+ | -->|prologue=prologue<!-- |
||
+ | -->|epilogue=epilogue<!-- |
||
+ | -->|i|interlude=interlude I-{{{3}}}<!-- |
||
+ | -->|day=- Day {{{3}}}<!-- |
||
+ | -->|chapter {{{3|{{{2}}}|}}}<!-- |
||
+ | -->}}|}}|}}<!-- |
||
− | + | -->]]{{{post|}}}<!-- |
|
− | |||
− | -->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-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}}}<!-- |
||
− | -->}}<!-- |
||
NAME |
NAME |
||
− | -->|name={{{name|{{b|{{{1}}}|}}-{{{part|{{{2}}}-{{{3 |
+ | -->|name={{{name|{{b|{{{1}}}|}}-{{{part|{{{2}}}-{{{3}}}|}}}|}}}<!-- |
GROUP |
GROUP |
||
Line 114: | Line 48: | ||
-->}}<!-- |
-->}}<!-- |
||
+ | -->{{#switch:{{{2}}}|c=[[Category: Legacy chapter references]]}}<!-- |
||
− | errors |
||
− | -->{{#switch:{{ |
+ | -->{{#switch:{{lc:{{{part|}}}|}}|ars=<!-- -->|prelude=<!-- -->|{{#if:{{{part|}}}|[[Category: Broken chapter references]]}}|}}<!-- |
− | these should all be using a specialised template: |
||
− | -->|Mistborn: Secret History={{b/msh}}<!-- since {{msh ref}} |
||
− | -->|The Emperor's Soul={{b/tes}}<!-- since {{tes ref}} |
||
− | -->|Arcanum Unbounded={{b/au}}<!-- since {{au ref}} |
||
− | -->}}<!-- |
||
− | -->{{#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 55: | ||
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 a chapter type the third argument is used as the chapter 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 146: | Line 63: | ||
* {{{group}}} sets the reference group |
* {{{group}}} sets the reference group |
||
+ | Chapter types include interlude, day... |
||
− | The following books have specific templates for referencing use: |
||
− | * ''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 |
||
− | * [[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: reference templates]] |
||
+ | [[Category: Sources]] |
||
− | == Articles using Template == |
||
+ | [[Category: Reference templates]] |
||
− | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} |
||
− | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |