Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
<noinclude>{{Documentationpage}}</noinclude> | <noinclude>{{Documentationpage}}</noinclude> | ||
Meta- | Meta-Vorlage zur Konstruktion standardisierter Tabellen mit möglichen NPC Interaktionen. Unterstützt 3 Spalten mit bis zu 5 Interaktionen pro Spalte. Jede Interaktion kann bis zu 3 Unterpunkte haben. | ||
== | ==Verwendung== | ||
<pre> | <pre> | ||
{{ | {{Interaktionen | ||
|labelA = | |labelA =Überschrift der ersten Spalte | ||
|labelB = | |labelB =Überschrift der zweiten Spalte | ||
|labelC = | |labelC =Überschrift der dritten Spalte | ||
|textA1 = | |textA1 =unsterblich | ||
|inputA1 ={{{ | |inputA1 ={{{unsterblich|}}} | ||
|textB1 =Merchant | |textB1 =Merchant | ||
|textB1-1 =Sells {{{wares|}}} | |textB1-1 =Sells {{{wares|}}} | ||
Version vom 31. August 2010, 04:52 Uhr
| Das heißt dieser Artikel wird derzeit komplett über- oder bearbeitet und jegliche Änderungen an diesem Artikel könnten eventuell widerrufen werden. Bitte warte daher mit Änderungen, bis dieser Hinweis nicht mehr erscheint, um einen möglichen Bearbeitungskonflikt zu vermeiden! Weitere Infos findest du gegebenenfalls auf der jeweiligen Diskussionsseite des Artikels! -Übersicht & Informationen |
|---|
Ich übersetze den Artikel zurzeit. Bitte unter keinen Umständen bearbeiten! {{Bloodbearer 16:39, 30. Aug. 2010 (UTC)}}
| Diese Seite enthält Informationen zur Verwendung für Vorlage:Interaktionen alt. |
Meta-Vorlage zur Konstruktion standardisierter Tabellen mit möglichen NPC Interaktionen. Unterstützt 3 Spalten mit bis zu 5 Interaktionen pro Spalte. Jede Interaktion kann bis zu 3 Unterpunkte haben.
Verwendung
{{Interaktionen
|labelA =Überschrift der ersten Spalte
|labelB =Überschrift der zweiten Spalte
|labelC =Überschrift der dritten Spalte
|textA1 =unsterblich
|inputA1 ={{{unsterblich|}}}
|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
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.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
textabove) is displayed if "yes" is entered. - phrase: Displays user input in the middle of a preset phrase. If this option is used,
textcontains the phrase in question and must contain the respectiveinputparameter in the place where the user input should appear. - plain: Displays user input without any additional formatting. The corresponding
textparameter has no effect and is not displayed.
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
- Auxiliary template: {{Interaktionen alt/aux}}
