Template:Cite Pub: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><!--{{#ask: [[Publication:{{{1}}}]] |?Author |?Publication Date |?Title |?Publisher |?ISBN |?Identifier |mainlabel=- |order=ascending |link=none |limit=1 |format...")
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--{{#ask: [[Publication:{{{1}}}]]
<includeonly><!-- Cargo Query
|?Author
-->{{#if: {{{1|}}}|{{#cargo_query:
|?Publication Date
table = Publication
|?Title
|fields=_pageName,Author,Publication_Date,Title,Publisher,ISBN,System
|?Publisher
|where=Title="{{{1}}}"
|?ISBN
|?Identifier
|mainlabel=-
|order=ascending
|link=none
|limit=1
|format=template|template=Cite Pub/format
}}--><!-- Cargo Query
-->{{#if: {{{1|}}}|{{#cargo_query
_table = Publication
|where _pageName = Publication:{{{1}}}
|fields=_pageName,Author,Publication_Date,Title,Publisher,ISBN10,ISBN13
|limit=1
|limit=1
|default={{pub|{{{1}}}}}
|format=template
|format=template
|template=Cite Pub/format
|template={{#if: {{{nosystem|}}}|Cite Pub/formatns|Cite Pub/format|}}
}}|}}<!--
|more results text=
|Sort_Text = String
}}}}{{#if: {{{pages|}}}|&ensp;p. {{{pages}}}.|}}</includeonly><noinclude>{{Documentation}}
|Page_Name = Page (unique)
|Title = String
|Abbreviation = String
|System = String
|Author = List (, ) of String
|Publisher = String
|Publication_Date = String
|Media_Type = String
|Page_Count = String
|Series = String
|Previous_Work = String <!-- Preceding work in series -->
|Following_Work = String <!-- Work that follows in series -->
|ISBN10 = String
|ISBN13 = String
|Price = String
|URL = URL
|Canon = Boolean
}}--></includeonly><noinclude>{{Documentation}}
[[Category:Publication Templates]]
[[Category:Publication Templates]]
</noinclude>
</noinclude>

Latest revision as of 10:11, 15 June 2023

Template documentation (for the above template, sometimes hidden or invisible)

Syntax[edit]

{{Cite Pub |Monster Manual (5e)}}

Optional Fields[edit]

|pages= <!--page number(s)-->

Example[edit]

{{Cite Pub |Monster Manual (5e)}}

{{Cite Pub|Monster Manual (5e)|pages=3-7}}

produces:

Christopher Perkins, et. al.. Monster Manual (5e) (5e) (2014-09-30). Wizards of the Coast.

Christopher Perkins, et. al.. Monster Manual (5e) (5e) (2014-09-30). Wizards of the Coast. p. 3-7.

This references the Publication:<Cited Publication> page, so any inconsistencies or errors in that page will need to be corrected.


Visit Template:Cite Pub/doc to edit this text! (How does this work?)