Шаблон:Event — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
|||
Строка 10: | Строка 10: | ||
|userparam={{{2|}}} | |userparam={{{2|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
+ | == Description == | ||
+ | Generates an event line with the indicator, whether it's a group event, the name of the event, and the level of the event. {{tl|Event result format}} is used to format the results. | ||
+ | |||
== Usage == | == Usage == | ||
− | + | <pre>{{event|<name>}}</pre> | |
− | <pre> | + | |
− | {{event|<name>}} | + | === Parameters === |
− | </pre> | + | ;1 ''(Unnamed parameter)'' |
+ | : Required. Name of the [[Dynamic event|event]]. | ||
+ | ;2 ''(Unnamed parameter)'' | ||
+ | : Optional. Override for the event name. | ||
− | == | + | === Examples === |
− | ; | + | ;Standard event |
− | : | + | <pre>: {{event|Rescue sylvari trapped in webs}}</pre> |
+ | : {{event|Rescue sylvari trapped in webs}} | ||
− | + | ;Group event | |
− | ; | + | <pre>: {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}</pre> |
− | <pre>{{event| | + | : {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}} |
− | {{event| | ||
− | ; | + | ;Page name has qualifier |
− | <pre>{{event| | + | <pre>: {{event|Kill the Risen broodmother (Malchor's Leap)}}</pre> |
− | {{event| | + | : {{event|Kill the Risen broodmother (Malchor's Leap)}} |
− | ; | + | ;Meta event |
− | <pre>{{event| | + | <pre>: {{event|Battle in the Vault}}</pre> |
− | {{event| | + | : {{event|Battle in the Vault}} |
− | |||
− | |||
− | |||
[[Category:Event templates]] | [[Category:Event templates]] | ||
</noinclude> | </noinclude> |
Текущая версия на 12:05, 11 августа 2021
Содержание
Description[править]
Generates an event line with the indicator, whether it's a group event, the name of the event, and the level of the event. {{Event result format}} is used to format the results.
Usage[править]
{{event|<name>}}
Parameters[править]
- 1 (Unnamed parameter)
- Required. Name of the event.
- 2 (Unnamed parameter)
- Optional. Override for the event name.
Examples[править]
- Standard event
: {{event|Rescue sylvari trapped in webs}}
- Group event
: {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}
- Page name has qualifier
: {{event|Kill the Risen broodmother (Malchor's Leap)}}
- Meta event
: {{event|Battle in the Vault}}