Шаблон: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}} | + | | unimplemented = {{unimplemented content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Unimplemented}} {{#vardefine:is-historical|Y}} |
− | | future = {{future content}} | + | | future = {{future content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Future}} {{#vardefine:is-historical|Y}} |
− | | historical = {{historical content}} | + | | historical = {{historical content|{{{2|}}}}} {{#set:Is historical=Y|Has availability=Historical}} {{#vardefine:is-historical|Y}} |
− | | discontinued = {{discontinued content}} | + | | 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 = {{#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: | Строка 31: | ||
:* ''temporary'' - This content is sometimes available during certain seasonal events. This typically applies to locations, events and NPCs. No banner is displayed. | :* ''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. | :* ''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. | ||
== Examples == | == Examples == |
Версия 00:51, 3 февраля 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.
Examples
{{infobox status}} {{infobox status|unimplemented}} {{infobox status|future}} {{infobox status|historical}} {{infobox status|discontinued}}
Эта страница содержит информацию о компоненте Guild Wars 2, который был отменен и не может больше быть получен стандартными средствами. Единственная возможность получить доступ к этому контенту – это использовать торговый пост, или играть в игру, когда этот контент был доступен. |