Difference between revisions of "Template:Book link"

From The Coppermind
Jump to navigation Jump to search
m (anchorencode?)
m (urlencode?)
Line 1: Line 1:
 
<includeonly>[[<!--
 
<includeonly>[[<!--
 
-->{{{page|{{B|{{{1}}}|}}<!--
 
-->{{{page|{{B|{{{1}}}|}}<!--
-->{{#if:{{{fragment|}}}|{{anchorencode:{{{fragment}}}}}|{{C|{{{2}}}|{{{3}}}|link=x}}|}}<!--
+
-->{{#if:{{{fragment|}}}|{{urlencode:{{{fragment}}}}}|{{C|{{{2}}}|{{{3}}}|link=x}}|}}<!--
 
-->|}}}|{{{text|<!--
 
-->|}}}|{{{text|<!--
 
-->{{B|{{{1}}}|}}{{#if:{{{2|}}}|&nbsp;{{C|{{{2}}}|{{{3}}}|}}|}}<!--
 
-->{{B|{{{1}}}|}}{{#if:{{{2|}}}|&nbsp;{{C|{{{2}}}|{{{3}}}|}}|}}<!--

Revision as of 19:04, 27 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