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



    Vaultpedia
    9.055Artikel

    Vorlage:Interaktionen alt/doc: Unterschied zwischen den Versionen

    Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
    Bloodbearer (Diskussion | Beiträge)
    Die Seite wurde neu angelegt: „{{WIP}} <noinclude>{{Documentationpage}}</noinclude> Meta-template for constructing standardized tables with possible NPC interactions. Supports 3 columns with u…“
     
    Bloodbearer (Diskussion | Beiträge)
    Zeile 58: Zeile 58:
    ==Example==
    ==Example==
    <pre>
    <pre>
    {{Interactions
    {{Interaktionen
    |labelA    =Label of first column
    |labelA    =Label of first column
    |labelB    =Label of second column
    |labelB    =Label of second column
    Zeile 76: Zeile 76:
    results in:
    results in:


    {{Interactions
    {{Interaktionen
    |labelA    =Label of first column
    |labelA    =Label of first column
    |labelB    =Label of second column
    |labelB    =Label of second column
    Zeile 93: Zeile 93:
    With the specified parameters filled in:
    With the specified parameters filled in:


    {{Interactions
    {{Interaktionen
    |labelA    =Label of first column
    |labelA    =Label of first column
    |labelB    =Label of second column
    |labelB    =Label of second column

    Version vom 30. August 2010, 16:28 Uhr


    Meta-template for constructing standardized tables with possible NPC interactions. Supports 3 columns with up to 5 interactions each. Every interaction can have up to 3 sub-points.

    Usage

    {{Interactions
    |labelA    =Label of first column
    |labelB    =Label of second column
    |labelC    =Label of third column
    |textA1    =Essential
    |inputA1   ={{{essential|}}}
    |textB1    =Merchant
    |textB1-1  =Sells {{{wares|}}}
    |typeB1-1  =phrase
    |inputB1-1 ={{{wares|}}}
    |textC1    =Starts quests:
    |typeC1-1  =plain
    |inputC1-1 ={{{quests started|}}}
    }}
    

    The template creates a table with 3 columns. Into each column (A, B, C) up to 5 interactions can be inserted which will display a symbol for "yes" or "no" depending on user input. The displayed icon can either be set directly or by specifying sub-items; if one (or more) of the sub-items contain a positive value, the icon will change to yes. If an interaction has sub-items, the displayed symbol can only be changed via the sub-items.

    While the main interactions can only be set to "yes" or "no", sub-items can be of varying types. They always display text; either text entered by the user, text specified in the template or a mixture of both (for details, see the section about type parameters below).

    Parameters

    Erforderlich
    (Standard: none)
    labelA, labelB, labelC
    Column headlines.
    Teilweise oder zumindest einmal erforderlich
    (Standard: none)
    textA1 - textA5, textB1 - textB5, textC1 - textC5
    Displayed text/labels for main interaction items.
    Optional
    (Standard: none)
    textA1-1 - textA1-3, textA2-1 - textA2-3, textA3-1 - textA3-3, ...
    Displayed text/labels for sub-items of the respective main interaction items. For example, textA1-1 is the displayed text for the first sub-item of interaction A1, textA1-2 the text for the second sub-item etc. In which manner the text is displayed depends on the corresponding type parameter; see below.
    Optional
    (Standard: "binary")
    typeA1-1 - typeA1-3, typeA2-1 - typeA2-3, typeA3-1 - typeA3-3, ...
    Determines valid inputs and displayed layout for the respective sub-item. type parameters are only available for sub-items; main interaction items with no sub-items are always of the "binary" type.

    Possible choices are:

    • binary: Creates "yes"/"no"-type field. The text (see text above) is displayed if "yes" is entered.
    • phrase: Displays user input in the middle of a preset phrase. If this option is used, text contains the phrase in question and must contain the respective input parameter in the place where the user input should appear.
    • plain: Displays user input without any additional formatting. The corresponding text parameter has no effect and is not displayed.
    For all types entering "no", "none", "-" or nothing will result in the sub-item not being displayed.
    Teilweise oder zumindest einmal erforderlich
    (Standard: none)
    inputA1 - inputA5, inputA1-1 - inputA5-3, ...
    The parameters users should fill out in articles. For each interaction item there needs to be a corresponding input parameter; the only exception are main items with sub-items as their output depends on what the users enter for the sub-items. Expected input depends on corresponding type parameter; see above.

    Example

    {{Interaktionen
    |labelA    =Label of first column
    |labelB    =Label of second column
    |labelC    =Label of third column
    |textA1    =Essential
    |inputA1   ={{{essential|}}}
    |textB1    =Merchant
    |textB1-1  =Sells {{{wares|}}}
    |typeB1-1  =phrase
    |inputB1-1 ={{{wares|}}}
    |textC1    =Starts quests:
    |typeC1-1  =plain
    |inputC1-1 ={{{quests started|}}}
    }}
    

    results in:

    Interaktionen
    Dieser Charakter hat keine besonderen Interaktionen.

    With the specified parameters filled in:

    Interaktionen
    Dieser Charakter hat keine besonderen Interaktionen.

    Technical