Template:efn Spanish name/doc
This is a documentation subpage for Template:Efn Spanish name. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeThis template may be put near the top of a biographical article, after the first bolded mention of the subject's name, to create a note to explain to readers unfamiliar with Spanish names which part of a name is the family name. If there are two family names, these can both be stated.
This template can only be used on articles that include {{notelist}}
or, if |reftype=
is used, another footnote template.
Syntax
change- One surname
{{efn Spanish name|paternal family name}}
{{efn Spanish name|first=paternal family name}}
- Two surnames
{{efn Spanish name|paternal family name|maternal family name}}
{{efn Spanish name|first=paternal family name|second=maternal family name}}
- One surname, non-default reftype
{{efn Spanish name|paternal family name|reftype=template}}
{{efn Spanish name|first=paternal family name|reftype=template}}
- Two surnames, non-default reftype
{{efn Spanish name|paternal family name|maternal family name|reftype=template}}
{{efn Spanish name|first=paternal family name|second=maternal family name|reftype=template}}
Examples
changeWikitext | Result |
---|---|
'''Juan Pablo Montoya'''{{efn Spanish name|Montoya}} {{notelist}} |
Juan Pablo Montoya[a]
|
'''Juan Pablo Montoya Roldán'''{{efn Spanish name|Montoya|Roldán}} {{notelist}} |
Juan Pablo Montoya Roldán[a]
|
'''Juan Pablo Montoya'''{{efn Spanish name|first=Montoya|reftype=efn-lr}} {{notelist-lr}} |
Juan Pablo Montoya[lower-roman 1]
|
'''Juan Pablo Montoya Roldán'''{{efn Spanish name|first=Montoya|second=Roldán|reftype=NoteTag}} {{NoteFoot}} |
Juan Pablo Montoya Roldán[note 1]
|
TemplateData
changeTemplateData for Efn Spanish name
This template may be put near the top of a biographical article, after the first bolded mention of the subject's name, to create a note to explain to readers unfamiliar with Spanish names which part of a name is the family name. If there are two family names, these can both be stated.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First family name | 1 first | The person's first or paternal family name (surname)
| Line | required |
Second family name | 2 second | The person's second or maternal family name (surname)
| Line | suggested |
Reference group type | reftype | Name of footnote template to use, such as efn, efn-lr, or NoteTag.
| Line | optional |
Template use by reference group type
changeGroup type | Footnote template | List template | Sample labels |
---|---|---|---|
lower-alpha | {{efn}} {{efn-la}} |
{{notelist}} {{notelist-la}} |
a b c d e f g h i j |
upper-alpha | {{efn-ua}} |
{{notelist-ua}} |
A B C D E F G H I J |
lower-roman | {{efn-lr}} |
{{notelist-lr}} |
i ii iii iv v vi vii viii ix x |
upper-roman | {{efn-ur}} |
{{notelist-ur}} |
I II III IV V VI VII VIII IX X |
lower-greek[a] | {{efn-lg}} |
{{notelist-lg}} |
α β γ δ ε ζ η θ ι κ |
Note | {{NoteTag}} |
{{NoteFoot}} |
note 1 note 2 note 3 |
- ↑ Not supported by Internet Explorer 7 and below
Related templates
change- {{Spanish name}}, which may be used as a hatnote