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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
<includeonly>{{#if: {{NAMESPACE}} {{#pos: {{#show: {{PAGENAME}} | ?Category | link = none }} | Historical achievements}} {{#pos: {{FULLPAGENAME}} | Daily }}
 
<includeonly>{{#if: {{NAMESPACE}} {{#pos: {{#show: {{PAGENAME}} | ?Category | link = none }} | Historical achievements}} {{#pos: {{FULLPAGENAME}} | Daily }}
 
  | <!-- historical, dailies, or not in main namespace: don't show the account achievements widget --><div></div>
 
  | <!-- historical, dailies, or not in main namespace: don't show the account achievements widget --><div></div>
  | <!-- current: show the account achievement widget --><div id="achievementcontrol"></div>{{Account achievements widget}}
+
  | <!-- current: show the account achievement widget --><div id="achievementcontrol"></div><!--{{Account achievements widget}}-->
 
}}
 
}}
 
{| {{STDT|mech1}} style="display:table;"
 
{| {{STDT|mech1}} style="display:table;"

Версия 13:09, 21 февраля 2021

Usage

{{achievement table header}}
{{achievement table header
| icon = 
| title = 
| group = 
}}

Parameters

Note that all parameters are already specified in the {{Achievement category infobox}} and passed over to this template.
icon
Optional. The icon for the achievement category. Defaults to File:{{PAGENAME}}.png.
title
Optional. The header title. Defaults to {{PAGENAME}}, without the (achievements) suffix.
group
Optional. Displays next to the header title in smaller font.

Example

{{Achievement table header
| icon = Bazaar of the Four Winds.png
| title = Bazaar of the Four Winds
| group = Historical
}}
{{Achievement table row
| name = Bazaar Ambassador
| description = Complete 16 Bazaar of the Four Winds Achievements.
| rewards = Gift of Quartz
| meta = self
| tiers = Bazaar Achievements: 16;50
}}
|}
Bazaar of the Four Winds.png
Bazaar of the Four Winds (Historical)
Total achievements: 1 50 Очко достижений