Difference between revisions of "Template:Book ref"
Jump to navigation
Jump to search
(+analysis template) |
(+spacing +x) |
||
Line 13: | Line 13: | ||
-->{{#if:{{{part|}}}<!-- |
-->{{#if:{{{part|}}}<!-- |
||
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
-->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
− | -->|prelude=The Stormlight Archive/Summary#Prelude<!-- |
+ | -->|prelude=The Stormlight Archive/Summary#Prelude<!-- |
− | -->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!-- |
+ | -->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!-- |
− | -->|ack=Acknowledgements#{{b|{{{1}}}|}}<!-- |
+ | -->|ack=Acknowledgements#{{b|{{{1}}}|}}<!-- |
− | -->|{{#if:{{{part|}}}|{{ref/broken|book ref/part}} {{{part}}}|<!-- -->}}<!-- |
+ | -->|{{#if:{{{part|}}}|{{ref/broken|book ref/part}} {{{part}}}|<!-- -->}}<!-- |
− | -->}}<!-- |
+ | -->}}<!-- |
− | -->|<!-- |
+ | -->|<!-- |
− | -->{{b|{{{1}}}|}}<!-- |
+ | -->{{b|{{{1}}}|}}<!-- |
− | -->{{#if:{{{2|}}}<!-- |
+ | -->{{#if:{{{2|}}}<!-- |
− | -->|/Summary# |
+ | -->|/Summary#<!-- |
− | -->| |
+ | -->{{#switch:{{lc:{{{2}}}|}}<!-- |
− | -->| |
+ | -->|prologue=Prologue<!-- |
− | -->| |
+ | -->|epilogue=Epilogue<!-- |
− | -->| |
+ | -->|endnote=Endnote<!-- |
− | -->| |
+ | -->|i|interlude=Interlude_I-{{{3}}}<!-- |
− | -->| |
+ | -->|day=Day_{{{3}}}<!-- |
− | -->|Chapter_{{{ |
+ | -->|c=Chapter_{{{3}}}<!-- |
− | -->}}<!-- |
+ | -->|Chapter_{{{2}}}<!-- |
− | --> |
+ | -->}}<!-- |
⚫ | |||
-->}}<!-- |
-->}}<!-- |
||
Line 36: | Line 37: | ||
LINK TEXT |
LINK TEXT |
||
− | + | -->{{#if:{{{part|}}}<!-- |
|
− | -->|{{#switch:{{lc:{{{part}}}|}}<!-- |
+ | -->|{{#switch:{{lc:{{{part}}}|}}<!-- |
− | -->|prelude=Prelude to the ''Stormlight Archive''<!-- |
+ | -->|prelude=Prelude to the ''Stormlight Archive''<!-- |
− | -->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!-- |
+ | -->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!-- |
− | -->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!-- |
+ | -->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!-- |
⚫ | |||
⚫ | |||
⚫ | |||
+ | -->| <!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | -->|day=- Day {{{3}}}<!-- |
||
+ | -->|c={{book ref/c}}chapter {{{2}}}<!-- |
||
+ | -->|chapter {{{2}}}<!-- |
||
+ | -->}}<!-- |
||
+ | -->|{{book ref/chapterless}}<!-- |
||
+ | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-->]]<!-- |
-->]]<!-- |
Revision as of 21:08, 22 December 2014
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 a chapter type the third argument is used as the chapter number
- {{{pre}}} is included before the link
- {{{post}}} is included after the link
- {{{name}}} replaces the generated reference name
- {{{group}}} sets the reference group
Chapter types include interlude, day...