Template:Cite Pub/format: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!--_pageName,Author,Publication_Date,Title,Publisher,ISBN10,ISBN13--><includeonly>{{#arraymap: {{{2}}}|, |authorx|[[authorx]]}}. <span style="font-size:1.1em;">'''''[[{{{1}}}|{{{4}}}]]'''''</span>{{#if: {{{pages|}}}|&ensp;p. {{{pages}}}|}}{{#if: {{{5|}}}|&ensp;({{{3}}})|}}. [[{{{5}}}]]. {{#if: {{{6|}}}|ISBN {{{6}}}.|{{#if: {{{7|}}}|ISBN {{{7}}}.|}}}}</includeonly><noinclude>
<!--_pageName,Author,Publication_Date,Title,Publisher,ISBN10,ISBN13--><includeonly>{{#arraymap: {{{2}}}|, |authorx|[[authorx]]}}. <span style="font-size:1.1em;">'''''[[{{{1}}}|{{{4}}}]]'''''</span>{{#if: {{{7|}}}|&nbsp;{{systemlookup|{{{7}}}}}|}}{{#if: {{{pages|}}}|&ensp;p. {{{pages}}}|}}{{#if: {{{5|}}}|&ensp;({{{3}}})|}}. [[{{{5}}}]]. {{#if: {{{6|}}}|ISBN {{{6}}}.|}}</includeonly><noinclude>
==Use==
Used by [[Template:Cite Pub]] to format response including system notation.
 
==syntax==
==syntax==
<pre>{{Cite Pub/format|Page Name|Author|Publication Date|Title|Publisher|ISBN}}</pre>
<pre>{{Cite Pub/format|Page Name|Author|Publication Date|Title|Publisher|ISBN|system}}</pre>


===add'l entries===
===add'l entries===
<pre>|pages= </pre>
<pre>
|pages=  
|nosystem= <!--blank, true to skip system display-->
</pre>
 
==Examples==
 
<pre>{{Cite Pub/format|Publication:Foo|Noah Body|2016-11-03|Foo|Bar Publishers|1234567890123|pages=77-93}}</pre>


Example:
<pre>{{Cite Pub/format|Publication:Sword Coast Adventurer's Guide|Steve Kenson|2015-11-03|Sword Coast Adventurer's Guide|Wizards of the Coast|0786965800|Dungeons and Dragons 5e|pages=127}}</pre>


<pre>{{Cite Pub/format|Foo|Noah Body|2016-11-03|Foo|Bar Publishers|1234567890123|pages=77-93}}</pre>


produces...
produces...


{{Cite Pub/format|Foo (5e)|Noah Body|2016-11-03|Foo|Bar Publishers|1234567890123|pages=77-93}}
{{Cite Pub/format|Publication:Foo (5e)|Noah Body|2016-11-03|Foo|Bar Publishers|1234567890123|pages=77-93}}
 
{{Cite Pub/format|Publication:Sword Coast Adventurer's Guide|Steve Kenson|2015-11-03|Sword Coast Adventurer's Guide|Wizards of the Coast|0786965800|Dungeons and Dragons 5e|pages=127}}


<!--_pageName,Author,Publication_Date,Title,Publisher,ISBN-->
<!--_pageName,Author,Publication_Date,Title,Publisher,ISBN-->
</noinclude>
</noinclude>

Latest revision as of 09:12, 15 June 2023

Use

Used by Template:Cite Pub to format response including system notation.

syntax

{{Cite Pub/format|Page Name|Author|Publication Date|Title|Publisher|ISBN|system}}

add'l entries

|pages= 
|nosystem= <!--blank, true to skip system display-->

Examples

{{Cite Pub/format|Publication:Foo|Noah Body|2016-11-03|Foo|Bar Publishers|1234567890123|pages=77-93}}
{{Cite Pub/format|Publication:Sword Coast Adventurer's Guide|Steve Kenson|2015-11-03|Sword Coast Adventurer's Guide|Wizards of the Coast|0786965800|Dungeons and Dragons 5e|pages=127}}


produces...

Noah Body. Foo p. 77-93 (2016-11-03). Bar Publishers. ISBN 1234567890123.

Steve Kenson. Sword Coast Adventurer's Guide (5e 2014) p. 127 (2015-11-03). Wizards of the Coast. ISBN 0786965800.