Template:Cw

From Hearthstone Wiki
Jump to: navigation, search


This is a convenient intermediary template, calling {{Cite web}} but with the default behaviour of a non-Twitter exclusive {{tw}}.

  • By default, the first parameter is assumed to be the url, the second the date, and the third the title
    • If necessary, url can be manually specified in order to work around technical limitations, such as the inclusion of special characters
  • Author and accessdate can be manually specified if desired through subsequent parameters

Syntax

Standard

<ref>{{cw|<insert url here>|<insert date here>|<insert title for display here>}}</ref>

Using optional "accessdate" and "author" parameters

<ref>{{cw|<insert url here>|<insert date here>|<insert title for display here>|accessdate=<insert accessdate here>|author=<insert author here>}}</ref>

Special characters

If special characters like = are included in the url, the user must specify the first parameter by adding url= :

<ref>{{cw|url=<insert url here>|<insert date here>|<insert title for display here>}}</ref>

Using named references

Like all references, this template can also be used with named references.

First use of reference: <ref name=<insert ref name here>>{{cw|<insert url here>|<insert date here>|<insert title for display here>}}</ref>

Reusing the reference: <ref name=<insert ref name here>/>

Examples

Standard

<ref>{{cw|https://np.reddit.com/r/hearthstone/comments/5b5mlg/the_mean_prerelease_reveal_chart_all_currently/d9mnjzu/|2016-11-05|Mike Donais on Reddit}}</ref>

Using optional "accessdate" and "author" parameters

<ref>{{cw|https://np.reddit.com/r/hearthstone/comments/5b5mlg/the_mean_prerelease_reveal_chart_all_currently/d9mnjzu/|2016-11-05|Mike Donais on Reddit|author=Mike Donais|accessdate=2016-11-06}}</ref>

Using named references

First use of reference: <ref name=mdr>{{cw|https://np.reddit.com/r/hearthstone/comments/5b5mlg/the_mean_prerelease_reveal_chart_all_currently/d9mnjzu/|2016-11-05|Mike Donais on Reddit}}</ref>

Reusing the reference: <ref name=mdr/>