Difference between revisions of "Template:Malay name/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
Line 15: Line 15:
 
!width=20%|Parameter
 
!width=20%|Parameter
 
!width=80%|Description
 
!width=80%|Description
|- valign=top
+
|- style="vertical-align:top;"
|align=center|[''given name'']
+
| style="text-align:center;" |[''given name'']
 
|Replace this term with the person's given or personal name(s).
 
|Replace this term with the person's given or personal name(s).
|- valign=top
+
|- style="vertical-align:top;"
|align=center|[''patronymic'']
+
| style="text-align:center;" |[''patronymic'']
 
|Replace this term with the person's patronymic, or father's name.
 
|Replace this term with the person's patronymic, or father's name.
|- valign=top
+
|- style="vertical-align:top;"
|align=center|note
+
| style="text-align:center;" |note
 
|'''Optional''': if "note=on", the following explanatory note is displayed: "The Arabic word ''bin'' (''b.'') or ''binti''/''binte'' (''bt.''/''bte.''), if used, means 'son of' or 'daughter of' respectively." These abbreviations are often used by [[Malay people|Malays]] in [[Malaysia]] and [[Singapore]]. If "note=off" or the "note" parameter is omitted, the explanatory note is not displayed.
 
|'''Optional''': if "note=on", the following explanatory note is displayed: "The Arabic word ''bin'' (''b.'') or ''binti''/''binte'' (''bt.''/''bte.''), if used, means 'son of' or 'daughter of' respectively." These abbreviations are often used by [[Malay people|Malays]] in [[Malaysia]] and [[Singapore]]. If "note=off" or the "note" parameter is omitted, the explanatory note is not displayed.
 
|}
 
|}
Line 31: Line 31:
 
!width=40%|Wikitext
 
!width=40%|Wikitext
 
!width=60%|Result
 
!width=60%|Result
|- valign=top
+
|- style="vertical-align:top;"
|align=center|<tt><nowiki>{{Malay name|Zubir|Said}}</nowiki></tt>
+
| style="text-align:center;" |<tt><nowiki>{{Malay name|Zubir|Said}}</nowiki></tt>
 
|{{Malay name|Zubir|Said}}
 
|{{Malay name|Zubir|Said}}
|- valign=top
+
|- style="vertical-align:top;"
|align=center|<tt><nowiki>{{Malay name|Mohammad Said|Yusof|note=on}}</nowiki></tt>
+
| style="text-align:center;" |<tt><nowiki>{{Malay name|Mohammad Said|Yusof|note=on}}</nowiki></tt>
 
|{{Malay name|Mohammad Said|Yusof|note=on}}
 
|{{Malay name|Mohammad Said|Yusof|note=on}}
 
|}
 
|}

Revision as of 22:23, 16 November 2014

Syntax

{{Malay name|[given name]|[patronymic]|note=on (optional)}}

Usage

This template is a hatnote that can be put at the top of a biographical article to explain to readers that the second element of a Malay name is not the family name but a patronymic, that is, the given name of his or her father. The parameters that the template takes are listed below:

Parameter Description
[given name] Replace this term with the person's given or personal name(s).
[patronymic] Replace this term with the person's patronymic, or father's name.
note Optional: if "note=on", the following explanatory note is displayed: "The Arabic word bin (b.) or binti/binte (bt./bte.), if used, means 'son of' or 'daughter of' respectively." These abbreviations are often used by Malays in Malaysia and Singapore. If "note=off" or the "note" parameter is omitted, the explanatory note is not displayed.

Example

Wikitext Result
{{Malay name|Zubir|Said}}
{{Malay name|Mohammad Said|Yusof|note=on}}