Difference between revisions of "Template:Book link"

From The Coppermind
Jump to navigation Jump to search
m (Using numerical parameters in the Bref usage example.)
m
Line 5: Line 5:
 
-->}}}]]</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.
   
To use this template, type {{tlx|Bref|book_shorthand|type_of_part|number_of_part}} where <tt>book_shorthand</tt> is the same as [[Template:B]] and <tt>type_of_part</tt> and <tt>number_of_part</tt> are the same as the input parameters of [[Template:C]].
+
To use this template, type {{tlx|bref|book_shorthand|type_of_part|number_of_part}} where
  +
* <tt>book_shorthand</tt> is the same as {{T|B}}
  +
* <tt>type_of_part</tt> and <tt>number_of_part</tt> are inputs to {{T|C}}.
   
For example, type {{tlx|Bref|wok|i|1}} to get {{Bref|wok|i|1}}.
+
For example, type {{tlx|bref|wok|i|1}} to get {{bref|wok|i|1}}.
   
 
{{cat|link macros}}
 
{{cat|link macros}}

Revision as of 21:42, 9 February 2012

This template allows you to reference a book, or a particular chapter or epigraph of it.

To use this template, type Template:Tlx where

  • book_shorthand is the same as {{B}}
  • type_of_part and number_of_part are inputs to {{C}}.

For example, type Template:Tlx to get Template:Bref.

Template:Cat