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

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Zulfadli51
(adding templatedata parameters)
Line 43: Line 43:
 
[[Category:Hatnote templates for names]]
 
[[Category:Hatnote templates for names]]
 
</includeonly>
 
</includeonly>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Given name"
 +
},
 +
"2": {
 +
"label": "Patronymic"
 +
},
 +
"note": {
 +
"label": "Note",
 +
"example": "'off' or 'on'"
 +
}
 +
}
 +
}
 +
</templatedata>

Revision as of 09:56, 18 January 2018

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}}


No description.

Template parameters

ParameterDescriptionTypeStatus
Given name1

no description

Unknownoptional
Patronymic2

no description

Unknownoptional
Notenote

no description

Example
'off' or 'on'
Unknownoptional