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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Новая страница: «{{#switch:{{{1|}}}| pvp = {{#vardefine:type|pvp}} | {{#vardefine:type|pve}} }}<!-- --><div style="margin: 10px auto; padding-left:10px; width: 500px; {{#switch…»)
 
Строка 1: Строка 1:
 
{{#switch:{{{1|}}}|  pvp = {{#vardefine:type|pvp}} | {{#vardefine:type|pve}} }}<!--  
 
{{#switch:{{{1|}}}|  pvp = {{#vardefine:type|pvp}} | {{#vardefine:type|pve}} }}<!--  
  
--><div style="margin: 10px auto; padding-left:10px; width: 500px; {{#switch:{{#var:type}} | pvp = background: #0008C0; | background: #C00800; }}" title="{{#switch:{{#var:type}} | pvp = PvE version | PvP version }}">
+
--><div style="margin: 10px auto; padding-left:10px; width: 500px; {{#switch:{{#var:type}} | pvp = background: #0008C0; | background: #C00800; }}" title="{{#switch:{{#var:type}} | pvp = PvE-версия | PvP-версия }}">
 
<div style="{{#switch:{{#var:type}} | pvp = background: #DBDBFF; border: solid #0008C0; | background: #FFDBDB; border: solid #C00800; }} border-width: 1px; margin-bottom:15px; border-left: none; padding: 0.5em 1em;">
 
<div style="{{#switch:{{#var:type}} | pvp = background: #DBDBFF; border: solid #0008C0; | background: #FFDBDB; border: solid #C00800; }} border-width: 1px; margin-bottom:15px; border-left: none; padding: 0.5em 1em;">
 
{| cellpadding="0" cellspacing="0" style="background-color: transparent;"
 
{| cellpadding="0" cellspacing="0" style="background-color: transparent;"
 
| style="vertical-align:middle;" | [[File:{{#switch:{{#var:type}}| pvp = Hero panel Menu Bar icon | PvP Menu Bar icon}}.png|32px]]
 
| style="vertical-align:middle;" | [[File:{{#switch:{{#var:type}}| pvp = Hero panel Menu Bar icon | PvP Menu Bar icon}}.png|32px]]
| style="vertical-align:middle; padding-left: 1em;" | This {{{type|skill}}} has a {{#switch: {{#var:type}}  
+
| style="vertical-align:middle; padding-left: 1em;" | {{#switch: {{{type|skill}}} | skill = Это умение | trait = Эта черта}} имеет {{#switch: {{#var:type}}  
| pvp = [[Player versus Environment|PvE]]{{#if:{{{wvw|}}}|&nbsp;version (including [[World versus World|WvW]])|-only version}} — see [[{{{name|{{#titleparts:{{trim|{{#explode:{{BASEPAGENAME}}|(}}}}}}}}}]].
+
| pvp = [[Player versus Environment|PvE]]{{#if:{{{wvw|}}}|-версию (включая [[World versus World|WvW]])|-версию}} — смотрите [[{{{name|{{#titleparts:{{trim|{{#explode:{{BASEPAGENAME}}|(}}}}}}}}}]].
| [[Player versus Player|PvP]]{{#if:{{{wvw|}}}|&nbsp;version (including [[World versus World|WvW]])|-only version}} — see [[{{{name|{{BASEPAGENAME}}  (PvP)}}}]]. }}
+
| [[Player versus Player|PvP]]{{#if:{{{wvw|}}}|-версию (включая [[World versus World|WvW]])|-версию}} — смотрите [[{{{name|{{BASEPAGENAME}}  (PvP)}}}]]. }}
 
|}</div></div><noinclude>
 
|}</div></div><noinclude>
 
== Description ==
 
== Description ==

Версия 21:13, 18 декабря 2016

PvP Menu Bar icon.png Это умение имеет PvP-версию — смотрите Game mode version (PvP).

Description

This is a notice template for things that are split between gamemodes, mostly skills.

unnamed parameter 1 
Optional. The game mode version of the page. Defaults to pve.
name 
Optional. Name of the page that will be linked. Defaults to {{BASEPAGENAME}}.
type 
Optional. Sets the type of the page. Defaults to skill.
wvw 
Optional. Includes a notice that the version of the linked page will be used for the World vs. World ruleset.

Examples

{{game mode version|pvp}}
{{game mode version|pvp|name = Example|wvw = y}}
{{game mode version|type = trait|name = Example (PvP)|wvw = y}}