Difference between revisions of "Template:Book link"

From The Coppermind
Jump to navigation Jump to search
m
m (+usage)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>[[<!--
 
<includeonly>[[<!--
  +
-->{{B|{{{1}}}|}}{{{fragment|{{C|{{{2}}}|{{{3}}}|link=x}}|}}}<!--
 
  +
LINK
  +
-->{{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|<!--
 
-->|{{{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 TEXT
To use this template, type {{tlx|bref|book_shorthand|type_of_part|number_of_part}} where
 
 
-->''{{b|{{{1}}}|}}'' {{#switch:{{lc:{{{2}}}|}}<!--
* <tt>book_shorthand</tt> is the same as {{T|B}}
 
  +
-->|prologue=prologue<!--
* <tt>type_of_part</tt> and <tt>number_of_part</tt> are inputs to {{T|C}}.
 
  +
-->|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}}
  +
 
For example, type {{t|book link|wok|i|1}} to get {{book link|wok|i|1}}.
   
 
[[category: link macros]]
For example, type {{tlx|bref|wok|i|1}} to get {{bref|wok|i|1}}.
 
   
  +
== 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]