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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 7: Строка 7:
 
<pre>{{trait icon|<trait name>}}</pre>
 
<pre>{{trait icon|<trait name>}}</pre>
  
Displays a link to the trait name (canonical name) and the trait tier icon. The tooltip of the icon displays the trait line and the tooltip of the link displays the article name.
+
Displays a link to the trait name (canonical name) and the trait icon. The tooltips display the article name.
  
 
=== Parameters ===
 
=== Parameters ===

Версия 10:05, 10 марта 2020


Description

{{trait icon|<trait name>}}

Displays a link to the trait name (canonical name) and the trait icon. The tooltips display the article name.

Parameters

unnamed parameter 1
Trait name. Defaults to "Trait".
unnamed parameter 2
Link text. Defaults to canonical name.
size
Size of icon to display, in px. Defaults to "25" px.

Examples

  • Persisting Flames Persisting Flames is produced from {{trait icon|Persisting Flames}}
  • Zephyr's Speed (ranger) Zephyr's Speed is produced from {{trait icon|Zephyr's Speed (ranger)}}
  • ZOOM! ZOOM! is produced from {{trait icon|Zephyr's Speed (ranger)|ZOOM!}}
  • Example Example is produced from {{trait icon|Nonexistent page|Example}}