Template:Citation Style documentation/web: Difference between revisions

m
imported>Jonesey95
(Correcting documentation. Since URL is required for cite web, the title cannot be wikilinked.)
 
(19 intermediate revisions by 13 users not shown)
Line 1:
{{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]].)}}
* <span id="csdoc_title" />'''title''': Title of source page on website. Displays in quotes.
*<b id="csdoc_title">title</b>: Title of source page on website. Displays in quotes. If '''script-title''' is defined, '''title''' holds a [[WP:ROMAN|Romanization]] of title in '''script-title'''.
** '''script-title''': Original title for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); follows Romanization 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>
:* *<spanb id="csdoc_trans_title" >trans-title</b>'''trans_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"
! newline !! [ !! ] !! &#124;
|-
| space || style="text-align: center;" | &amp;#91; || style="text-align: center;" | &amp;#93; || style="text-align: center;" | &amp;#124;
|-
|
| colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] – {{crossref|see also {{section link|Help:Table|Rendering pipe itself}}}}
|}
:* <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><b id="csdoc_website" />'''website'''</b>: Title of website; may be wikilinked. Displays in italics. Aliases: '''work'''