Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Abbcontains. |
Template to check whether any member of a set of game abbrevations (used by e.g. {{Abb}} is part of another set of abbreviations. Returns "1" if that is the case and an empty string otherwise.
Hilfs-Vorlage für Vorlage:Infobox.
Benutzung
{{abbcontains|set of abbrevations|abbrevation(s) to check for}}
Parameter
<unnamed 1>
The set of abbreviations of which you would like to know whether it contains the abbreviation(s) specified in
<unnamed 2>.
There is no limit to the number of abbreviations in <unnamed 1>.<unnamed 2>
The abbreviation(s) of which you would like to know whether it/they are contained in
<unnamed 1>.
Up to 10 abbreviations can be specified.(Standard: ",")
sep1The character or string with which abbreviations are separated in
<unnamed 1>.(Standard: ",")
sep2The character or string with which abbreviations are separated in
<unnamed 1>.Beipiele
Einfach
{{abbcontains|FO1, FO2, FO3|FO3}}
returns "1" because FO3 is among the abbreviations in the first set.
{{abbcontains|FO1, FO2, FO3|FNV}}
returns "" (an empty string) because FNV is not among the abbreviations in the first set.
Checking for multiple abbrevations
{{abbcontains|FO1, FO2, FO3|FO2, FO3}}
returns "1" because both FO2 and FO3 are among the abbreviations in the first set.
{{abbcontains|FO1, FO2, FO3|FO3, FOT}}
returns "1" because FO3 is among the abbreviations in the first set.
{{abbcontains|FO1, FO2, FO3|FOT, FOBOS}}
returns "" (an empty string) because neither "FOT" nor "FOBOS" are among the abbreviations in the first set.
Non-standard separators
{{abbcontains|FO1-FO2-FO3|FO3;FNV|sep1=-|sep2=;}}
returns "1".