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

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
(Отмена правки 50167, сделанной участником Blood (обс.))
 
 
Строка 1: Строка 1:
<includeonly>{{#ifeq:{{NAMESPACE}}|User|{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||{{#Widget:Custom CSS|hash=72739eaabe767e401ab875b6301e805c5e847da8|css={{{css|}}}}}[[Category:Pages with custom CSS]]}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{#switch:{{{1|}}}|Heart of Thorns|form=y}}{{#ifeq:{{NAMESPACE}}|User|{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}||y}}}}|{{#Widget:Custom CSS|hash=72739eaabe767e401ab875b6301e805c5e847da8|css={{{css|}}}}}{{#switch:{{{1|}}}|Heart of Thorns=|#default=[[Category:Pages with custom CSS]]}}}}</includeonly><noinclude>
  
 
== Description ==
 
== Description ==
Строка 7: Строка 7:
 
This template allows to define custom CSS rules on user pages. All pages using this template are added to [[:Category:Pages with custom CSS]].
 
This template allows to define custom CSS rules on user pages. All pages using this template are added to [[:Category:Pages with custom CSS]].
  
The use of this template is restricted to ''subpages'' within the user namespace. This is to prevent that access to user pages or pages in other namespace is accidentally impeded.
+
The use of this template is restricted to the forms and ''subpages'' within the user namespace. This is to prevent that access to user pages or pages in other namespace is accidentally impeded.
  
 
'''Note:''' When using this template you are '''expected''' to retain the overall look and feel of the wiki. Defined CSS rules may only touch the page content but not the wiki navigation or other parts of the wiki interface.
 
'''Note:''' When using this template you are '''expected''' to retain the overall look and feel of the wiki. Defined CSS rules may only touch the page content but not the wiki navigation or other parts of the wiki interface.

Текущая версия на 22:52, 14 июня 2018


Description[править]

{{Custom CSS|css=<custom CSS rules>}}

This template allows to define custom CSS rules on user pages. All pages using this template are added to Category:Pages with custom CSS.

The use of this template is restricted to the forms and subpages within the user namespace. This is to prevent that access to user pages or pages in other namespace is accidentally impeded.

Note: When using this template you are expected to retain the overall look and feel of the wiki. Defined CSS rules may only touch the page content but not the wiki navigation or other parts of the wiki interface.