Difference between revisions of "Template:Documentation"

From Wazeopedia
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: 0 .5em 0em;">
 +
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
 +
| 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]]
 +
| 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]]
 +
}}
 
{{#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 = <h4>Page not found</h4>
 
| 000 | 100 | 010 | 101 = <h4>Page not found</h4>

Revision as of 08:30, 3 April 2019


link

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

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