Template:Bookref: Difference between revisions

    From Gallowpedia, the MediEvil Wiki. You'll be dying to read!
    mNo edit summary
    No edit summary
     
    (8 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    <includeonly>{{#if:{{{2|}}}|{{#tag: ref | <cite class="book">{{#ifeq:{{Bookref/names|{{{1}}}}}|MED-Script|{{{2}}}<span class="refpreviewonly"> in {{Bookref/core|{{{1}}}}}</span>|Page {{{2}}}<span class="refpreviewonly"> of {{Bookref/core|{{{1}}}}}</span>}}</cite> | name="{{Bookref/names|{{{1}}}}}-{{{2}}}" | extends="{{Bookref/names|{{{1}}}}}" }}|{{#switch:{{{1}}}
    <includeonly>{{#if:{{{2|}}}|{{#tag: ref | <cite class="book">{{#ifeq:{{Bookref/names|{{{1}}}}}|MED-Script|{{{2}}}|{{#if:{{{quote|}}}|''"{{{quote}}}"'' —&nbsp;}}Page {{{2}}}<span class="refpreviewonly"> of {{Bookref/core|{{{1}}}}}</span>}}</cite> | name="{{Bookref/names|{{{1}}}}}-{{{2}}}" | extends="{{Bookref/names|{{{1}}}}}" }}|{{#switch:{{{1}}}
    <!-- MediEvil: The Game Prequel -->
    <!-- MediEvil: The Game Prequel -->
    | MediEvil: The Game Prequel
    | MediEvil: The Game Prequel
    Line 7: Line 7:
    | Comic-Prequel
    | Comic-Prequel
    | Game-Prequel = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="Game-Prequel" }}
    | Game-Prequel = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="Game-Prequel" }}
    <!-- Guinness Book of Records 1999 -->
    | Guinness
    | Guinness1999 = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="Guinness1999" }}
    <!-- MediEvil script -->
    <!-- MediEvil script -->
    | MED-Script =  {{#tag: ref | {{Bookref/core|{{{1}}}}} | name="MED-Script" }}
    | MED-Script =  {{#tag: ref | {{Bookref/core|{{{1}}}}} | name="MED-Script" }}
    Line 18: Line 21:
    <!-- MediEvil NAVIGATION BOOK -->
    <!-- MediEvil NAVIGATION BOOK -->
    | NAVIGATION BOOK
    | NAVIGATION BOOK
    | MED-Navigation = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="MED-NavigationBook" }}
    | MED-Navigation = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="MED-Navigation" }}
    <!-- MediEvil manual -->
    <!-- MediEvil manual -->
    | MED-Manual = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="MED-Manual" }}
    | MED-Manual = {{#tag: ref | <cite class="book">{{Bookref/core|{{{1}}}}}</cite> | name="MED-Manual" }}

    Latest revision as of 10:53, 30 October 2024

    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}}
    

    [1][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. Medievil Times Medievil Times. Created and distributed by Claydon Heeley Jones Mason in May 2000.
      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?)