Mall:Dokumentatsioon: erinevus redaktsioonide vahel
Eemaldatud sisu Lisatud sisu
P Tühistati kasutaja 86.173.149.162 (arutelu) tehtud muudatused ja pöörduti tagasi viimasele muudatusele, mille tegi Sije. |
|||
1. rida: | 1. rida: | ||
<!-- |
|||
<noinclude> |
|||
Automatically add {{template sandbox notice}} when on a /sandbox page. |
|||
-->{{#ifeq: {{SUBPAGENAME}} | liivakast |
|||
| {{Template sandbox notice}} |
|||
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}} |
|||
}} |
|||
}}<!-- |
|||
{{intricate}} |
|||
Automatically add {{pp-template}} to protected templates. |
|||
</noinclude><div class="template-documentation">{{ |
|||
-->{{template other |
|||
#if: {{{heading|Documentation}}} |
|||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
|||
|<!-- has heading --><div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{ |
|||
| {{pp-template|docusage=yes}} |
|||
#ifexist: {{{1|{{Dokumentatsioon/docname}}}}} |
|||
| {{#if: {{PROTECTIONLEVEL:edit}} |
|||
|<!-- /doc exists -->[[{{fullurl:{{{1|{{Dokumentatsioon/docname}}}}}|action=edit}} redigeeri]] |
|||
| {{pp-template|docusage=yes}} |
|||
|<!-- no /doc -->{{ |
|||
| <!--Not protected, or only semi-move-protected--> |
|||
#if: {{{content|}}} |
|||
|<!-- has content --> |
|||
|<!-- no content -->[[{{fullurl:{{{1|{{Dokumentatsioon/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} Loo]] |
|||
}} |
}} |
||
}}</span> <span style="{{{heading-style|font-size: 150%}}}">[[Pilt:Template-info.svg|50px]] {{{heading|Malli dokumentatsioon}}}</span></div> |
|||
|<!-- empty heading --> |
|||
}}<div id="template_doc_page_transcluded" class="dablink plainlinks">{{ |
|||
#ifeq: {{{transcluded|show}}} | show |
|||
|<!-- transcluded show -->{{ |
|||
#ifexist: {{{1|{{Dokumentatsioon/docname}}}}} |
|||
|<!-- /doc exists -->:''Selle malli dokumentatsioon on liidetud [[{{{1|{{Dokumentatsioon/docname}}}}}]] lehelt''. <small style="font-style: normal">(<!--[[{{{1|{{Dokumentatsioon/docname}}}}}|view]] | -->[{{fullurl:{{{1|{{Dokumentatsioon/docname}}}}}|action=edit}} redigeeri] | [{{fullurl:{{{1|{{Dokumentatsioon/docname}}}}}|action=history}} ajalugu])</small><br /> |
|||
|<!-- no /doc --> |
|||
}} |
}} |
||
}}<!-- |
|||
|<!-- transcluded hide --> |
|||
Start of green doc box. |
|||
}}{{ |
|||
-->{{dokumentatsioon/alustada lahter 2 |
|||
#switch: {{SUBPAGENAME}} |
|||
| preload = {{{preload|}}} <!--Allow custom preloads--> |
|||
|sandbox=<!-- sandbox --> |
|||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> |
|||
|testcases=<!-- testcases --> |
|||
| heading-style = {{{heading-style|}}} |
|||
|#default={{ |
|||
| content = {{{content|}}} |
|||
#switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} |
|||
|{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->{{ |
|||
<!--Some namespaces must have the /doc, /sandbox and /testcases |
|||
#ifexist: {{ #rel2abs: /sandbox }} |
|||
in talk space--> |
|||
|<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{ |
|||
| docspace = {{dokumentatsioon/docspace}} |
|||
#ifexist: {{ #rel2abs: /testcases }} |
|||
|<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment. |
|||
| 1 = {{{1|}}} <!--Other docname, if fed--> |
|||
|<!-- /sandbox AND no /testcases --> for editors to experiment.}} |
|||
|<!-- no /sandbox -->{{ |
|||
<!--The namespace is added in /start box2--> |
|||
#ifexist: {{ #rel2abs: /testcases }} |
|||
| template page = {{dokumentatsioon/template page}} |
|||
|<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment. |
|||
|<!-- no /sandbox AND no /testcases -->}} |
|||
}}<!-- Start content --><!-- |
|||
}} |
|||
Start load the /doc content: |
|||
|<!-- hide /sandbox /testcases --> |
|||
Note: The line breaks between this comment and the next line are necessary |
|||
}} |
|||
so "=== Headings ===" at the start and end of docs are interpreted. |
|||
}}</div> |
|||
--> |
|||
{{{content|{{ {{ #ifexist: {{{1|{{Dokumentatsioon/docname}}}}} | {{{1|{{Dokumentatsioon/docname}}}}} | ns:0 }} }}}}} |
|||
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{dokumentatsioon/docspace}}:{{dokumentatsioon/template page}}/doc|1|0}} |
|||
</div><noinclude> |
|||
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 |
|||
| 1111 = {{{content|}}} |
|||
| 0110 | 0111 = {{ {{{1}}} }} |
|||
| 0001 | 0011 = {{ {{dokumentatsioon/docspace}}:{{dokumentatsioon/template page}}/doc }} |
|||
| 0000 | 0100 | 0010 | 0101 = |
|||
}} |
|||
<!-- |
|||
End load the /doc content: |
|||
Note: The line breaks between this comment and the previous line are necessary |
|||
so "=== Headings ===" at the start and end of docs are interpreted. |
|||
-->{{dokumentatsioon/lõpuks lahter 2 |
|||
| preload = {{{preload|}}} <!--Allow custom preloads--> |
|||
| content = {{{content|}}} |
|||
| link box = {{{link box|}}} <!--So "link box=off" works--> |
|||
<!--Some namespaces must have the /doc, /sandbox and /testcases |
|||
in talk space--> |
|||
| docspace = {{dokumentatsioon/docspace}} |
|||
| 1 = {{{1|}}} <!--Other docname, if fed--> |
|||
<!--The namespace is added in /end box2--> |
|||
| template page = {{dokumentatsioon/template page}} |
|||
}}<!-- |
|||
End of green doc box |
|||
--><noinclude> |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
[[als:Vorlage:Dokumentation]] |
[[als:Vorlage:Dokumentation]] |
||
[[ar:قالب:توثيق]] |
[[ar:قالب:توثيق]] |