Difference between revisions of "Template:Book link"

Jump to navigation Jump to search
m
no edit summary
m
m
<includeonly>[[<!--
 
-->{{{page|{{B|{{{1}}}|}}<!--
LINK
-->{{#if:{{{fragment|}}}|{{urlencode:{{{fragment}}}}}|{{C|{{{2}}}|{{{3}}}|link=x}}|}}<!--
-->|}}}|{{#if:{text{{part|}}}<!--
-->{{B|{{{1}}}|}}{{#ifswitch:{{lc:{2|}}}|&nbsp;{{Cpart|{{{2}}}|{{{3}}}|}}|}}<!--
-->|prelude=The Stormlight Archive/Summary#Prelude<!--
-->}}}]]</includeonly><noinclude>This template allows you to reference a book, or a particular chapter or epigraph of it.
-->|ars=Ars Arcanum#{{b|{{{1}}}|}}<!--
-->|ack=Acknowledgements#{{b|{{{1}}}|}}<!--
-->}}<!--
-->|<!--
-->{{{page|{{Bb|{{{1}}}|}}<!--
-->{{#if:{{{2|}}}<!--
-->|/Summary#{{#switch:{{lc:{{{2}}}|}}<!--
-->|prologue=Prologue<!--
-->|epilogue=Epilogue<!--
-->|endnote=Endnote<!--
-->|i|interlude=Interlude_I-{{{3}}}<!--
-->|day=Day_{{{3}}}<!--
-->|Chapter_{{{3|{{{2}}}|}}}<!--
-->}}<!--
-->}}|}}<!--
 
-->|<!--
 
LINK TEXT
-->{{#if:{{{part|}}}<!--
-->|{{#switch:{{lc:{{{part}}}|}}<!--
-->|prelude=Prelude to the ''Stormlight Archive''<!--
-->|ars=''{{b|{{{1}}}|}}'' Ars Arcanum<!--
-->|ack=Acknowledgement for ''{{b|{{{1}}}|}}''<!--
-->}}<!--
-->|''{{b|{{{1}}}|}}''{{#if:{{{2|}}}|&nbsp;{{#switch:{{lc:{{{2}}}|}}<!--
-->|prologue=prologue<!--
-->|epilogue=epilogue<!--
-->|endnote=endnote<!--
-->|i|interlude=interlude I-{{{3}}}<!--
-->|day=- Day {{{3}}}<!--
-->|chapter {{{3|{{{2}}}|}}}<!--
-->}}|}}|}}<!--
 
-->}}}]]</includeonly><noinclude>This template allows you to reference a book, or a particular chapter or epigraph of it.
 
To use this template, type {{t|chapter|book shorthand|type of part|number of part}} where the three arguments are passed to the following templates:
* {{t|b|book shorthand}}
* {{t|c|type of part|number of part}}.
 
For example, type {{t|chapterbref|wok|i|1}} to get {{chapterbref|wok|i|1}}.
 
[[Category: Link macros]]
40,275

edits

Navigation menu