Template:Citation Style documentation/web: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
Import template subpage from English Wikipedia |
m Update documentation |
||
| Line 1: | Line 1: | ||
:'''''See also:''' [[wikipedia:Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]] | :'''''See also:''' [[wikipedia:Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]] | ||
* <span id="csdoc_title" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">title</span>: The title of the source page, | * <span id="csdoc_title" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">title</span>: The title of the website source page, displayed wrapped in quotation marks. For titles containing quotation marks, convert double quotation marks (<kbd>"</kbd>) to single quotation marks (<kbd>'</kbd>). If '''{{Code|script-title}}''' is defined, use '''{{Code|title}}''' to hold a [[wikipedia:Wikipedia:Romanization|Romanization]] (if available) of the title in '''{{Code|script-title}}'''. | ||
** ''' | ** <span id="csdoc_script-title" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">script-title</span>: The original title, for languages that do not use a Latin-alphabet script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); follows Romanization defined in '''{{Code|title}}''' (if present). Must be prefixed with one of the [[wikipedia:Help:Citation_Style_1#%7Cscript-%3Cparam%3E%3D_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> | ||
** <span id="csdoc_trans-title" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">trans-title</span>: The English translation of the title, if the source cited is in a foreign language; displays inside square brackets after '''{{Code|title}}''' with '''{{Code|trans-title}}''' included in the link. Use of the '''{{Code|language}}''' parameter is recommended. | |||
** <span id="csdoc_trans-title" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">trans-title</span>: The English translation of the title, if the source cited is in a foreign language; displays | |||
:Titles containing certain characters will display and link incorrectly unless those characters are encoded. | <span style="margin-left: 1.6rem;">Titles containing certain characters will display and link incorrectly, unless those characters are properly encoded.</span> | ||
{| class="wikitable" style="margin-left: 5em;" | {| class="wikitable" style="margin-left: 5em;" | ||
! scope="col" | newline | ! scope="col" | newline | ||
! scope="col" | | ! scope="col" | [ | ||
! scope="col" | | ! scope="col" | ] | ||
! scope="col" | & | ! scope="col" | | | ||
|- | |- | ||
| space | | space | ||
| style="text-align: center;" | & | | style="text-align: center;" | &lbrack; | ||
| style="text-align: center;" | & | | style="text-align: center;" | &rbrack; | ||
| style="text-align: center;" | & | | style="text-align: center;" | &verbar; | ||
|- | |- | ||
| | | | ||
| Line 22: | Line 22: | ||
|} | |} | ||
{{Citation Style documentation/required}} | {{Citation Style documentation/required}} | ||
* <span id="csdoc_work"></span><span id="csdoc_website" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">website</span>: The title of the hosting website of the source (when the website has a clear name, use that rather than the domain name), shown in italics; may be wikilinked. Aliases: ''' | * <span id="csdoc_work"></span><span id="csdoc_website" style="background-color: #f8f9fa; border: 1px solid #c8ccd1; color: #000; font-family: Menlo, Consolas, Monaco, 'Noto Mono', 'Nimbus Mono L', monospace; font-size: 1em; font-weight: 700; padding: 1px 4px;">website</span>: The title of the hosting website of the source (when the website has a clear name, use that rather than the domain name), shown in italics; may be wikilinked. Aliases: '''{{Code|work}}'''. | ||
Latest revision as of 20:45, 22 December 2025
- title: The title of the website source page, displayed wrapped in quotation marks. For titles containing quotation marks, convert double quotation marks (") to single quotation marks ('). If
script-titleis defined, usetitleto hold a Romanization (if available) of the title inscript-title.- script-title: The original title, for languages that do not use a Latin-alphabet script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); follows Romanization defined in
title(if present). Must be prefixed with one of the supported language codes to help browsers properly display the script:…|title=Tōkyō tawā|script-title=ja:東京タワー|trans-title=Tokyo Tower… - trans-title: The English translation of the title, if the source cited is in a foreign language; displays inside square brackets after
titlewithtrans-titleincluded in the link. Use of thelanguageparameter is recommended.
- script-title: The original title, for languages that do not use a Latin-alphabet script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); follows Romanization defined in
Titles containing certain characters will display and link incorrectly, unless those characters are properly encoded.
| newline | [ | ] | | |
|---|---|---|---|
| space | [ | ] | | |
| {{Bracket|text}} | {{Pipe}} – See also Help:Table § Rendering pipe itself. | ||
- This parameter is required and will generate an error if not defined. On errors, Main, Help and Template namespace pages are placed into Category:Articles with incorrect citation syntax. Set
|no-tracking=trueto disable categorization; mainly used for in-place documentation where the error is demonstrated.
- website: The title of the hosting website of the source (when the website has a clear name, use that rather than the domain name), shown in italics; may be wikilinked. Aliases:
work.