Template:CiteSB: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#tag:ref|
<includeonly>{{#tag:ref|
{{#if:{{{volume|}}}
{{#if:{{{volume|}}}
|{{#switch: {{{volume}}}
|{{#switch: {{lc: {{{volume}}}}}
|prologue=[[Snowbound Blood: Prologue|''Snowbound Blood: A Vast Error Story'' Prologue]]
|prologue=[[Snowbound Blood: Prologue|''Snowbound Blood: A Vast Error Story'' Prologue]]
|epilogue=[[Snowbound Blood: Epilogue|''Snowbound Blood: A Vast Error Story'' Epilogue]]
|epilogue=[[Snowbound Blood: Epilogue|''Snowbound Blood: A Vast Error Story'' Epilogue]]

Revision as of 14:15, 20 November 2019


Syntax

{{CiteSB
|volume     =    The volume of Snowbound Blood that the citation points to.
|quote      =    A quote being cited, if applicable.
|whosaid    =    The character who said the quote, if applicable.
}}

Notes

  • Keeping volume empty will result in the hyperlink pointing to the game's main page.
  • Keeping quote empty will result in no quoted text being appended to the end of the citation.
  • Keeping whosaid empty will result in the text color defaulting to black.

Sample Output

Typical Usage

{{CiteSB|volume=1|quote=1.e4 Cop time. ...e5|whosaid=secily}}

Typical citation of a quote said by a character.[1]

Cite error: <ref> tag defined in <references> has no name attribute.

Quote and whosaid omitted

{{CiteSB|volume=prologue}}

Typical citation of a quote said by narration.[1]

Cite error: <ref> tag defined in <references> has no name attribute.

Whosaid omitted

{{CiteSB|vol=1|quote=I heard White Noise had an eight-pack.}}

Typical citation of a quote said by narration.[1]

Cite error: <ref> tag defined in <references> has no name attribute.

Volume and whosaid omitted

{{CiteSB|pagenumber=1|quote=Don't do this. Please.}}

Typical citation of a quote said by narration without a volume.[1]

Cite error: <ref> tag defined in <references> has no name attribute.