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|}}}
|Snowbound Blood:  
|[[Snowbound Blood:  
{{#switch {{{volume}}}
{{#switch: {{{volume}}}
|prologue=Prologue
|prologue=Prologue
|epilogue=Epilogue
|epilogue=Epilogue
Line 16: Line 16:
|10=Volume Ten
|10=Volume Ten
|11=Volume Eleven
|11=Volume Eleven
|12=Volume Twelve}}
|12=Volume Twelve}}|''Snowbound Blood: A Vast Error Story'' {{#switch: {{{volume}}}
|prologue=Prologue
|epilogue=Epilogue
|1 = Volume One
|2 =Volume  Two
|3 = Volume Three
|4=Volume Four
|5=Volume Five
|6=Volume Six
|7=Volume Seven
|8=Volume Eight
|9=Volume Nine
|10=Volume Ten
|11=Volume Eleven
|12=Volume Twelve}}]]
| [[Snowbound Blood: A Vast Error Story]]
| [[Snowbound Blood: A Vast Error Story]]
}}.
}}.

Revision as of 22:24, 18 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.