Vorlage:Infobox name module/Doku: Unterschied zwischen den Versionen
Vorlage:Infobox name module/Doku (Quelltext anzeigen)
Version vom 6. Februar 2023, 08:08 Uhr
, vor 1 Jahrseparate out and mark parameters that are about to be removed per TFD, point to their replacements
(replaced chinese example with Spanish since the usage of this template for Chinese is deprecated and will be removed soon) |
(separate out and mark parameters that are about to be removed per TFD, point to their replacements) |
||
Zeile 11: | Zeile 11: | ||
[[:Category:Infobox name module using deprecated parameters]] tracks usage of this template with deprecated parameters. The usage of this template with any parameters other than {{para|1}}, {{para|2}}, {{para|language}}, {{para|nolink}}, {{para|title}} and {{para|original}} is deprecated. | [[:Category:Infobox name module using deprecated parameters]] tracks usage of this template with deprecated parameters. The usage of this template with any parameters other than {{para|1}}, {{para|2}}, {{para|language}}, {{para|nolink}}, {{para|title}} and {{para|original}} is deprecated. | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox name module | {{Infobox name module | ||
Zeile 17: | Zeile 16: | ||
| title = | | title = | ||
| nolink = | | nolink = | ||
}}</pre> | }}</pre> | ||
Zeile 77: | Zeile 21: | ||
All parameters are optional. | All parameters are optional. | ||
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. | 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%;" | ||
Zeile 91: | Zeile 34: | ||
| nolink || Set to "1" to deactivate the automatic linking of the language | | 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> | |||
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/Chinese}} | |||
{| class="wikitable" style="width:100%;" | {| class="wikitable" style="width:100%;" | ||
! style="width:5em;" | Parameter | ! style="width:5em;" | Parameter | ||
Zeile 118: | Zeile 123: | ||
===Japanese=== | ===Japanese=== | ||
* Replaced by {{tl|Infobox Chinese/Japanese}} | |||
{| class="wikitable" style="width:100%;" | {| class="wikitable" style="width:100%;" | ||
! style="width:5em;" | Parameter | ! style="width:5em;" | Parameter | ||
Zeile 131: | Zeile 136: | ||
===Korean=== | ===Korean=== | ||
* Replaced by {{tl|Infobox Chinese/Korean}} | |||
{| class="wikitable" style="width:100%;" | {| class="wikitable" style="width:100%;" | ||
! style="width:5em;" | Parameter | ! style="width:5em;" | Parameter | ||
Zeile 156: | Zeile 161: | ||
===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 170: | Zeile 175: | ||
| The film's unofficially translated title (if very different from the official English title) | | The film's unofficially translated title (if very different from the official English title) | ||
|} | |} | ||
==Templatedata== | ==Templatedata== |