Vorlage:Random Event: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 22: | Zeile 22: | ||
</noinclude><includeonly>{{#cargo_store:_table=random_event|name={{{name|}}}|requirements={{{requirements|}}}|description={{{description|}}}|choice1={{{choice1|}}}|choice2={{{choice2|}}}|choice3={{{choice3|}}}|choice4={{{choice4|}}}|result1={{{result1|}}}|result2={{{result2|}}}|result3={{{result3|}}}|result4={{{result4|}}}|tags={{{tags|}}} }} | </noinclude><includeonly>{{#cargo_store:_table=random_event|name={{{name|}}}|requirements={{{requirements|}}}|description={{{description|}}}|choice1={{{choice1|}}}|choice2={{{choice2|}}}|choice3={{{choice3|}}}|choice4={{{choice4|}}}|result1={{{result1|}}}|result2={{{result2|}}}|result3={{{result3|}}}|result4={{{result4|}}}|tags={{{tags|}}} }} | ||
=={{{name|}}}== | =={{{name|}}}== | ||
| − | {{#if:{{{requirements|}}}| | + | {{#if:{{{requirements|}}}|'''Voraussetzungen:''' {{{requirements|}}} }}<nowiki /> |
| − | '''Voraussetzungen:''' {{{requirements|}}} | + | {{#if:{{{tags|}}}|'''Tags:''' {{#arraymap:{{{tags|}}}|,|x|[[x]]}} }}}</nowiki /> |
| − | }}<nowiki /> | ||
<div style="border: 1px solid #777;padding: 0.5rem;position: relative;"><span style="position: absolute;top: -0.5rem;left: 1rem;font-size: 0.8rem;line-height: 1rem;background: white;padding: 0 0.5rem;font-weight: bold;">Beschreibung</span>{{{description|}}}</div> | <div style="border: 1px solid #777;padding: 0.5rem;position: relative;"><span style="position: absolute;top: -0.5rem;left: 1rem;font-size: 0.8rem;line-height: 1rem;background: white;padding: 0 0.5rem;font-weight: bold;">Beschreibung</span>{{{description|}}}</div> | ||
| − | + | <dl> | |
| − | + | <dt>{{{choice1|}}}</dt><dd>{{{result1|}}}</dd> | |
| − | + | <dt>{{{choice2|}}}</dt><dd>{{{result2|}}}</dd> | |
| − | + | <dt>{{{choice3|}}}</dt><dd>{{{result3|}}}</dd> | |
| − | + | <dt>{{{choice4|}}}</dt><dd>{{{result4|}}}</dd> | |
| − | + | </dl> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Kategorie:Random Event]] | [[Kategorie:Random Event]] | ||
</includeonly> | </includeonly> | ||
Version vom 15. Mai 2020, 18:58 Uhr
Dies ist die Vorlage „Random Event“. Sie sollte im folgenden Format genutzt werden:
{{Random Event
|name=
|requirements=
|description=
|choice1=
|choice2=
|choice3=
|choice4=
|result1=
|result2=
|result3=
|result4=
|tags=
}}
Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen. Diese Vorlage definiert die Tabelle „random_event“. Tabelle ansehen.