| Diese Seite enthält Informationen zur Verwendung für Vorlage:Abblink. |
Vorlage um Abkürzungen in Verbindungen zu mit dem Spiel spezifischen Übersicht-Seiten automatisch umzuwandeln.
Hilfsvorlage für Vorlage:Infobox.
Nutzung
{{abblink|link=link target|name=link name|abbreviations}}
By default, the template takes the parameters link, name and <unnamed 1> (which may contain up to 10 game abbreviations separated by ",") and creates a line with links to the respective page for each abbrevation, separated by "/". The last entry has name (or nothing if name has not been given) appended.
Parameter
Please note that if you do not specify any of the parameters, the template will return an empty string.
split by.
Siehe unten for detailed behaviour in combination with the other parameters.mode parameter will have any effect. The mode is only applied to the displayed string, and not to the link target.Verfügbare Optionen:
- default:
nameis only appended to the last displayed link. - fullnames:
nameis appended to every displayed link.
prefix) or end (suffix) of each "section". These are not part of the link itself and can be used e.g. to produce a list instead of the usual single line.
Note that spaces at the beginning or end of these strings need to be HTML encoded (& #032; without the space in between), and that you need to use {{!}} if you want to produce a |.<unnamed 1>.
Note that spaces at the beginning or end of the string need to be HTML encoded (& #032; without the space in between), and that you need to use {{!}} if you want to produce a |.<unnamed 1>, i.e. the character/string which separates the individual abbrevations.
Note that spaces at the beginning or end of the string need to be HTML encoded (& #032; without the space in between), and that using | is not recommended.Verhalten im Detail
- First letter of the result's displayed part will always be uppercase.
- Setting the first unnamed parameter to "none" results in only the translated version of "none" + "name" (if given) being shown without link.
- For readability, the table below assumes that
sephas not been specified and the default character/is being used.
| Parameters given | Result | |||
|---|---|---|---|---|
| link | name | unnamed (games) | single game | multiple games |
[[game link|''game'' name]]
|
[[game link|''game'']]/[[game link|''game'']]/[[game link|''game'' name]]
| |||
[[link|name]]
|
[[link|name]]
| |||
[[game link|''game'' link]]
|
[[game link|''game'']]/[[game link|''game'']]/[[game link|''game'']]
| |||
[[link|link]]
|
[[link|link]]
| |||
[[game|''game'' name]]
|
''[[game]]''/''[[game]]''/[[game|''game'' name]]
| |||
name
|
name/name/name
| |||
''[[game]]''
|
''[[game]]''/''[[game]]''/''[[game]]''
| |||
| (nothing/empty) | (nothing/empty) | |||
Beispiele
{{abblink|link=Waffen|name=Waffe|FO3}}
results in: Fallout 3 Waffe
{{abblink|link=Waffen|FO3}}
resultiert in: Fallout 3
{{abblink|name=Waffe|FO3}}
resultiert in: Fallout 3 Waffe
{{abblink|link=Waffen|name=Waffe|none}}
resultiert in: Erwähnt Waffe
{{abblink|link=Waffen|name=Waffe|abbmode=short|FOBOS}}
resultiert in: Fallout: BoS Waffe
{{abblink|link=Waffen|name=Waffe|sep=, |FO1,FO3}}
resultiert in: Fallout, Fallout 3 Waffe
Technisches
- Hilfsvorlage: {{Abb}}