Anonymous

Template:Canon Inline: Difference between revisions

From Time of Unparalleled Darkness Wiki
m (Lets unwrap it, it makes the template not work properly)
m (Fix logic)
Line 10: Line 10:


See the guide on what counts as canon.
See the guide on what counts as canon.
</noinclude><includeonly>'''Canon:'''<sup>([[TOUD:Canon Materials|?]])</sup> {{{page}}}, ''{{{book}}}''{{#if:publisher|, {{{publisher}}}{{#if:author|({{{author}}})|}} {{#if:year|, {{{year}}} |}}|}}{{#if:ISBN|, ISBN: {{{ISBN}}}|}}{{#if:url|, {{{url}}} online|}}<</includeonly>
</noinclude><includeonly>'''Canon:'''<sup>([[TOUD:Canon Materials|?]])</sup> page {{{page}}}, ''{{{book}}}''{{#if:{{{publisher|}}}|, {{{publisher|}}}{{#if:{{{author|}}}| ({{{author}}})|}}{{#if:{{{year|}}}year|, {{{year|}}} |}}|}}{{#if:{{{ISBN|}}}|, ISBN: {{{ISBN|}}}|}}{{#if:{{{url|}}}|, {{{url|}}} online|}}</includeonly>

Revision as of 19:40, 9 April 2025

This template allows one to create an incline canon reference, and is here mostly to standardize references.

Usage:

{{Canon Inline|page=page number(s)|book=book cited|publisher=publisher of the book|author=author(s) of the sourcebook|year=release year of the source|ISBN=isbn of the book if available|url=url of a website for a web source}}

Publisher and authors are optional.

An example: Canon:(?) page 111, Gazetteer, vol 2, Arthaus Publishing(John W. Mangrum, Ryan Naylor, Chris Nichols, Andrew Wyatt), 2003, ISBN: 1-58846-830-5

{{Canon Inline|refname=gaz1_111|page=111|book=Gazetteer, vol 2|publisher=Arthaus Publishing|author=John W. Mangrum, Ryan Naylor, Chris Nichols, Andrew Wyatt|year=2003|ISBN=1-58846-830-5}}

See the guide on what counts as canon.