Template:Citation Style documentation/web: Difference between revisions

Script-title;
imported>Jonesey95
(Correcting documentation. Since URL is required for cite web, the title cannot be wikilinked.)
imported>Trappist the monk
(Script-title;)
Line 1:
* <span id="csdoc_title" />'''title''': Title of source page on website. Displays in quotes. If '''script-title''' is defined, '''title''' holds romanized transliteration of title in '''script-title'''.
** '''script-title''': Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Hebrew, Japanese, etc); follows transliteration defined in '''title'''. May be prefixed with an [[List of ISO 639-1 codes|ISO 639-1]] two-character code to help browsers properly display the script:
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>
:** <span id="csdoc_trans_title" />'''trans_titletrans-title''': IfEnglish translation of the title if the source cited is in a foreign language, an English translation of the title can be given here. The template will display thisDisplays in square brackets after the '''worktitle''' field and it will link to the; '''urltrans-title''' field,is ifincluded usedin the link. Use of the '''language''' parameter is recommended.
:Titles containing certain characters will display and link incorrectly unless those characters are encoded.
{| class="wikitable" style="margin-left: 5em"
Line 6 ⟶ 9:
| space || &amp;#91; || &amp;#93; || &amp;#124;
|}
:* <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}}
* <span id="csdoc_work" /><span id="csdoc_website" />'''website''': Title of website; may be wikilinked. Displays in italics. Aliases: '''work'''