Template:Bookref: Difference between revisions
DansFriend (talk | contribs) No edit summary |
DansFriend (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|{{#tag: ref | <cite class="book">{{#ifeq:{{Bookref/names|{{{1}}}}}|MED-Script|{{{2}}}|{{#if:{{{quote|}}}|''"{{{quote}}}"'' —}}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}}}"'' — }}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 |
Revision as of 11:04, 25 October 2024
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}}
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!
- ↑ Medievil Times. Created and distributed by Claydon Heeley Jones Mason in May 2000.
- ↑ Page 4 of Medievil Times. Created and distributed by Claydon Heeley Jones Mason in May 2000.
Valid parameters
- Game-Prequel - MediEvil: The Game Prequel
- MED-Navigation - MediEvil NAVIGATION BOOK
- MED-Guide - MediEvil: The Official Strategy Guide
- MED-Manual - MediEvil manual
- MED-Script - MediEvil script
- Medievil-Times - Medievil Times
- MED2-Manual - MediEvil 2 manual
- MED2-Prima - MediEvil II: Prima's Official Strategy Guide
- MPSP-Manual - MediEvil: Resurrection manual