Template:Citation Style documentation/web: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
(PPP harus bilang ACEH Merdeka)
imported>Trappist the monk
m (Reverted edits by 36.90.20.157 (talk) to last version by Trappist the monk)
Line 3: Line 3:
** '''script-title''': Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, 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:
** '''script-title''': Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, 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>
**:<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 '''
** <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 !! [ !! ] !! &#124;
|-
| space || style="text-align: center;" | &amp;#91; || style="text-align: center;" | &amp;#93; || style="text-align: center;" | &amp;#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 pipte</b>: Title of website; may be wikilinked. Displays in italics. Aliases: '''work'''
| 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; may be wikilinked. Displays in italics. Aliases: '''work'''

Revision as of 17:01, 31 December 2018

Template:Hatnote inline

  • 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, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc); follows transliteration defined in title. May be prefixed with an ISO 639-1 two-character code to help browsers properly display the script:
      ... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...
    • 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.
newline [ ] |
space &#91; &#93; &#124;
{{bracket|text}} {{pipe}}Template:Hatnote inline
This parameter is required and will generate an error if not defined. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set Template:Para to disable categorization; mainly used for documentation where the error is demonstrated.
  • website: Title of website; may be wikilinked. Displays in italics. Aliases: work