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:Edit.png|15px|text-top|right|link={{fullurl:{{FULLPAGENAME}}/doc|action=edit}}|edit]][[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:Edit.png|15px|text-top|right|link={{fullurl:{{{1|}}}|action=edit}}|edit]][[File:Link.png|15px|text-top|right|link={{{1|}}}}}|link]]
+
| 110 | 111 = [[File:Link.png|15px|text-top|right|link={{{1|}}}}}|link]]
 
}}
 
}}
 
{{#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}}

Revision as of 08:32, 3 April 2019


link

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

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