Template:CiteSB: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
m (shorten title)
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|{{{vol|{{{volume}}}}}}}}}}}
<includeonly><ref>{{#switch:{{lc:{{{1|{{{vol|{{{volume}}}}}}}}}}}
|prologue=[[Snowbound Blood: Prologue|''Snowbound Blood'': Prologue]]
|prologue=[[Snowbound Blood: Prologue|''Snowbound Blood'': Prologue]]
|epilogue=[[Snowbound Blood: Epilogue|''Snowbound Blood'': Epilogue]]
|epilogue=[[Snowbound Blood: Epilogue|''Snowbound Blood'': Epilogue]]
Line 17: Line 17:
}}. {{#if:{{{quote|}}}
}}. {{#if:{{{quote|}}}
|{{VE Quote|{{#if:{{{whosaid|}}}|{{{whosaid}}}|black}}|{{{quote}}}}}
|{{VE Quote|{{#if:{{{whosaid|}}}|{{{whosaid}}}|black}}|{{{quote}}}}}
}}. [[Deconreconstruction]]. {{date SB|{{{1|{{{vol|{{{volume}}}}}}}}}}}.</includeonly><noinclude>
}}. [[Deconreconstruction]]. {{date SB|{{{1|{{{vol|{{{volume}}}}}}}}}}}.</ref></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 09:59, 24 August 2021

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.