Modèle:Chinese script needed inline
{{#switch:
|¬= |SUBST=
}}{{#if:|{{#ifeq:{{{name}}}|Chinese script needed inline||{{#if:||}}}}}}{{#if:Chinese script needed
|[{{#if: |{{{pre-text}}} }}Chinese script needed{{#if: | {{{post-text}}} }}]|
}}
{{#ifeq:chinese script needed inline |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Chinese script needed inline. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Chinese script needed inline | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Sommaire
Usage
To request Chinese characters (Hanzi). Place this template just after the word or phrase that needs Hanzi in the text. This template will add a visual superscripted notice at the location where the Hanzi should appear. It will additionally categorize the page where this template is used into the cleanup category Category:Articles needing Chinese script or text dated subcategory.
Syntax
You may use the following format:
{{#if:{{#if:||yes}} |}}{{#if:yes |<code> |{{#if:|<code style="border:none;background:transparent;">}} }}{{#if: |}}{{#if: |}}{{#if: | |{{}}{{#if: |subst:}}{{#if: |}}{{#if:yes || {{#if: |{}}[[:{{#ifeq:C|: |Chinese script needed-inline |{{#switch:
| = Modèle:{{#if:Chinese script needed-inline|Chinese script needed-inline|Chinese script needed inline}}
| #default = {{#if:Chinese script needed-inline|Chinese script needed-inline|Modèle:Chinese script needed inline}}
}}}}|}}{{#if: |{}}{{#if:Chinese script needed-inline|Chinese script needed-inline|{{#ifeq:Modèle|Modèle|Chinese script needed inline|Modèle:Chinese script needed inline}}}}{{#if: |}}}{{#if:yes | |]]{{#if: |}}}}}{{#if: |}}{{#if: |}}{{#if: |}}{{#ifeq:¬|¬ | ||{{{2}}}}}{{#ifeq:¬|¬ | ||{{{3}}}}}{{#ifeq:¬|¬ | ||{{{4}}}}}{{#ifeq:¬|¬ | ||{{{5}}}}}{{#ifeq:¬|¬ | ||{{{6}}}}}{{#ifeq:¬|¬ | ||{{{7}}}}}{{#ifeq:¬|¬ | ||{{{8}}}}}{{#ifeq:¬|¬ | ||{{{9}}}}}{{#ifeq:¬|¬ | ||{{{10}}}}}{{#ifeq:¬|¬ | ||{{{11}}}}}{{#if: ||…}}{{#if: |}}{{#if: | |}}}}{{#if: |}}{{#if:yes |</code>}}{{#if:{{#if:||yes}} |}}
Parameters
-
date
— date this template was transcluded
Example
{{Chinese script needed-inline}} will display as:
{{#switch:{{subst:substcheck}}
|¬= |SUBST=
}}{{#if:|{{#ifeq:{{{name}}}|Chinese script needed inline||{{#if:||}}}}}}{{#if:Chinese script needed
|[{{#if: |{{{pre-text}}} }}Chinese script needed{{#if: | {{{post-text}}} }}]|
}}
See also
The above documentation is transcluded from Modèle:Chinese script needed inline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- Pages avec des erreurs de coloration syntaxique
- Templates needing substitution checking
- Pages with incorrectly substituted templates
- Templates including undated clean-up tags
- Documentation subpages without corresponding pages
- Article message templates
- Chinese language templates
- Inline cleanup templates
- Language maintenance templates
- Articles needing Chinese script or text