Difference between revisions of "Template:Documentation"

From Wazeopedia
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
     <div style="border:solid 1px #93C4D3; border-radius: 2px; margin: 0; background: #dfecf0; padding: 0 .5em 0em;">
+
     <div style="border:solid 1px #93C4D3; border-radius: 2px; margin: 0; background: #dfecf0; padding: .5em .5em 0em;">
 
{{#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}}

Latest revision as of 08:37, 3 April 2019


link

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

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