Template:CiteVE: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
m (+|{{{pagenumber|{{{p|{{{1}}}}}}}}})
(add option for two (or more) pages)
Line 1: Line 1:
<includeonly>austinado and Sparaze. ''Vast Error'', {{#if:{{{quote|}}}
<includeonly>austinado and Sparaze. ''Vast Error'', {{#if:{{{quote|}}}
|{{VE Quote|{{#if:{{{whosaid|}}}|{{{whosaid}}}|black}}|{{{quote}}}}}.  
|{{VE Quote|{{#if:{{{whosaid|}}}|{{{whosaid}}}|black}}|{{{quote}}}}}.  
}}{{#if:{{{pagenumber|{{{p|{{{1|}}}}}}}}}
}}{{#if:{{{pagenumber|{{{p|{{{1|}}}}}}}}}{{{pp|}}}
|p. {{VE|{{{pagenumber|{{{p|{{{1}}}}}}}}}|{{{pagenumber|{{{p|{{{1}}}}}}}}}}}
|{{#if:{{{2|}}}{{{pp|}}}
|pp. {{{pp|{{VE|{{{pagenumber|{{{p|{{{1}}}}}}}}}|{{{pagenumber|{{{p|{{{1}}}}}}}}}}}-{{VE|{{{2}}}|{{{2}}}}}}}}
|p. {{VE|{{{pagenumber|{{{p|{{{1}}}}}}}}}|{{{pagenumber|{{{p|{{{1}}}}}}}}}}}
|unknown page
|unknown page
}}. {{Date VE|{{{pagenumber|{{{p|{{{1}}}}}}}}}}}.</includeonly>
}}. {{#if:{{{2|}}}|{{#ifeq:{{Date VE|{{{pagenumber|{{{p|{{{1}}}}}}}}}}}|{{Date VE|{{{2}}}}}|{{Date VE|{{{2}}}}}|{{{date|unknown date}}}}}.</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 16:10, 8 May 2021


Syntax

{{CiteVE
|pagenumber =    The page number of Vast Error that the citation points to.
|quote      =    A quote being cited, if applicable.
|whosaid    =    The character who said the quote, if applicable.
}}

Notes

  • Keeping pagenumber empty will result in the page number being listed as unknown page and an absence of a hyperlink.
  • 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

{{CiteVE|pagenumber=1|quote=>([#olla #olla get dolla]|whosaid=murrit}}

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

  1. austinado and Sparaze. Vast Error, >([#olla #olla get dolla].{{#if:1 |p. 1 DCRC icon.png. {{#if:|unknown date.

Quote and whosaid omitted

{{CiteVE|pagenumber=1}}

Typical citation to a page with no quote.[1]

  1. austinado and Sparaze. Vast Error, {{#if:1 |p. 1 DCRC icon.png. {{#if:|unknown date.

Whosaid omitted

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

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

  1. austinado and Sparaze. Vast Error, I heard White Noise had an eight-pack..{{#if:1 |p. 1 DCRC icon.png. {{#if:|unknown date.

Pagenumber and whosaid omitted

{{CiteVE|quote=Don't do this. Please.}}

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

  1. austinado and Sparaze. Vast Error, Don't do this. Please..{{#if: |p. {{{1}}} DCRC icon.png. {{#if:|.