Difference between revisions of "Template:Citation Style documentation/web"
From MediaWiki
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | * '''title''': Title of web page. Displays in quotes. | + | * <span id="csdoc_title" />'''title''': Title of web page. Displays in quotes. |
:Titles containing certain characters will display and link incorrectly unless those characters are encoded. | :Titles containing certain characters will display and link incorrectly unless those characters are encoded. | ||
{| class="wikitable" style="margin-left: 5em" | {| class="wikitable" style="margin-left: 5em" | ||
Line 6: | Line 6: | ||
| space || &#91; || &#93; || &#124; | | space || &#91; || &#93; || &#124; | ||
|} | |} | ||
− | :* '''trans_title''': If the source cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the '''work''' field and it will link to the '''url''' field, if used. Use of the '''language''' parameter is recommended. | + | :* <span id="csdoc_trans_title" />'''trans_title''': If the source cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the '''work''' field and it will link to the '''url''' field, if used. Use of the '''language''' parameter is recommended. |
{{Citation Style documentation/required | {{Citation Style documentation/required | ||
|aliases= | |aliases= | ||
Line 19: | Line 19: | ||
|began= | |began= | ||
}} | }} | ||
− | * '''work''': Title of website; can be wikilinked to an existing Wikipedia article or '''url''' may be used to add an external link, but not both. Displays in italics. | + | * <span id="csdoc_work" />'''work''': Title of website; can be wikilinked to an existing Wikipedia article or '''url''' may be used to add an external link, but not both. Displays in italics. |
Latest revision as of 10:50, 17 April 2013
- <span id="csdoc_title" />title: Title of web page. Displays in quotes.
- Titles containing certain characters will display and link incorrectly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
- <span id="csdoc_trans_title" />trans_title: If the source cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the work field and it will link to the url field, if used. Use of the language parameter is recommended.
- This parameter is required and will generate an error if not defined. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set
|{{#if:template doc demo|template doc demo=}}true
to disable categorization; mainly used for documentation where the error is demonstrated.
- <span id="csdoc_work" />work: Title of website; can be wikilinked to an existing Wikipedia article or url may be used to add an external link, but not both. Displays in italics.