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

From blackwiki
Jump to navigation Jump to search
imported>Jacklee
m (Minor rephrasing)
imported>Jacklee
m (→‎Usage: Minor update to template documentation)
Line 2: Line 2:
  
 
<!--To amend this documentation, please make changes only below this comment.-->
 
<!--To amend this documentation, please make changes only below this comment.-->
 +
==Syntax==
 +
<pre>
 +
{{Malay name|[given name]|[patronymic]}}
 +
</pre>
 +
 
==Usage==
 
==Usage==
 
This template is 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. There are two versions of the template:
 
This template is 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. There are two versions of the template:
Line 20: Line 25:
 
|}
 
|}
  
 +
==Example==
 
Each template should be used as follows:
 
Each template should be used as follows:
  
:<nowiki>{{</nowiki>Malay name|''(given name)''|''(patronymic)''}}
+
:<nowiki>{{</nowiki>Malay name|''[given name]''|''[patronymic]''}}
  
 
For instance, if the subject of the biographical article is named "[[Zubir Said]]" or "Zubir bin Said", the template should be set out like this:
 
For instance, if the subject of the biographical article is named "[[Zubir Said]]" or "Zubir bin Said", the template should be set out like this:
Line 28: Line 34:
 
:<nowiki>{{</nowiki>Malay name|Zubir|Said}}
 
:<nowiki>{{</nowiki>Malay name|Zubir|Said}}
  
The results are as follows:
+
The result is as follows:
  
 
{{Malay name|Zubir|Said}}
 
{{Malay name|Zubir|Said}}

Revision as of 09:20, 20 September 2007


Syntax

{{Malay name|[given name]|[patronymic]}}

Usage

This template is 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. There are two versions of the template:

Template Description
{{Malay name}} This is the standard notice, which explains what is mentioned in the paragraph above.
{{Malay name2}} In addition to the standard notice, this template explains the meanings of the Malay words bin (often abbreviated "b.") and binte ("bte.").

Example

Each template should be used as follows:

{{Malay name|[given name]|[patronymic]}}

For instance, if the subject of the biographical article is named "Zubir Said" or "Zubir bin Said", the template should be set out like this:

{{Malay name|Zubir|Said}}

The result is as follows: