Difference between revisions of "Template:Cite book"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Added short story parameter)
m (category)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{{author}}}{{ #if: {{{year|}}} | &nbsp;({{{year}}}) }}. {{ #if: {{{short_story|}}} | “[[{{{short_story}}}]].}} ''{{{title}}}''{{ #if: {{{edition|}}} | &nbsp;({{{edition}}}) }}{{ #if: {{{pages|}}} | , ''p. {{{pages}}}''}}. {{{publisher}}}.{{ #if: {{{ISBN|}}} | &nbsp;ISBN {{{ISBN}}}. }}</includeonly>
+
<includeonly>{{Cite publication
<noinclude>
+
| author = {{{author|}}}
{{/doc}}
+
| editor = {{{editor|}}}
 +
| title = {{ #if: {{{short_story|}}} | “{{{short_story}}}” | ''{{{title|}}}'' }}
 +
| date = {{ #if: {{{date|}}} | {{{date}}} | {{{year|}}} }}
 +
| work = {{ #if: {{{short_story|}}} | ''{{{title|}}}'' }}
 +
| publisher = {{{publisher|}}}
 +
| ISBN = {{{ISBN|}}}
 +
| pages = {{{pages|}}}
 +
}}{{ #if: {{#pos: {{{pages|}}} | ? }} | [[Category:Articles needing page numbers]] }}</includeonly><noinclude>
 +
==Syntax==
 +
<pre>
 +
{{Cite book
 +
|author=
 +
|editor=
 +
|title=
 +
|work=
 +
|sort_story= <!--blank, true-->
 +
|date=
 +
|year=
 +
|publisher=
 +
|ISBN=
 +
|pages=
 +
}}
 +
</pre>
  
[[Category:Content templates]]
+
[[Category:Templates]]
[[Category:Novel citation templates|*]]</noinclude>
+
[[Category:Sourcebook citation templates|*]]
 +
[[Category:Novel citation templates|*]]
 +
</noinclude>

Latest revision as of 16:36, 10 February 2023

Syntax[edit]

{{Cite book
|author=
|editor=
|title=
|work=
|sort_story= <!--blank, true-->
|date=
|year=
|publisher=
|ISBN=
|pages=
}}