Difference between revisions of "Template:Book ref"
Jump to navigation
Jump to search
m (tweaks) |
m (use {{tracking link}}) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 62: | Line 62: | ||
-->{{{post|}}}<!-- |
-->{{{post|}}}<!-- |
||
− | --><small> <sub> |
+ | --><small> <sub>{{tracking link|<!-- |
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
Line 82: | Line 82: | ||
-->|Chapter_{{{2}}}<!-- |
-->|Chapter_{{{2}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->|/CHAPTERLESS<!-- |
+ | -->|/CHAPTERLESS<!-- see [[category: chapterless references]] |
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | --> |
+ | -->}}</sub></small><!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
-->|{{ref/broken|b/missing}} {{{1}}}<!-- |
||
Line 99: | Line 99: | ||
errors |
errors |
||
− | -->{{#switch:{{ |
+ | -->{{#switch:{{b|{{{1}}}|missing-err=}}<!-- |
+ | these should all be using a specialised template: |
||
− | -->|msh={{b/msh}}<!-- since {{msh ref}} |
||
− | -->| |
+ | -->|Mistborn: Secret History={{b/msh}}<!-- since {{msh ref}} |
− | -->| |
+ | -->|The Emperor's Soul={{b/tes}}<!-- since {{tes 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}}}|}}<!-- |
||
+ | these parameters are depreciated |
||
-->|c=[[category: redundant specifier in book ref template]]<!-- {{book ref|-|c|0}} is redundant |
-->|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}} |
-->|e=[[category: epigraph ref using book ref template]]<!-- since {{epigraph ref}} |
||
-->|part=[[category: ref to book part]]<!-- {{book ref|-|part|x}} |
-->|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]]}}<!-- |
||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
Line 128: | Line 132: | ||
* [[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 |
||
− | [[ |
+ | [[category: sources]] |
− | [[ |
+ | [[category: reference templates]] |
Revision as of 09:27, 8 September 2019
This template is used to refer to chapter summaries on the coppermind.
To use, include {{book ref|book|chapter}}
- the book is expanded by
{{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
- {{{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: