Anonymous

Template:Canon Inline: Difference between revisions

From Time of Unparalleled Darkness Wiki
(Create template for inline reference formatting)
 
(Format template a bit)
Line 2: Line 2:


Usage:
Usage:
<pre><nowiki>{{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}}</nowiki></pre>
<pre><nowiki>{{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}}</nowiki></pre>
Publisher and authors are optional.
Publisher and authors are optional.


An example:
An example:
{{canon inline|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}}
{{Canon Inline|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}}
<pre><nowiki>{{canon inline|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}}</nowiki></pre>
<pre><nowiki>{{Canon Inline|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}}</nowiki></pre>


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:year| {{{year}}} |}}{{#if:author|({{{author}}})|}}|}}{{if:ISBN|, {{{ISBN}}}|}}{{if:url|, [{{{url}}} online]|}}</includeonly>
</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>

Revision as of 19:09, 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:(?) 111, Gazetteer, vol 2, Arthaus Publishing(John W. Mangrum, Ryan Naylor, Chris Nichols, Andrew Wyatt) , 2003, ISBN: 1-58846-830-5, {{{url}}} online

{{Canon Inline|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.