قالب:SurnameList
محتويات
Summary
This template is a variation on {{LinkList}}, which produces a list of automatically linked names for each entry, but only displays the second name (everything after the first ' ' character).
Parameters
Parameter | Scope | Description |
---|---|---|
ns_base | optional | Namespace to use for links. |
sep | optional | Separator between items. (This parameter can be inherited in cases where there are numerous SurnameLists on a page.) |
hyphen | optional | Set this parameter to anything to split names on a - instead of a space. Used for lists of Orc names. |
(others) | optional | The text of each item to be linked. Can include a mix of plain text and links when name overriding is necessary. |
- Note: To group multiple words before the first space, use a '_' character instead of spaces to delineate the words before the break you want. If needed, you can also just enter the whole link in longhand to format it however you like.
Examples
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SurnameList|ns_base=Skyrim|Arniel Gane|Clinton Lylvieve|Delvin Mallory}}
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SurnameList|ns_base=Skyrim|Arniel Gane|Clinton Lylvieve|Aela the Huntress|sep= • }} or
Gane • Lylvieve • the Huntress
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SurnameList|ns_base=Skyrim|Arniel Gane|Legate_Emmanuel Admand|Aela the Huntress|sep=<br>}}
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SurnameList|ns_base=Skyrim|Balagog gro-Nolob|Batum gra-Bar|Skyrim:Gadba gro-Largash}}
gro-Nolob, gra-Bar, gro-Largash
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{SurnameList|ns_base=Skyrim|hyphen=y|Balagog gro-Nolob|Batum gra-Bar|Skyrim:Gadba gro-Largash}}
See Also
- {{FamilyList}}
- {{NameList}}