Difference between revisions of "Template:B"

From The Coppermind
Jump to navigation Jump to search
(It works. Sorry for RC spam.)
(try that. as per discussion)
Line 1: Line 1:
[[{{{1}}} (book)|{{{2|''{{{1}}}''}}}]]<noinclude>
+
[[{{{1}}} (book){{{3|}}}|{{{2|''{{{1}}}''}}}]]<noinclude>
 
This template will generate a formatted piped link to the relevant book article.
 
This template will generate a formatted piped link to the relevant book article.
   
Line 7: Line 7:
   
 
E.g.'''<nowiki>{{b|The Way of Kings|Stormlight 1}}</nowiki>''' results in {{b|The Way of Kings|Stormlight 1}}
 
E.g.'''<nowiki>{{b|The Way of Kings|Stormlight 1}}</nowiki>''' results in {{b|The Way of Kings|Stormlight 1}}
  +
  +
The template will also link to subpages.
  +
  +
E.g.'''<nowiki>{{b|The Way of Kings|Stormlight 1|/epigraphs}}</nowiki>''' results in {{b|The Way of Kings|Epigraphs|/epigraphs}}

Revision as of 23:53, 12 November 2010

[[{{{1}}} (book)|{{{1}}}]] This template will generate a formatted piped link to the relevant book article.

E.g{{b|The Way of Kings}} results in The Way of Kings

If you wish the link to display something else then simply add a pipe and the text you want the link to display. Note that the piped link will not be italicised.

E.g.{{b|The Way of Kings|Stormlight 1}} results in Stormlight 1

The template will also link to subpages.

E.g.{{b|The Way of Kings|Stormlight 1|/epigraphs}} results in Epigraphs