Predefinição:SurnameList
Summary
This template is a variation on {{LinkList}}, which produces a list of linked names using the {{Autolink}} template for each entry, but only displays the second name (the first word after the first ' ' character). See also {{NameList}}.
Parameters
SurnameList | ||
---|---|---|
Parâmetero | Escopo | Descrição |
ns_base |
optional | Namespace to use for links. |
sep |
optional | Separator between items. (This parameter can be inherited in cases where there are numerous LinkLists 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. To group multiple words in the display text, either use a   or instead of spaces, or 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|[[Skyrim:Aela the Huntress|the Huntress]]|sep= • }}
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}}