Difference between revisions of "Template:Infobox Vietnamese/doc"

From blackwiki
Jump to navigation Jump to search
imported>梁棚元
imported>Blue844098
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
{{Infobox Vietnamese
 
{{Infobox Vietnamese
| chuquocngu = {{{chuquocngu}}}
+
|image    = <!-- image -->
| han-nom     = {{{han-nom}}}
+
|imgwidth = <!-- 200px            (Default is 220px) -->
 +
|caption  = <!-- image caption -->
 +
| qn    = {{{qn}}}
 +
| hn    = {{{hn}}}
 +
| altname= Alt
 +
| qn2    = {{{qn2}}}
 +
| hn2    = {{{hn2}}}
 +
| altname3= Alt
 +
| qn3    = {{{qn3}}}
 +
| hn3     = {{{hn3}}}
 
}}
 
}}
  
Line 7: Line 17:
  
 
== Usage ==
 
== Usage ==
All fields are optional; however, both of the <code>chuquocngu</code> and <code>han-tu</code> are required to display the infobox.
+
For the box to display, there must be values for both <code>qn</code> (alphabetic script),<code>lm</code> (literal meaning) and for <code>hn</code> (Han-Nom).
  
<pre style="width: 15em;">{{Infobox Vietnamese name
+
<pre style="overflow:auto;">{{Infobox Vietnamese
| chuquocngu =  
+
| title  =
| han-nom     =  
+
| image    = <!-- image -->
| english    =  
+
| imgwidth = <!-- 200px            (Default is 220px) -->
 +
| caption  = <!-- image caption -->
 +
| qn    =
 +
| hn    =
 +
| lm    =
 +
<!-- First alternative name -->
 +
| altname =
 +
| qn2    =
 +
| hn2    =
 +
| lm2    =
 +
<!-- Second alternative name -->
 +
| altname3 =
 +
| qn3     =  
 +
| hn3    =
 +
| lm3    =
 
}}</pre>
 
}}</pre>
 +
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Language infobox templates]]
 +
}}</includeonly>

Latest revision as of 22:44, 1 December 2019

Template:PAGENAMEBASE
Vietnamese alphabet{{{qn}}}
Hán-Nôm{{{hn}}}

This template is used to display an infobox of Vietnamese name(s).

Usage

For the box to display, there must be values for both qn (alphabetic script),lm (literal meaning) and for hn (Han-Nom).

{{Infobox Vietnamese
| title  =
| image    = <!-- image -->
| imgwidth = <!-- 200px            (Default is 220px) -->
| caption  = <!-- image caption -->
| qn     = 
| hn     =
| lm     =
<!-- First alternative name -->
| altname =
| qn2     = 
| hn2     =
| lm2     =
<!-- Second alternative name -->
| altname3 =
| qn3     = 
| hn3     =
| lm3     =
}}