Difference between revisions of "Template:Book link"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
LINK |
LINK |
||
− | -->{{#if:{{{part|}}}<!-- |
||
− | -->|{{#switch:{{lc:{{{part|}}}|}}<!-- |
||
− | -->|prelude=The Stormlight Archive/Summary#Prelude<!-- |
||
− | -->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!-- |
||
− | -->|ack=Acknowledgements#{{b|{{{1}}}|}}<!-- |
||
− | -->}}<!-- |
||
− | -->|<!-- |
||
-->{{b|{{{1}}}|}}<!-- |
-->{{b|{{{1}}}|}}<!-- |
||
− | + | -->/Summary#{{#switch:{{lc:{{{2}}}|}}<!-- |
|
− | -->|/Summary#{{#switch:{{lc:{{{2}}}|}}<!-- |
||
-->|prologue=Prologue<!-- |
-->|prologue=Prologue<!-- |
||
-->|epilogue=Epilogue<!-- |
-->|epilogue=Epilogue<!-- |
||
Line 19: | Line 11: | ||
-->|Chapter_{{{3|{{{2}}}|}}}<!-- |
-->|Chapter_{{{3|{{{2}}}|}}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | -->}}|}}<!-- |
||
-->|{{{text|<!-- |
-->|{{{text|<!-- |
||
LINK TEXT |
LINK TEXT |
||
− | + | ''{{b|{{{1}}}|}}'' {{#switch:{{lc:{{{2}}}|}}<!-- |
|
− | -->|{{#switch:{{lc:{{{part}}}|}}<!-- |
||
− | -->|prelude=Prelude to the ''Stormlight Archive''<!-- |
||
− | -->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!-- |
||
− | -->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!-- |
||
− | -->}}<!-- |
||
− | -->|''{{b|{{{1}}}|}}''{{#if:{{{2|}}}| {{#switch:{{lc:{{{2}}}|}}<!-- |
||
-->|prologue=prologue<!-- |
-->|prologue=prologue<!-- |
||
-->|epilogue=epilogue<!-- |
-->|epilogue=epilogue<!-- |
||
Line 37: | Line 22: | ||
-->|day=- Day {{{3}}}<!-- |
-->|day=- Day {{{3}}}<!-- |
||
-->|chapter {{{3|{{{2}}}|}}}<!-- |
-->|chapter {{{3|{{{2}}}|}}}<!-- |
||
− | --> |
+ | -->}}<!-- |
-->|}}}]]</includeonly><noinclude>This template allows you to reference a book, or a particular chapter or epigraph of it. |
-->|}}}]]</includeonly><noinclude>This template allows you to reference a book, or a particular chapter or epigraph of it. |
Revision as of 12:09, 10 September 2014
This template allows you to reference a book, or a particular chapter or epigraph of it.
To use this template, type {{book link|book shorthand|type of part|number of part}}
where the three arguments are passed to the following templates:
{{b|book shorthand}}
For example, type {{book link|wok|i|1}}
to get [[The Way of Kings/Summary#Interlude_I-1|{Template:Text|}}}]].