Template:Cite dungeon: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Rexidos (talk | contribs)
Note parameter
Moving article name to front of citation. Adding Usage info
Line 6: Line 6:


===Syntax===
===Syntax===
The normal usage of this template is done as follows:
<pre>{{cite dungeon|issue#|page#|note=}}</pre>


<pre>{{cite dungeon|124|48-64|Backdrop: Diamond Lake}}</pre>
The template has the following parameters:
 
This produces:
 
{{cite dungeon|124|48-64|Backdrop: Diamond Lake}}
<references/>
 
The template takes the following parameters:


* '''Issue number:''' The first parameter is a magazine issue number. Issues between 1 and 221 are recognized, including WotC's digital issues. This parameter is required.
* '''Issue number:''' The first parameter is a magazine issue number. Issues between 1 and 221 are recognized, including WotC's digital issues. This parameter is required.
Line 20: Line 15:
* '''Article name:''' The third parameter is an article name.
* '''Article name:''' The third parameter is an article name.
* '''Note:''' Optional parameter for adding a text note or quote.
* '''Note:''' Optional parameter for adding a text note or quote.
For example:
<pre>{{cite dungeon|124|48-64|Backdrop: Diamond Lake|note=Erik Mona}}</pre>
This produces:
{{cite dungeon|124|48-64|Backdrop: Diamond Lake|note=Erik Mona}}
<references/>


==Related templates==
==Related templates==
Line 29: Line 29:


[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude><includeonly>{{#tag:ref|[[Dungeon]] <nowiki>#</nowiki>{{{1|}}} ({{#switch: {{{1|}}}
</noinclude><includeonly>{{#tag:ref|{{#if:{{{3|}}}|, ''{{{3|}}}''|}}. [[Dungeon]] <nowiki>#</nowiki>{{{1|}}} ({{#switch: {{{1|}}}
|1=Sep/Oct 1986
|1=Sep/Oct 1986
|2=Nov/Dec 1986
|2=Nov/Dec 1986
Line 252: Line 252:
|221=Dec 2013
|221=Dec 2013
|No issue: see [[:Template:cite dungeon|Template:cite dungeon]] for usage
|No issue: see [[:Template:cite dungeon|Template:cite dungeon]] for usage
}}){{#if:{{{2|}}}|, p.{{{2|}}}|}}{{#if:{{{3|}}}|, ''{{{3|}}}''|}}. {{#if:{{{note|}}}|{{{note|}}}}}|name=dungeon-i{{{1|}}}-p{{{2|}}}-a{{{3|}}}}}</includeonly>
}}){{#if:{{{2|}}}|, p.{{{2|}}}|}} {{#if:{{{note|}}}|, {{{note|}}}}}|name=dungeon-i{{{1|}}}-p{{{2|}}}-a{{{3|}}}}}</includeonly>

Revision as of 12:43, 21 November 2023

A citation template for Dungeon issues #1-221.

Usage

Place this after any sentence or section which references an issue of Dungeon magazine as its source. Place the citation tag after any punctuation mark rather than before it.

Syntax

The normal usage of this template is done as follows:

{{cite dungeon|issue#|page#|note=}}

The template has the following parameters:

  • Issue number: The first parameter is a magazine issue number. Issues between 1 and 221 are recognized, including WotC's digital issues. This parameter is required.
  • Page number: The second parameter is a number or range of numbers. It's recommended to give the entire page range for an article, if the entire article is relevant to your topic.
  • Article name: The third parameter is an article name.
  • Note: Optional parameter for adding a text note or quote.

For example:

{{cite dungeon|124|48-64|Backdrop: Diamond Lake|note=Erik Mona}}

This produces: [1]

  1. , Backdrop: Diamond Lake. Dungeon #124 (Jul 2005), p.48-64 , Erik Mona