Difference between revisions of "Template:Efn native lang/doc"
Jump to navigation
Jump to search
imported>Geographyinitiative ("whenever possible" is authoritarianism--- "whenever appropriate" is what we want on Wikipedia) |
imported>Zyxw m (add category, add header for TemplateData, reorder sections) |
||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
{{lua|Module:Efn native lang}} | {{lua|Module:Efn native lang}} | ||
| + | |||
== Usage == | == Usage == | ||
| − | < | + | === Basic usage === |
| − | < | + | <pre>{{efn native lang|tw|name= |
| − | + | |t= | |
| − | }}</ | + | |p= |
| + | |m= | ||
| + | |s=}}</pre> | ||
| + | Insert a notes section if not already present. | ||
| + | <pre> | ||
| + | |||
| + | == Notes == | ||
| + | === Words in native languages === | ||
| + | {{notelist-ur}} | ||
| + | </pre> | ||
| + | |||
| + | == Example == | ||
| + | {{demo | ||
| + | |br = | ||
| + | |demo_kill_categories = | ||
| + | |<nowiki>Taiwan{{efn native lang|tw|name=word1 | ||
| + | |t=臺灣 | ||
| + | |p=Táiwān | ||
| + | |m=Tâi-uân | ||
| + | |s=Tǒi-vǎn | ||
| + | |h=Toi-van | ||
| + | |a=Taywan | ||
| + | |pw=Taiwan | ||
| + | }} | ||
| + | === Notes === | ||
| + | ==== Words in native languages ==== | ||
| + | {{notelist-ur}}</nowiki> | ||
| + | }} | ||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| + | "description": "This template creates a explanatory footnote for a word in the native languages of a country, currently only Taiwan. For consistency, use official romanisation schemes whenever appropriate.", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| Line 75: | Line 106: | ||
"pw", | "pw", | ||
"ma" | "ma" | ||
| − | ] | + | ] |
| − | |||
} | } | ||
</templatedata> | </templatedata> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | == See also == | ||
| + | * {{tl|efn-ur}} | ||
| + | * {{tl|notelist-ur}} | ||
| − | + | <includeonly>{{sandbox other|| | |
| − | + | <!-- Categories below this line, please; interwikis at Wikidata --> | |
| − | + | [[Category:Chinese multilingual support templates]] | |
| − | < | + | [[Category:Explanatory footnote templates]] |
| − | + | }}</includeonly> | |
| − | |||
| − | {{ | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 00:04, 5 March 2020
| 40px | This is a documentation subpage for Template:Efn native lang. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Contents
Usage
Basic usage
{{efn native lang|tw|name=
|t=
|p=
|m=
|s=}}
Insert a notes section if not already present.
== Notes ==
=== Words in native languages ===
{{notelist-ur}}
Example
Taiwan{{efn native lang|tw|name=word1
|t=臺灣
|p=Táiwān
|m=Tâi-uân
|s=Tǒi-vǎn
|h=Toi-van
|a=Taywan
|pw=Taiwan
}}
=== Notes ===
==== Words in native languages ====
{{notelist-ur}}
Taiwan[upper-roman 1]
Notes
Words in native languages
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Efn native lang
This template creates a explanatory footnote for a word in the native languages of a country, currently only Taiwan. For consistency, use official romanisation schemes whenever appropriate.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Country | 1 | ISO 3166-1 country code
| String | required |
| Name | name | Name of footnote, for repeated use
| String | optional |
| Traditional Chinese | t | Chinese script | String | optional |
| Pinyin | p | Mandarin Pinyin romanisation | String | optional |
| Minnan | m | Hokkien romanisation | String | optional |
| Sixian Hakka | s | Sixian Hakka romanisation | String | optional |
| Hailu Hakka | h | Hailu Hakka romanisation | String | optional |
| Amis | a | Amis language | String | optional |
| Paiwan | pw | Paiwan language | String | optional |
| Matsu dialect | ma | Matsu dialect romanisation | String | optional |
See also
- {{efn-ur}}
- {{notelist-ur}}
Cite error: <ref> tags exist for a group named "upper-roman", but no corresponding <references group="upper-roman"/> tag was found, or a closing </ref> is missing