Difference between revisions of "Template:Documentation"

From Wazeopedia
Line 3: Line 3:
 
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
 
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
 
| 000 | 100 | 010 | 101 = <!-- nothing -->
 
| 000 | 100 | 010 | 101 = <!-- nothing -->
| 001 | 011 = [[File:Link.png|15px|text-top|right|link={{FULLPAGENAME}}/doc}}|link]]
+
| 001 | 011 = [[File:Link.png|15px|text-top|right|link={{FULLPAGENAME}}/doc|link]]
 
| 110 | 111 = [[File:Link.png|15px|text-top|right|link={{{1|}}}|link]]
 
| 110 | 111 = [[File:Link.png|15px|text-top|right|link={{{1|}}}|link]]
 
}}
 
}}

Revision as of 08:36, 3 April 2019


link

Приклад використання:

 {{Documentation}}
 {{Documentation|Scripts}}