Шаблон:Infobox status — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
<includeonly>{{#if: {{{1|}}} | <includeonly>{{#if: {{{1|}}} | ||
| {{#switch: {{lc:{{{1|}}}}} | | {{#switch: {{lc:{{{1|}}}}} | ||
− | | unimplemented = {{unimplemented content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Unimplemented}} {{#vardefine:is-historical|Y}} | + | | unimplemented = {{unimplemented content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Unimplemented}} {{#vardefine:is-historical|Y}} |
− | | future = {{future content|{{{2|}}}}} | + | | future = {{future content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Future}} {{#vardefine:is-historical|Y}} |
− | | historical = {{historical content|{{{2|}}}}} | + | | historical = {{historical content|{{{2|}}}|date={{{date|}}}}} {{#set:Is historical=Y|Has availability=Historical}} {{#vardefine:is-historical|Y}} |
− | | discontinued = {{discontinued content|{{{2|}}}}} | + | | discontinued = {{discontinued content|{{{2|}}}}} {{#set:Is historical=N|Has availability=Discontinued}} |
− | | temporary = | + | | temporary = {{#set:Is historical=Y|Has availability=Historical}} {{#vardefine:is-historical|Y}} |
− | | temporary item = | + | | temporary item = {{#set:Is historical=N|Has availability=Discontinued}} |
| current | | current | ||
− | | #default = | + | | #default = {{#set:Is historical=N|Has availability=Current}} |
}} | }} | ||
| {{#set:Is historical=N|Has availability=Current}} | | {{#set:Is historical=N|Has availability=Current}} | ||
Строка 33: | Строка 33: | ||
;Unnamed parameter 2 | ;Unnamed parameter 2 | ||
:Only applies to historical content, allows further information to be provided. | :Only applies to historical content, allows further information to be provided. | ||
+ | ;date | ||
+ | :Only applies to historical content. This sets the specified date instead of the date of the edit that marked the page as historical. | ||
== Examples == | == Examples == |
Текущая версия на 22:00, 10 июня 2018
Usage[править]
The status indicates the current availability of the content. The template is only for use in the infobox, for pages lacking an infobox users should use the notice templates directly.
{{infobox status|<status>}}
Parameters[править]
- Unnamed parameter 1
- The status of the content.
- current - Default.
- unimplemented - Content that is known but never added as content within the game. This is usually content found from datamining.
- future - Content that is known but will be added in a future update. This is usually content found from datamining or gameplay previews.
- historical - This is content that existed in the game at some point but was removed.
- discontinued - This is content available in the game but can no longer be generated by players. This content is usually items.
- temporary - This content is sometimes available during certain seasonal events. This typically applies to locations, events and NPCs. No banner is displayed.
- temporary item - This content is only obtainable during certain seasonal events, but persists when created. This typically applies to items. No banner is displayed.
- Unnamed parameter 2
- Only applies to historical content, allows further information to be provided.
- date
- Only applies to historical content. This sets the specified date instead of the date of the edit that marked the page as historical.
Examples[править]
{{infobox status}} {{infobox status|unimplemented}} {{infobox status|future}} {{infobox status|historical}} {{infobox status|discontinued}}
Эта страница содержит информацию о компоненте Guild Wars 2, который был отменен и не может больше быть получен стандартными средствами. Единственная возможность получить доступ к этому контенту – это использовать торговый пост, или играть в игру, когда этот контент был доступен. |