Шаблон:Event — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
 
Строка 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 ==
Generates an event line with the indicator, whether it's a group event, the name of the event, and the level of the event. [[Template:Event result format]] is used to format the results.
+
<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.
  
== Parameters ==
+
=== Examples ===
;Unnamed parameter 1
+
;Standard event
:Name of the [[Dynamic event|event]]
+
<pre>: {{event|Rescue sylvari trapped in webs}}</pre>
 +
: {{event|Rescue sylvari trapped in webs}}
  
== Examples ==
+
;Group event
; Standard event
+
<pre>: {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}</pre>
<pre>{{event|Rescue sylvari trapped in webs}}</pre>
+
: {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}
{{event|Rescue sylvari trapped in webs}}
 
  
; Group event
+
;Page name has qualifier
<pre>{{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}</pre>
+
<pre>: {{event|Kill the Risen broodmother (Malchor's Leap)}}</pre>
{{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}
+
: {{event|Kill the Risen broodmother (Malchor's Leap)}}
  
; Page name has qualifier
+
;Meta event
<pre>{{event|Kill the Risen broodmother (Malchor's Leap)}}</pre>
+
<pre>: {{event|Battle in the Vault}}</pre>
{{event|Kill the Risen broodmother (Malchor's Leap)}}
+
: {{event|Battle in the Vault}}
  
; Meta event
 
<pre>{{event|Battle in the Vault}}</pre>
 
{{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}}
Rescue sylvari trapped in webs
Group event
: {{event|Defeat the plains wurm before Karris Quickcalm must return to Butcher's Block}}
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)}}
Kill the Risen broodmother (Malchor's Leap)
Meta event
: {{event|Battle in the Vault}}
Battle in the Vault