Changes
Template:Citation Style documentation/web (edit)
Revision as of 06:37, 29 June 2023
, 06:37, 29 June 2023add guidance per MOS:QINQ, as discussed at Help talk:Citation Style 1
{{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]].)}}
*<b id="csdoc_title">title</b>: Title of source page on website. Displays in quotation marks. For titles containing quotation marks, convert regular quotation marks (<kbd>"</kbd>) to single quotation marks (<kbd>'</kbd>). See [[MOS:QINQ]] for guidance in more complex situations. If '''script-title''' is defined, use '''title''' to hold a [[WP:ROMAN|Romanization]] (if available) of the 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''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-<param>{{=}} language codes|supported language codes]] to help browsers properly display the script:
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>
**<b id="csdoc_trans_title">trans-title</b>: 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"
! newline !! [ !! ] !! |
|-
| space || style="text-align: center;" | &#91; || style="text-align: center;" | &#93; || style="text-align: center;" | &#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}}}}
|}
{{Citation Style documentation/required}}
*<span id="csdoc_work"></span><b id="csdoc_website">website</b>: Title of website (when the website has a clear name, use that rather than the domain name); may be wikilinked. Displays in italics. Aliases: '''work'''
*<b id="csdoc_title">title</b>: Title of source page on website. Displays in quotation marks. For titles containing quotation marks, convert regular quotation marks (<kbd>"</kbd>) to single quotation marks (<kbd>'</kbd>). See [[MOS:QINQ]] for guidance in more complex situations. If '''script-title''' is defined, use '''title''' to hold a [[WP:ROMAN|Romanization]] (if available) of the 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''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-<param>{{=}} language codes|supported language codes]] to help browsers properly display the script:
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>
**<b id="csdoc_trans_title">trans-title</b>: 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"
! newline !! [ !! ] !! |
|-
| space || style="text-align: center;" | &#91; || style="text-align: center;" | &#93; || style="text-align: center;" | &#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}}}}
|}
{{Citation Style documentation/required}}
*<span id="csdoc_work"></span><b id="csdoc_website">website</b>: Title of website (when the website has a clear name, use that rather than the domain name); may be wikilinked. Displays in italics. Aliases: '''work'''