Template:Cite Pub: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(wip)
Line 1: Line 1:
<includeonly><!--{{#ask: [[Publication:{{{1}}}]]
<includeonly><!-- Cargo Query
|?Author
|?Publication Date
|?Title
|?Publisher
|?ISBN
|?Identifier
|mainlabel=-
|order=ascending
|link=none
|limit=1
|format=template|template=Cite Pub/format
}}--><!-- Cargo Query
-->{{#if: {{{1|}}}|{{#cargo_query:
-->{{#if: {{{1|}}}|{{#cargo_query:
table = Publication
table = Publication
|where _pageName = Publication:{{{1}}}
|where Publication.Title={{{1}}}
|fields=_pageName,Author,Publication_Date,Title,Publisher,ISBN10,ISBN13
|fields=_pageName,Author,Publication_Date,Title,Publisher,ISBN10,ISBN13
|limit=1
|limit=1
|format=template
<!--|format=template
|template=Cite Pub/format
|template=Cite Pub/format-->
}}|}}<!--
}}|}}<!--
|Sort_Text = String
|Sort_Text = String

Revision as of 18:49, 11 March 2020

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

Syntax

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

Optional Fields

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

Example

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

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

produces:

Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)

|Following_Work = String |ISBN10 = String |ISBN13 = String |Price = String |URL = URL |Canon = Boolean }}-->

Cannot access the database: :real_connect(): (HY000/1226): User 'a1618b_wiki5' has exceeded the 'max_user_connections' resource (current value: 10)

|Following_Work = String |ISBN10 = String |ISBN13 = String |Price = String |URL = URL |Canon = Boolean }}-->

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?)