Vorlage:Infobox name module/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(tidy formatting to match the other Infoboxes on this same page.)
K (Xineohp1506 verschob die Seite Vorlage:Infobox name module/doc nach Vorlage:Infobox name module/Doku, ohne dabei eine Weiterleitung anzulegen)
 
(25 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
{{high-use}}
{{Tl|Infobox name module}} is used to add a film's original native title (along with the romanized equivalent if necessary) to the infobox on film articles in cases where the [[WP:COMMONNAME]] title of the film is different. It is NOT for adding general purpose translations to the infobox, even in cases where the film was a co-production between several different countries. Any title besides the original native copyrighted title should be removed. In cases where there is a dispute over which title is the native title, discuss the matter at the article talk page and arrive at a consensus before adding the title to the infobox.
{{Tl|Infobox name module}} is used to add a film's original native title (along with the romanized equivalent if necessary) to the infobox on film articles in cases where the [[WP:COMMONNAME]] title of the film is different. It is NOT for adding general purpose translations to the infobox, even in cases where the film was a co-production between several different countries. Any title besides the original native copyrighted title should be removed. In cases where there is a dispute over which title is the native title, discuss the matter at the article talk page and arrive at a consensus before adding the title to the infobox.


== Usage ==
== Usage ==
The template takes the various film titles and is assigned to the <code>film name</code> parameter at {{tl|Infobox film}}. The native language and original title of a film can be assigned to the <code>language</code> and <code>title</code> parameters, or by using the dedicated parameters for Chinese, Korean, Japanese and Vietnamese films.
The template takes the various film titles and is assigned to the {{para|native_name}} parameter at {{tl|Infobox film}}. The native language and original title of a film can be assigned to the <code>language</code> and <code>title</code> parameters.
 
===General===
<pre style="overflow:auto;">
{{Infobox name module
| language =
| title    =
| nolink  =
}}</pre>
 
===Chinese===
<pre style="overflow:auto;">
{{Infobox name module
| traditional    =
| simplified    =
| chinese        =
| pinyin        =
| jyutping      =
| poj            =
| translation    =
| lbl8          =
| data8          =
}}</pre>
 
===Japanese===
<pre style="overflow:auto;">
{{Infobox name module
| kanji          =
| romaji        =
| translation    =
}}</pre>
 
===Korean===
<pre style="overflow:auto;">
{{Infobox name module
| hangul        =
| hanja          =
| rr            =
| mr            =
| context        =
| translation    =
}}</pre>


Alternatively, for Korean names the [[Template:Infobox Korean name|Infobox Korean name]] template can be used as a module, with similar results (note that the host infobox requires a <code>module</code> parameter to utilize this approach):
This template is not compatible with use in the {{para|native_name}} parameter in infoboxes that wrap that parameter in {{tag|span}} or {{tag|div}} tags; its use in such situations causes misnested span or div tags. In those infoboxes, put this template in {{para|module}} or {{para|embedded}}, if present.


<pre style="overflow:auto;">
This template used to support parameters for languages with multiple writing systems. They have been removed following a [[Wikipedia:Templates for discussion/Log/2017 April 7#Template:Infobox name module|successful merger proposal]] and are replaced with other templates which have more options, which are listed in the [[#Former parameters]] section. The parameters supported by this template are {{para|1}}, {{para|2}}, {{para|language}}, {{para|nolink}}, {{para|title}}, {{para|original}} and {{para|translation}}.
{{Infobox Korean name|child=yes|color=transparent
| hangul    =
| hanja      =
| rr        =
| mr        =
| context    =
}}</pre>


===Vietnamese===
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox name module
{{Infobox name module
| chuquocngu    =  
| language    =  
| han-nom        =  
| title      =
| translation   =
| nolink      =
| translation =  
}}</pre>
}}</pre>


Zeile 70: Zeile 22:
All parameters are optional.
All parameters are optional.


===General===
The first two parameters do not need to be named. For example, <code><nowiki>{{Infobox name module|Japanese|千と千尋の神隠し}}</nowiki></code> and <code><nowiki>{{Infobox name module|ja|千と千尋の神隠し}}</nowiki></code> will render the same as <code><nowiki>{{Infobox name module|language=Japanese|title=千と千尋の神隠し}}</nowiki></code>. An example of this type of usage can be viewed at [https://en.wikipedia.org/w/index.php?title=Godless_(film)&diff=745870294&oldid=745865104 Godless (film)] where the Bulgarian title is rendered in the infobox.
The first two parameters do not need to be named. For example, <nowiki>{{Infobox name module|Japanese|千と千尋の神隠し}} will render the same as {{Infobox name module|language=Japanese|title=千と千尋の神隠し}}</nowiki>. An example of this type of usage can be viewed at [https://en.wikipedia.org/w/index.php?title=Godless_(film)&diff=745870294&oldid=745865104 Godless (film)] where the Bulgarian title is rendered in the infobox.
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:5em;" | Parameter
! style="width:5em;" | Parameter
! Explanation
! Explanation
|-
|-
| language       || The name of the language either in full (e.g. English) or using an {{tl|ISO 639 name}} (e.g. "en"). If the language parameter is not set then the template will automatically set the name of the field to "Original title".
| language   || The name of the language either in full (e.g. English) or using an {{tl|ISO 639 name}} (e.g. "en"). If the language parameter is not set then the template will automatically set the name of the field to "Original title".
|-
| title      || The film's title as represented in the language
|-
| original    || The same parameter as "title". They can be used interchangeably. "Title" was introduced as a more intuitive parameter name when the template was updated, but "original" is retained to ensure older versions of the template continue to work correctly.
|-
|-
| title || The film's title as represented in the language
| nolink      || Set to "1" to deactivate the automatic linking of the language
|-
|-
| original || The same parameter as "title". They can be used interchangeably. "Title" was introduced as a more intuitive parameter name when the template was updated, but "original" is retained to ensure older versions of the template continue to work correctly.
| translation || Translation of native name
|-
|-
| nolink        || Set to "1" to deactivate the automatic linking of the language
|}
|}
== Examples ==
{{Infobox film
| name          = The Year of the Discovery
| native_name    = {{Infobox name module
| language = Spanish
| title = El año del descubrimiento
}}
| director      = Luis López Carrasco
| producer      = Pedro Palacios<br />Daniel M. Caneiro<br />Ricard Sales<br />Marta Lacima<br />Luis Ferrón<br />Luis López Carrasco<br />Javier Fernández
| writer        = Raúl Liarte<br />Luis López Carrasco
| starring      =
| music          = 
| cinematography = Sara Gallego Grau
| editing        = Sergio Jiménez Barranquero 
| studio        =
| distributor    =
| released      = {{Film date|df=y|2020|01|25|[[International Film Festival Rotterdam|IFFR]]|2020|11|13|Spain}}
| runtime        = 200 minutes
| country        = Spain<br />Switzerland
| language      = Spanish
| budget        =
| gross          =
}}
Add this code:
<pre style="overflow:auto">
| native_name = {{Infobox name module
| language = Spanish
| title = El año del descubrimiento
}}
</pre>
or
<pre style="overflow:auto">
| native_name = {{Infobox name module|es|El año del descubrimiento}}
</pre>
To the infobox:
<pre style="overflow:auto">
{{Infobox film
| name          = The Year of the Discovery
| native_name    = {{Infobox name module
| language = Spanish
| title = El año del descubrimiento
}}
| director      = Luis López Carrasco
| producer      = Pedro Palacios<br />Daniel M. Caneiro<br />Ricard Sales<br />Marta Lacima<br />Luis Ferrón<br />Luis López Carrasco<br />Javier Fernández
| writer        = Raúl Liarte<br />Luis López Carrasco
| starring      =
| music          = 
| cinematography = Sara Gallego Grau
| editing        = Sergio Jiménez Barranquero 
| studio        =
| distributor    =
| released      = {{Film date|df=y|2020|01|25|[[International Film Festival Rotterdam|IFFR]]|2020|11|13|Spain}}
| runtime        = 200 minutes
| country        = Spain<br />Switzerland
| language      = Spanish
| budget        =
| gross          =
}}
</pre>
== Former parameters ==
This template formely used to support parameters for languages with multiple writing systems. The usage of these parameters is deprecated and is slated for removal soon. They are replaced from other templates which give more options for customization in addition to what this template used to support.


===Chinese===
===Chinese===
 
* Replaced by {{tl|Infobox Chinese}} or {{tl|Infobox Chinese/Chinese}}
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:5em;" | Parameter
! style="width:5em;" | Parameter
Zeile 111: Zeile 133:


===Japanese===
===Japanese===
 
* Replaced by {{tl|Infobox Japanese}}
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:5em;" | Parameter
! style="width:5em;" | Parameter
Zeile 124: Zeile 146:


===Korean===
===Korean===
 
* Replaced by {{tl|Infobox Korean}} or {{tl|Infobox Chinese/Korean}}
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:5em;" | Parameter
! style="width:5em;" | Parameter
Zeile 149: Zeile 171:


===Vietnamese===
===Vietnamese===
 
* Replaced by {{tl|Infobox Chinese/Vietnamese}}
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:5em;" | Parameter
! style="width:5em;" | Parameter
Zeile 164: Zeile 186:
|}
|}


==Examples==
==Templatedata==
{{Infobox film
{{TemplateData header}}
| italic title = no
| name = ''Crouching Tiger, Hidden Dragon''
| image = Bad Title Example.png
| alt =
| caption = Theatrical release poster
| film name = {{Infobox name module
| traditional = 臥虎藏龍
| simplified = 卧虎藏龙
| pinyin = Wòhǔ Cánglóng
| jyutping = Ngo6fu2 Cong4lung4
}}
| director = [[Ang Lee]]
| producer = [[Hsu Li Kong|Hsu Li-Kong]]<br>[[William Kong]]<br>Ang Lee
| writer =
| screenplay = Wang Hui-Ling<br>[[James Schamus]]<br>Tsai Kuo-Jung
| story = [[Wang Dulu]]
| narrator =
| starring = [[Chow Yun-Fat]]<br>[[Michelle Yeoh]]<br>[[Zhang Ziyi]]<br>[[Chang Chen]]
| music = [[Tan Dun]]
| cinematography = [[Peter Pau]]
| editing = [[Tim Squyres]]
| studio =
| distributor = EDKO Film {{small|(HK)}}<br>[[Sony Pictures Classics]] {{small|(US)}}
| released = {{Film date|2000|7|6|HK|2000|7|7|Taiwan|2000|12|8|US}}<!--WP:FILMRELEASE-->
| runtime = 120 minutes <!-- Special Edition DVD runtime: 120:08 -->
| country = Taiwan<br>Hong Kong<br>United States<br>China
| language = Mandarin<br />English
| budget = $17,000,000
| gross = $213,525,736
}}
 
Add this code:
<pre style="overflow:auto">
| film name = {{Infobox name module
| traditional = 臥虎藏龍
| simplified = 卧虎藏龙
| pinyin = Wòhǔ Cánglóng
| jyutping = Ngo6fu2 Cong4lung4
}}
</pre>
 
To the infobox:
 
<pre style="overflow:auto">
{{Infobox film
| name = Crouching Tiger, Hidden Dragon
| image = Bad Title Example.png
| alt =
| caption = Theatrical release poster
| film name = {{Infobox name module
| traditional = 臥虎藏龍
| simplified = 卧虎藏龙
| pinyin = Wòhǔ Cánglóng
| jyutping = Ngo6fu2 Cong4lung4
}}
| director = [[Ang Lee]]
| producer = [[Hsu Li Kong|Hsu Li-Kong]]<br>[[William Kong]]<br>Ang Lee
| writer =
| screenplay = Wang Hui-Ling<br>[[James Schamus]]<br>Tsai Kuo-Jung
| story = [[Wang Dulu]]
| narrator =
| starring = [[Chow Yun-Fat]]<br>[[Michelle Yeoh]]<br>[[Zhang Ziyi]]<br>[[Chang Chen]]
| music = [[Tan Dun]]
| cinematography = [[Peter Pau]]
| editing = [[Tim Squyres]]
| studio =
| distributor = EDKO Film {{small|(HK)}}<br>[[Sony Pictures Classics]] {{small|(US)}}
| released = {{Film date|2000|7|6|HK|2000|7|7|Taiwan|2000|12|8|US}}<!--WP:FILMRELEASE-->
| runtime = 120 minutes <!-- Special Edition DVD runtime: 120:08 -->
| country = Taiwan<br>Hong Kong<br>United States<br>China
| language = Mandarin<br />English
| budget = $17,000,000
| gross = $213,525,736
}}
</pre>
 
{{Film and Television related infobox templates}}
 
<includeonly>
<!-- EDIT CATEGORIES BELOW THIS LINE-->
[[Category:Film infobox templates|Infobox]]
 
<!-- EDIT INTERWIKI LINKS BELOW THIS LINE -->
</includeonly>
<templatedata>
<templatedata>
{
{
Zeile 262: Zeile 200:
]
]
},
},
"traditional": {},
"fanti": {},
"simplified": {},
"jianti": {},
"chinese": {
"aliases": [
"Chinese"
]
},
"pinyin": {},
"jyutping": {},
"poj": {},
"lbl8": {},
"sep": {},
"data8": {},
"kanji": {},
"kana": {},
"romaji": {},
"context": {},
"hangul": {},
"hanja": {},
"mr": {},
"rr": {},
"chuquocngu": {},
"han-nom": {},
"translation": {}
"translation": {}
},
},
Zeile 295: Zeile 208:
"nolink",
"nolink",
"title",
"title",
"traditional",
"fanti",
"simplified",
"jianti",
"chinese",
"pinyin",
"jyutping",
"poj",
"lbl8",
"sep",
"data8",
"kanji",
"kana",
"romaji",
"context",
"hangul",
"hanja",
"mr",
"rr",
"chuquocngu",
"han-nom",
"translation"
"translation"
],
],
Zeile 321: Zeile 213:
}
}
</templatedata>
</templatedata>
{{Film- and television-related infobox templates}}
<includeonly>{{Sandbox other||
<!-- EDIT CATEGORIES BELOW THIS LINE-->
[[Category:Film infobox templates|Infobox]]
<!-- EDIT INTERWIKI LINKS BELOW THIS LINE -->
}}</includeonly>

Aktuelle Version vom 16. Februar 2023, 23:25 Uhr

Gnome-emblem-important.svg
Diese Vorlage wird auf vielen Seiten verwendet
Um große Unterbrechungen und unnötige Serverauslastung zu vermeiden, solltest du Änderungen an anderer Stelle testen, indem du beispielsweise den Quellcode dieser Vorlage kopierst und in den Benutzerbereich oder in die Sandbox einfügst. Erwäge, deine Änderungen auf der Diskussionsseite vorzuschlagen, bevor du diese Vorlage bearbeitest.

{{Infobox name module}} is used to add a film's original native title (along with the romanized equivalent if necessary) to the infobox on film articles in cases where the WP:COMMONNAME title of the film is different. It is NOT for adding general purpose translations to the infobox, even in cases where the film was a co-production between several different countries. Any title besides the original native copyrighted title should be removed. In cases where there is a dispute over which title is the native title, discuss the matter at the article talk page and arrive at a consensus before adding the title to the infobox.

Usage

The template takes the various film titles and is assigned to the |native_name= parameter at {{Infobox film}}. The native language and original title of a film can be assigned to the language and title parameters.

This template is not compatible with use in the |native_name= parameter in infoboxes that wrap that parameter in <span>...</span> or <div>...</div> tags; its use in such situations causes misnested span or div tags. In those infoboxes, put this template in |module= or |embedded=, if present.

This template used to support parameters for languages with multiple writing systems. They have been removed following a successful merger proposal and are replaced with other templates which have more options, which are listed in the #Former parameters section. The parameters supported by this template are |1=, |2=, |language=, |nolink=, |title=, |original= and |translation=.

{{Infobox name module
| language    = 
| title       =
| nolink      =
| translation = 
}}

Parameters

All parameters are optional.

The first two parameters do not need to be named. For example, {{Infobox name module|Japanese|千と千尋の神隠し}} and {{Infobox name module|ja|千と千尋の神隠し}} will render the same as {{Infobox name module|language=Japanese|title=千と千尋の神隠し}}. An example of this type of usage can be viewed at Godless (film) where the Bulgarian title is rendered in the infobox.

Parameter Explanation
language The name of the language either in full (e.g. English) or using an {{ISO 639 name}} (e.g. "en"). If the language parameter is not set then the template will automatically set the name of the field to "Original title".
title The film's title as represented in the language
original The same parameter as "title". They can be used interchangeably. "Title" was introduced as a more intuitive parameter name when the template was updated, but "original" is retained to ensure older versions of the template continue to work correctly.
nolink Set to "1" to deactivate the automatic linking of the language
translation Translation of native name

Examples

Vorlage:Infobox film

Add this code:

| native_name = {{Infobox name module
| language = Spanish
| title = El año del descubrimiento
}}

or

| native_name = {{Infobox name module|es|El año del descubrimiento}}

To the infobox:

{{Infobox film
| name           = The Year of the Discovery
| native_name    = {{Infobox name module
| language = Spanish
| title = El año del descubrimiento
}}
| director       = Luis López Carrasco
| producer       = Pedro Palacios<br />Daniel M. Caneiro<br />Ricard Sales<br />Marta Lacima<br />Luis Ferrón<br />Luis López Carrasco<br />Javier Fernández
| writer         = Raúl Liarte<br />Luis López Carrasco
| starring       = 
| music          =  
| cinematography = Sara Gallego Grau 
| editing        = Sergio Jiménez Barranquero  
| studio         = 
| distributor    = 
| released       = {{Film date|df=y|2020|01|25|[[International Film Festival Rotterdam|IFFR]]|2020|11|13|Spain}}
| runtime        = 200 minutes
| country        = Spain<br />Switzerland
| language       = Spanish
| budget         = 
| gross          = 
}} 

Former parameters

This template formely used to support parameters for languages with multiple writing systems. The usage of these parameters is deprecated and is slated for removal soon. They are replaced from other templates which give more options for customization in addition to what this template used to support.

Chinese

Parameter Explanation
traditional The film's name in Traditional Chinese characters as used in Taiwan, Hong Kong, and Macau
simplified The film's name in Simplified Chinese characters as used in China, Malaysia, and Singapore
chinese The film's name in Chinese characters, use only when Simplified Chinese and Traditional Chinese are identical
pinyin The film's Mandarin Chinese name in the Pinyin romanization system
jyutping The film's Cantonese name in the Jyutping romanization system
poj The film's Taiwanese Hokkien name in the Pe̍h-ōe-jī romanization system
lbl8 Chinese dialect spoken in film if it's not Mandarin, Cantonese or Hokkien, e.g. Shanghainese, Suzhou dialect, Hakka, Hokkien, Taishanese
data8 The film's romanized name in the dialect of lbl8
translation The film's unofficially translated title (if very different from the official English title)

Japanese

Parameter Explanation
kanji Film's name as it appears in Japanese language sources, whether or not it includes Japanese kanji, hiragana, katakana, or a mix of the three with Latin text.
romaji The Hepburn romanization of the Japanese language title.
translation The film's unofficially translated title (if very different from the official English title)

Korean

Parameter Explanation
hangul The Korean title of the film in hangul. Leaving this field empty will add the page to Category:Articles needing Korean script or text.
hanja The Korean title of the film in hanja. If hanja is required for the article but unknown, use ! to add the page to Category:Wikipedia articles needing hanja.
rr The Revised Romanization of the Korean title. Do not use italics, as the infobox will automatically italicize any text in this parameter. Leaving this field empty will add the page to Category:Wikipedia articles needing romanized Korean.
mr The McCune–Reischauer of the Korean title. Do not use italics, as the infobox will automatically italicize any text in this parameter. Leaving this field empty will add the page to Category:Wikipedia articles needing romanized Korean.
context Context specification. Use context = north for North Korean films only.
translation The film's unofficially translated title (if very different from the official English title)

Vietnamese

Parameter Explanation
chuquocngu The Vietnamese alphabet of the Vietnamese language title.
han-nom The Hán-Nôm of the Vietnamese language title.
translation The film's unofficially translated title (if very different from the official English title)

Templatedata

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See the monthly parameter usage report for this template.

TemplateData for Infobox name module

Keine Beschreibung.

Vorlagenparameter

Diese Vorlage bevorzugt Blockformatierung von Parametern.

ParameterBeschreibungTypStatus
11

keine Beschreibung

Unbekanntoptional
22

keine Beschreibung

Unbekanntoptional
languagelanguage

keine Beschreibung

Unbekanntoptional
nolinknolink

keine Beschreibung

Unbekanntoptional
titletitle original

keine Beschreibung

Unbekanntoptional
translationtranslation

keine Beschreibung

Unbekanntoptional

Vorlage:Film- and television-related infobox templates