Шаблон:Namespace detect

Матеріал з CustodyWiki
Версія від 17:48, 21 червня 2020, створена Admin (обговорення | внесок) (Створена сторінка: {{#switch: {{lc: <!-- зробити результат у нижньому регістрі--> <!-- Якщо відсутній або по...)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку

{{#switch:

 {{#if:   
   |  {{{demospace}}} 
   | {{#if:   
     | 
       {{#ifeq:|
       | обговорення
       |  
       }}
     | 
       {{#ifeq:шаблон|обговорення шаблону
       | обговорення
       | шаблон 
       }}
     }}
   }}

| main | основний | = | talk | обговорення = | user | користувач = | wikipedia | вікіпедія = | file | image | файл = | mediawiki = | template | шаблон = | help | довідка = | category | категорія = | portal | портал = | book | other | інший | #default =

}} {{#ifeq: Namespace detect | пісочниця

|

Шаблон:Пісочниця шаблону

}}{{#switch:

 {{#if:   
 |     
 | {{#ifeq:Шаблон|Шаблон
   | шаблон
   | інший
   }}
 }}

| шаблон | template = {{#ifeq: | sysop

 | 
 | {{#if: 
   | 
   | 
   }}
 }}

| other | інший | #default =

}}

{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#switch: Шаблон 
   | Шаблон = 50px Документація шаблону
   | Шаблон:Ns:Module = 50px Документація модуля
   | Шаблон:Ns:Gadget = 50px Документація гаджета
   | Файл = Опис
   | #default = Документація
   }}
 | #default = 
   ¬
 }}{{
 #if:  
 | {{#ifeq:Шаблон| Шаблон:Ns:Module | [[{{fullurl:{{#switch: Namespace detect
 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}| action=edit&preload=Шаблон:Документація/preload-module-doc}} створити]] |}}

 | 
   {{
   #ifexist:{{#ifexist:|{{{1}}}|{{#switch: Namespace detect
 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}

   | [[[{{#ifexist:|{{{1}}}|{{#switch: Namespace detect
 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}|перегляд]]] [[{{fullurl:{{#ifexist:|{{{1}}}|{{#switch: Namespace detect

 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}|action=edit}} редагувати]] [[{{fullurl:{{#ifexist:|{{{1}}}|{{#switch: Namespace detect

 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}|action=history}} історія]] [очистити кеш]

   | 
     [[{{fullurl:{{#ifexist:|{{{1}}}|{{#switch: Namespace detect
 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}| action=edit&preload={{ #if:

       | 
       | {{#ifeq: Шаблон | Файл
         | Шаблон:Документація/preload-filespace
         | Шаблон:Документація/preload
         }} }} }} створити]]
 }}
}}

}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Namespace detect

 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Namespace detect

 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}} }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:

 {{#ifeq:  | off
 |
 | {{#switch: Шаблон
     | Користувач
| Шаблон:Ns:Module | Шаблон:Ns:Gadget
     | Шаблон = yes
     | #default = {{#ifexist:{{#ifexist:|{{{1}}}|{{#switch: Namespace detect
 |sandbox|testcases={{ #rel2abs: ../документація }}
 |#default=Шаблон:Namespace detect/документація

}}}}|yes}}

   }}
 }}

|

{{#ifeq:none|none | | }} {{#if: |

}}

}}