Difference between revisions of "Template:Book link"

From The Coppermind
Jump to navigation Jump to search
m (docs)
m (+usage)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[<!--
<includeonly>[[<!--
-->{{{page|{{B|{{{1}}}|}}<!--
-->{{#if:{{{fragment|}}}|{{urlencode:{{{fragment}}}}}|{{C|{{{2}}}|{{{3}}}|link=x}}|}}<!--
-->|}}}|{{{text|<!--
-->{{B|{{{1}}}|}}{{#if:{{{2|}}}|&nbsp;{{C|{{{2}}}|{{{3}}}|}}|}}<!--
-->}}}]]</includeonly><noinclude>This template allows you to reference a book, or a particular chapter or epigraph of it.


LINK
To use this template, type {{t|bref|book shorthand|type of part|number of part}} where the three arguments are passed to the following templates:
-->{{b|{{{1}}}|}}<!--
-->/Summary#{{#switch:{{lc:{{{2}}}|}}<!--
-->|prologue=Prologue<!--
-->|epilogue=Epilogue<!--
-->|endnote=Endnote<!--
-->|postscript=Postscript<!--
-->|i|interlude=Interlude_I-{{{3}}}<!--
-->|day=Day_{{{3}}}<!--
-->|Chapter_{{{3|{{{2}}}|}}}<!--
-->}}<!--

-->|{{{text|<!--

LINK TEXT
-->''{{b|{{{1}}}|}}'' {{#switch:{{lc:{{{2}}}|}}<!--
-->|prologue=prologue<!--
-->|epilogue=epilogue<!--
-->|endnote=endnote<!--
-->|postscript=postscript<!--
-->|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|book link|book shorthand|type of part|number of part}} where the three arguments are passed to the following templates:
* {{t|b|book shorthand}}
* {{t|b|book shorthand}}
* {{t|c|type of part|number of part}}.


For example, type {{t|bref|wok|i|1}} to get {{bref|wok|i|1}}.
For example, type {{t|book link|wok|i|1}} to get {{book link|wok|i|1}}.

[[category: link macros]]


== Articles using Template ==
{{cat|link macros}}
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Latest revision as of 19:53, 19 April 2020

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 interlude I-1.

Articles using Template[edit]