×
Einen neuen Artikel erstellen
Schreibe den Seitennamen hierhin:
Wir haben derzeit 9.351 Artikel auf VAULTPEDIA. Gib deinen Artikelnamen oberhalb von oder klicke auf einen der unten stehenden Titel und beginne zu schreiben! ein



    VAULTPEDIA
    9.351Artikel
    Version vom 1. Juli 2014, 11:28 Uhr von Alessio79 (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude>{{Dokumentationsseite}}</noinclude> Template for checking whether a string contains an abbreviation which can be converted by {{tl|abb}} (for the sp…“)
    (Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

    VAULTPEDIA.DE ist seit dem 02.02.2026 öffentlich zugänglich.

    Da es sich um ein frisch migriertes Wiki handelt, können vereinzelt noch Datenbank-, Seiten- oder Designfehler auftreten.

    Tritt unserem Discord bei, um Fehler zu melden oder direkt mit dem Team in Kontakt zu treten.

    Template for checking whether a string contains an abbreviation which can be converted by {{abb}} (for the specified mode). Returns "1" if that is the case and an empty string otherwise.

    Gebrauch

    {{abbvalid|abbreviations}}

    Parameter

    Erforderlich
    <unnamed 1>
    Potential game abbreviations which are passed to {{abb}} in order to see whether they return a valid result (text, icon name etc). Up to 10 abbreviations can be specified if separated by split by.
    Optional
    abbmode
    This is passed down directly to {{abb}} and can be used to check whether {{abb}} returns a valid result for a specific mode. Only valid input for that template's mode parameter will have any effect.
    Optional
    (Standard: ",")
    split by
    This is the character/string which is used as a delimiter for multiple abbrevations in <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.

    Beispiele

    Grundlegendes

    {{abbvalid|FO3}}

    returns "1" because "FO3" is a valid input for {{abb}}.

    {{abbvalid|ASDF}}

    returns "" (an empty string) because "ASDF" is not a valid input for {{abb}}.

    {{abbvalid|FO3, ASDF}}

    returns "1" because "FO3" is a valid input for {{abb}}.

    {{abbvalid|ASDF, ASDF2}}

    returns "" (an empty string) because neither "ASDF" nor "ASDF2" are not valid inputs for {{abb}}.

    {{abbvalid|FO3, FNV}}

    returns "1" because both "FO3" and "FNV" are valid inputs for {{abb}}.

    Prüfen für spezifische Modi

    {{abbvalid|NONE}}

    returns "1" because "NONE" is a valid input for {{abb}}.

    {{abbvalid|NONE|abbmode=icon}}

    returns "" (an empty string) because there is no icon associated with "NONE" in {{abb}}.