Template:Documentation View history

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
     <div style="border:solid 2px #93C4D3; border-radius: 2px; margin: 4px; background: #8AC007; padding: .5em 1em 0em; background-color:transparent; color:#000;zoom: 1">
     <div style="border:solid 1px #93C4D3; border-radius: 2px; margin: 0; background: #dfecf0; padding: .5em .5em 0em;">
{{FULLPAGENAME}}/doc
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
| 000 | 100 | 010 | 101 = <!-- nothing -->
 
| 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]]
}}
{{#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>
Line 11: Line 13:
     </div>
     </div>
</includeonly>
</includeonly>
 
<noinclude>{{Documentation}}</noinclude>
<noinclude>[[Category:Шаблони]]</noinclude>
<noinclude>[[Category:Шаблони]]</noinclude>

Latest revision as of 08:37, 3 April 2019


link
link

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

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