Редактирование: Шаблон:Effect infobox
Материал из Guild Wars 2 wiki
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
На этой странице невозможны семантические аннотации в тексте из-за ограничений пространства имён. Детали относительно того, как разрешить пространство имен, находятся в справочной странице конфигурации.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | <includeonly | + | <includeonly>{{infobox status|{{{status|}}}|{{{status notes|}}}|date={{{status date|}}}}}<!-- |
− | |||
-->{{infobox requires|{{{requires|}}} }}<!-- | -->{{infobox requires|{{{requires|}}} }}<!-- | ||
− | |||
-->{{wikipopup|{{{description|}}}}}{{wikipopup quotation|game}}<!-- | -->{{wikipopup|{{{description|}}}}}{{wikipopup quotation|game}}<!-- | ||
--><div class="infobox {{#switch: {{{type|}}} | boon | condition={{{type}}}}} effect"> | --><div class="infobox {{#switch: {{{type|}}} | boon | condition={{{type}}}}} effect"> | ||
Строка 20: | Строка 18: | ||
: {{#switch: {{{type|}}} | : {{#switch: {{{type|}}} | ||
| achievement = Эффект [[achievement|достижения]] | | achievement = Эффект [[achievement|достижения]] | ||
− | | aura = [[Aura|Аура]] | + | | aura = [[Aura|Аура]] |
− | | boon = [[Boon|Благо]] | + | | boon = [[Boon|Благо]] |
− | | condition = [[Condition|Состояние]] | + | | condition = [[Condition|Состояние]] |
| control | | control | ||
− | | control effect = [[Control effect|Эффект контроля]] | + | | control effect = [[Control effect|Эффект контроля]] |
− | | promo = Рекламный эффект | + | | promo = Рекламный эффект |
− | | mistlock instability = [[Fractals of the Mists#Mistlock Instability|Неустойчивость Закрепления Туманов]] | + | | mistlock instability = [[Fractals of the Mists#Mistlock Instability|Неустойчивость Закрепления Туманов]] |
| costume | | costume | ||
− | | costume brawl = [[Costume Brawl|Костюмированный бой]] | + | | costume brawl = [[Costume Brawl|Костюмированный бой]] |
− | | southsun survival = [[Southsun Survival|Выживании на Солнечном Острове]] | + | | southsun survival = [[Southsun Survival|Выживании на Солнечном Острове]] |
− | | dragon ball | + | | dragon ball = [[Dragon Ball|Драгонбол]] |
| transform | | transform | ||
− | | transformation = [[Transformation|Преобразование]] | + | | transformation = [[Transformation|Преобразование]] |
− | | #default = Эффект | + | | #default = Эффект |
}}{{ #if: {{{story|}}} | | }}{{ #if: {{{story|}}} | | ||
; Глава истории | ; Глава истории | ||
− | : {{# | + | : {{#ask: [[-Belongs to story chapter::{{{story}}}]]}} |
; Инстанс | ; Инстанс | ||
: [[{{{story}}}]] }}{{#if: {{{applied-by|}}} | | : [[{{{story}}}]] }}{{#if: {{{applied-by|}}} | | ||
; Накладывает | ; Накладывает | ||
− | : {{#arraymap:{{{applied-by}}}|,|@@@|{{#switch:{{lc:{{#show:@@@|?Has context}}}}|trait={{trait icon|@@@}}|skill={{skill | + | : {{#arraymap:{{{applied-by}}}|,|@@@|{{#switch:{{lc:{{#show:@@@|?Has context}}}}|trait={{trait icon|@@@}}|skill={{skill icon|@@@}}}}|,<br />}} }} |
; [[Effect stacking|Складывается]] | ; [[Effect stacking|Складывается]] | ||
: {{#switch: {{lc:{{{stacking}}}}} | : {{#switch: {{lc:{{{stacking}}}}} | ||
Строка 51: | Строка 49: | ||
| none | | none | ||
| #default = Нет | | #default = Нет | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{#if:{{{id|}}}| | }}{{#if:{{{id|}}}| | ||
; Игр. ссылка | ; Игр. ссылка | ||
Строка 71: | Строка 63: | ||
{{!}}} | {{!}}} | ||
− | | {{clear}} }} | + | | {{clear}} }}{{#set:Has context=Effect}} |
− | + | </div>{{#if:{{{description|}}}| | |
− | + | {{Quotation|Внутриигровое описание| | |
− | + | {{{description|''Описание отсутствует.''}}}{{#set:Has game description={{#dplreplace:{{{description|}}}|\[\[Category:Text errors\]\]}}}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
Строка 101: | Строка 78: | ||
}} | }} | ||
{{#if: {{{name}}} | <!-- name is undefined or non-empty --> | [[Category:Unnamed effects]] }} | {{#if: {{{name}}} | <!-- name is undefined or non-empty --> | [[Category:Unnamed effects]] }} | ||
− | |||
{{#switch: {{{type|}}} | {{#switch: {{{type|}}} | ||
| achievement = [[Category:Achievement effects]] | | achievement = [[Category:Achievement effects]] | ||
Строка 115: | Строка 91: | ||
| costume brawl = [[Category:Costume Brawl effects]] | | costume brawl = [[Category:Costume Brawl effects]] | ||
| southsun survival = [[Category:Southsun Survival effects]] | | southsun survival = [[Category:Southsun Survival effects]] | ||
− | | dragon ball | + | | dragon ball = [[Category:Dragon Ball effects]] |
− | + | | #default = [[Category:Effects]]}} | |
− | |||
− | | #default = [[Category:Effects]] | ||
− | |||
− | |||
− | |||
− | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | == | + | == Syntax == |
− | |||
− | |||
− | |||
<pre> | <pre> | ||
{{Effect infobox | {{Effect infobox | ||
− | | name = | + | | name = |
− | | icon | + | | icon = |
− | + | | description = | |
− | | description | + | | type = |
− | + | | stacking = | |
− | + | | id = | |
− | |||
− | | type = | ||
− | | stacking = | ||
− | | id = | ||
| requires = | | requires = | ||
| status = | | status = | ||
}}</pre> | }}</pre> | ||
− | + | == Parameters == | |
− | ;name | + | ; name |
: Optional. The name of the effect. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>; displays <code>(unnamed effect)</code> if included but left blank. | : Optional. The name of the effect. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>; displays <code>(unnamed effect)</code> if included but left blank. | ||
− | |||
− | |||
− | |||
− | |||
; description | ; description | ||
: Optional. The in-game description of the effect. | : Optional. The in-game description of the effect. | ||
− | ; | + | ; icon |
− | : Optional. | + | : Optional. Effect icon. Defaults to <nowiki>{{PAGENAME}}.png</nowiki> |
− | + | ; type | |
− | |||
− | ;type | ||
: Required. The type of effect. Defaults to "Effect". | : Required. The type of effect. Defaults to "Effect". | ||
::''achievement'': Story achievement effects. | ::''achievement'': Story achievement effects. | ||
Строка 169: | Строка 126: | ||
::''transformation'' : [[Transformation]]s | ::''transformation'' : [[Transformation]]s | ||
::''effect'': Any other type of effect. | ::''effect'': Any other type of effect. | ||
− | ;story | + | ; story |
: Optional. For story achievement effects, specify the story instance this achievement is applied in. | : Optional. For story achievement effects, specify the story instance this achievement is applied in. | ||
− | ;applied-by | + | ; applied-by |
− | : Optional. Creates a link to the skill | + | : Optional. Creates a link to the skill or trait that applies this effect. |
− | ;stacking | + | ; stacking |
: Required. The behavior of [[effect stacking]]. | : Required. The behavior of [[effect stacking]]. | ||
::''intensity'' - The effect stacks in intensity. | ::''intensity'' - The effect stacks in intensity. | ||
Строка 179: | Строка 136: | ||
::''charge'' - The effect has a fixed number of stacks that decrease upon some condition. | ::''charge'' - The effect has a fixed number of stacks that decrease upon some condition. | ||
::''no'' - The effect does not stack, the previous duration must wear off before it can be re-applied. | ::''no'' - The effect does not stack, the previous duration must wear off before it can be re-applied. | ||
− | |||
− | |||
− | |||
− | |||
;id | ;id | ||
: Optional. The effect's internal ID. Generates a [[Chat link format|game link]] in the infobox. | : Optional. The effect's internal ID. Generates a [[Chat link format|game link]] in the infobox. | ||
Строка 188: | Строка 141: | ||
;gallery2 | ;gallery2 | ||
:If specified, adds an image to the infobox. | :If specified, adds an image to the infobox. | ||
− | ;categorize | + | ; categorize |
: Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter. | : Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter. | ||
− | ;status | + | ; status |
: Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default). | : Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "future", "unimplemented", "current" (default). | ||
− | ;status notes | + | ; status notes |
: Optional. Allows provision of additional reason for the given status. | : Optional. Allows provision of additional reason for the given status. | ||
− | ;status date | + | ; status date |
: Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format). | : Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format). | ||
− | ;requires | + | ; requires |
: Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | : Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{tl|infobox requires}} for options. | ||