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

add more about deprecation, rm color param of Infobox Korean name which is no longer supported
(→‎Japanese: add note about deprecation)
(add more about deprecation, rm color param of Infobox Korean name which is no longer supported)
Zeile 7: Zeile 7:
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, 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, or by using the dedicated parameters for Chinese, Korean, Japanese and Vietnamese films.


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.  
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.
 
[[: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.


===General===
===General===
Zeile 33: Zeile 35:
===Japanese===
===Japanese===
'''{{red|Note:}}''' The usage of {{tl|Infobox name module}} for Japanese is deprecated, use {{tl|Infobox Japanese}} instead.
'''{{red|Note:}}''' The usage of {{tl|Infobox name module}} for Japanese is deprecated, use {{tl|Infobox Japanese}} instead.
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox name module
{{Infobox name module
Zeile 41: Zeile 44:


===Korean===
===Korean===
'''{{red|Note:}}''' The usage of {{tl|Infobox name module}} for Korean is deprecated, use {{tl|Infobox Korean name}} with <code>module</code> parameter instead.
<pre style="overflow:auto;">
{{Infobox Korean name|child=yes
| hangul    =
| hanja      =
| rr        =
| mr        =
| context    =
}}</pre>
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox name module
{{Infobox name module
Zeile 49: Zeile 63:
| context        =  
| context        =  
| translation    =
| 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):
<pre style="overflow:auto;">
{{Infobox Korean name|child=yes|color=transparent
| hangul    =
| hanja      =
| rr        =
| mr        =
| context    =
}}</pre>
}}</pre>