Template:Bookref/doc: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    mNo edit summary
    No edit summary
    Line 1: Line 1:
    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 {{t|Gameref}} template for that instead.
    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 {{t|Gameref}} template for that instead.
    ==Usage==
    ==Usage==
    {{t|Bookref|bookName|pageNumber}}
    The first accepted parameter is the name of the book in question. All the currently valid parameters are [[Template:Bookref/doc#Valid parameters|listed below]]. The second parameter is optional and can be used to specify a page in the book.
    The first accepted parameter is the name of the book in question. All the currently valid parameters are [[Template:Bookref/doc#Valid parameters|listed below]]. The second parameter is optional and can be used to specify a page in the book.
    ===Example===
    ===Example===
    <nowiki>{{Bookref|Medievil-Times|4}}</nowiki>
    <nowiki>{{Bookref|Medievil-Times|4}}</nowiki>{{Bookref|Medievil-Times|4}}


    The above example will produce a reference to page 4 of the [[Medievil Times]] newspaper. Don't forget to include a {{t|Reflist}} on the page as well!
    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 {{t|Reflist}} on the page as well!
    {{Reflist}}
    ==Valid parameters==
    ==Valid parameters==
    *Game-Prequel - ''[[MediEvil: The Game Prequel]]''
    *Game-Prequel - ''[[MediEvil: The Game Prequel]]''
    *MED-Navigation - ''[[MediEvil NAVIGATION BOOK]]''
    *MED-Navigation - ''[[MediEvil NAVIGATION BOOK]]''
    *MED-Prima - ''[[MediEvil: The Official Strategy Guide]]''
    *MED-Prima - ''[[MediEvil: The Official Strategy Guide]]''
    *MED-Manual - [[MediEvil/Manual]]
    *MED-Manual - [[MediEvil/Manual|''MediEvil'' manual]]
    *Medievil-Times - [[Medievil Times]]
    *Medievil-Times - ''[[Medievil Times]]''
    *MED2-Manual - [[MediEvil 2/Manual]]
    *MED2-Manual - [[MediEvil 2/Manual|''MediEvil 2'' manual]]
    *MED2-Prima - ''[[MediEvil II: Prima's Official Strategy Guide]]''
    *MED2-Prima - ''[[MediEvil II: Prima's Official Strategy Guide]]''
    *MPSP-Manual - [[MediEvil: Resurrection/Manual]]
    *MPSP-Manual - [[MediEvil: Resurrection/Manual|''MediEvil: Resurrection'' manual]]
    <noinclude>[[Category:Template documentation]]</noinclude><includeonly>[[Category:Templates]][[Category:Reference templates]]</includeonly>
    <noinclude>[[Category:Template documentation]]</noinclude><includeonly>[[Category:Templates]][[Category:Reference templates]]</includeonly>

    Revision as of 18:16, 31 October 2022

    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.

    Example

    {{Bookref|Medievil-Times|4}}[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