Template:Cite web/doc: Difference between revisions

cleanup
m (2 revisions imported from templatewiki:Template:Cite_web/doc)
(cleanup)
 
Line 1: Line 1:
{{Documentation subpage}}
{{high-risk| 2700000+ }}
{{AWB standard installation}}
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|lead|web sources that are not characterized by another CS1 template}}
==Usage==
==Usage==
{{csdoc|usage}}
{{csdoc|usage}}
Line 17: Line 9:
{{end}}
{{end}}
{{csdoc|usage vertical common}}
{{csdoc|usage vertical common}}
<!-- Please synchronize this list with the corresponding one at the overview page [[Wikipedia:Citation templates#Examples]] -->
<pre style="margin:0px; border:none; white-space:pre;">
<pre style="margin:0px; border:none; white-space:pre;">
{{cite web
{{cite web
Line 220: Line 211:
</pre>
</pre>
{{csdoc|usage vertical end}}
{{csdoc|usage vertical end}}
===Choosing between {{tlf|Cite web}} and {{tlf|Cite news}}===
{{anchor|Consistency}}
Before 2014, editors had to decide whether to use {{tl|Cite web}} or {{tlf|Cite news}} based on their features. In 2014, however, {{em|most of}} the differences between the two templates were eliminated.
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|Cite web}} and {{tlf|Cite news}} have the following differences:
*{{tlf|Cite news}} can be used for offline (paper) sources whereas {{tlf|Cite web}} generates a missing URL error when no URL is provided
*{{tlf|Cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|Cite web}} does not (See {{section link|1=Help talk:Citation Style 1/Archive 10|2=&#x7C;volume=, &#x7C;issue=, &#x7C;page(s)= and cite magazine}}.)
But given the same set of valid parameters, their output is exactly the same:
<!-- ATTENTION!
The following example only serves to demonstrate parameter rending results.
Whether you must include all these parameters in actual articles is not a concern here.
-->
{|
| '''Cite web''': || {{cite web |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=[[Houston Chronicle]] |publisher=[[Hearst Corporation]] |accessdate=May 26, 2015}}
|-
| '''Cite news''': || {{cite news |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=[[Houston Chronicle]] |publisher=[[Hearst Corporation]] |accessdate=May 26, 2015}}
|}


==Examples==
==Examples==
Line 1,683: Line 1,655:


==See also==
==See also==
{{Citation Style 1}}
* {{tl|cite book}}
{{Wikipedia referencing}}
* {{tl|cite journal}}
{{UF-COinS}}
* {{tl|cite news}}


<includeonly>
<includeonly>
{{#ifeq:{{SUBPAGENAME}}|sandbox||
[[Category:Templates]]
[[Category:Citation Style 1 templates|W]]
}}
</includeonly>
</includeonly>