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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Новая страница: «<includeonly>{{infobox status|{{{status|}}} }}{{#ifeq: {{{type}}} | Core | [[File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}]]}}<!-- Set semantic properties -->{…»)
 
Строка 2: Строка 2:
 
Set semantic properties
 
Set semantic properties
 
-->{{#set:
 
-->{{#set:
<!-- | Has game context=Specialization-->
+
| Has context=Specialization
 
  | Has canonical name={{{name|{{#titleparts:{{PAGENAME}}}}}}}
 
  | Has canonical name={{{name|{{#titleparts:{{PAGENAME}}}}}}}
 
  | Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}
 
  | Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}
Строка 14: Строка 14:
 
  | <!-- Do not categorize --> |
 
  | <!-- Do not categorize --> |
 
{{#if: {{{profession|}}}
 
{{#if: {{{profession|}}}
  | [[Category:{{{profession}}} traits]]
+
  | [[Category:{{{profession}}} specializations]]
 
}}
 
}}
 
{{#switch: {{{type}}}
 
{{#switch: {{{type}}}
  | Core = [[Category:{{{name|{{PAGENAME}}}}} traits]]
+
  | Core = [[Category:Core specializations]][[Category:{{{name|{{PAGENAME}}}}} traits|*]]
 +
| Elite = [[Category:Elite specializations]]
 
}}
 
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Строка 31: Строка 32:
  
 
=== Parameters ===
 
=== Parameters ===
; name : Optional. Trait name. Defaults to the page name.
+
; name : Optional. Specialization name. Defaults to the page name.
 
; icon : Required. Icon filename. Defaults to <code>File:<page name>.png</code>.
 
; icon : Required. Icon filename. Defaults to <code>File:<page name>.png</code>.
 
; profession : Required. The profession the specialization is for.
 
; profession : Required. The profession the specialization is for.
; type : Required. Core or Elite.
+
; type : Required. "Core" or "Elite".
 
; categorize : Optional. Whether or not to categorize the content.
 
; categorize : Optional. Whether or not to categorize the content.
 
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).
 
; status : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).

Версия 02:53, 23 августа 2016

Description

{{Specialization infobox
| name = 
| icon = 
| profession = 
| type = 
}}

Parameters

name 
Optional. Specialization name. Defaults to the page name.
icon 
Required. Icon filename. Defaults to File:<page name>.png.
profession 
Required. The profession the specialization is for.
type 
Required. "Core" or "Elite".
categorize 
Optional. Whether or not to categorize the content.
status 
Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default).