Template:Citation Style documentation/web: Difference between revisions

m
imported>PrimeHunter
(change <span ... /> to <span ...></span>, the former adds pages to Category:Pages using invalid self-closed HTML tags)
 
(9 intermediate revisions by 8 users not shown)
Line 1:
{{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]].)}}
* <spanb id="csdoc_title">title</spanb>'''title''': Title of source page on website. Displays in quotes. If '''script-title''' is defined, '''title''' holds romanizeda transliteration[[WP:ROMAN|Romanization]] of title in '''script-title'''.
** '''script-title''': Original title for languages that do not use a Latin-based alphabetscript (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc); follows transliterationRomanization 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</spanb>'''trans-title''': English translation of the title if the source cited is in a foreign language. Displays in square brackets after '''title'''; '''trans-title''' is included in 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 13 ⟶ 14:
|}
{{Citation Style documentation/required}}
* <span id="csdoc_work"></span><spanb id="csdoc_website">website</spanb>'''website''': Title of website; may be wikilinked. Displays in italics. Aliases: '''work'''