Template:Bookref

Revision as of 01:33, 22 December 2022 by DansFriend (talk | contribs) (Replaced content with "<includeonly>{{#if:{{{2|}}}|{{#tag: ref | <cite class="book">{{#ifeq:{{Bookref/names|{{{1}}}}}|MED-Script|{{{2}}}|Page {{{2}}}<span class="refpreviewonly"> of {{Bookref/core|{{{1}}}}}</span>}}</cite> | name="{{Bookref/names|{{{1}}}}}-{{{2}}}" | extends="{{Bookref/names|{{{1}}}}}" }}|{{Bookref/core|{{{1}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>")
About this template

Use this template to quickly reference physical MediEvil books, including manuals and comics. This template is not intended for referencing in-game books. Please use the {{Gameref}} template for that instead.

Usage

{{Bookref|<bookName>|<pageNumber>}}

The first accepted parameter is the name of the book in question. All the currently valid parameters are listed below. The second parameter is optional and can be used to specify a page in the book. Please note that before the page can be specified, the template must be used without the second parameter first to create the primary reference.

Example

{{Bookref|Medievil-Times}}
{{Bookref|Medievil-Times|4}}

Medievil Times Medievil Times. Created and distributed by Claydon Heeley Jones Mason in May 2000.[1.1]

The above example will produce a reference to page 4 of the Medievil Times newspaper, like the one below. Don't forget to include a {{Reflist}} on the page as well!

  1. Cite error: Invalid <ref> tag; no text was provided for refs named Medievil-Times
    1. Page 4 of Medievil Times Medievil Times. Created and distributed by Claydon Heeley Jones Mason in May 2000.

Valid parameters

See also


Visit Template:Bookref/doc to edit this text! (How does this work?)