Πρότυπο:Τεκμηρίωση προτύπου: Διαφορά μεταξύ των αναθεωρήσεων
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
μΧωρίς σύνοψη επεξεργασίας |
Geraki (συζήτηση | Συνεισφορά) μ 1 εκδόσεις από το en:Πρότυπο:Documentation |
||
Γραμμή 1: | Γραμμή 1: | ||
⚫ | |||
<div class="template-documentation"><!-- |
|||
Automatically add {{template sandbox notice}} when on a /sandbox page. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
Automatically add {{pp-template}} to protected templates. |
|||
-->{{template other |
|||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
|||
⚫ | |||
| {{#if: {{PROTECTIONLEVEL:edit}} |
|||
| {{pp-template}} |
|||
| <!--Not protected, or only semi-move-protected--> |
|||
}} |
|||
}} |
|||
}}<!-- |
|||
Start of green doc box. |
|||
-->{{documentation/core2 |
|||
| heading = {{{heading|¬}}} <!--Empty but defined means no header--> |
|||
| heading-style = {{{heading-style|}}} |
|||
| content = {{{content|}}} |
|||
| link box = {{{link box|}}} <!--So "link box=off" works--> |
|||
<!--Some namespaces must have the /doc, /sandbox and /testcases |
|||
These are the literal class definitions in common.css: |
|||
in talk space--> |
|||
| docspace = |
|||
/* For template documentation */ |
|||
⚫ | |||
.template-documentation { |
|||
| {{ns:0}} |
|||
⚫ | |||
margin: 1em 0 0 0; |
|||
| {{ns:MediaWiki}} |
|||
border: 1px solid #aaa; |
|||
| {{ns:Category}} = {{TALKSPACE}} |
|||
background-color: #ecfcf4; |
|||
| #default = {{SUBJECTSPACE}} |
|||
padding: 5px; |
|||
} |
}} |
||
| 1 = {{{1|}}} <!--Other docname, if fed--> |
|||
<!--The namespace is added in /core2--> |
|||
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**--> |
|||
| template page = |
|||
|<!--**NOTHING**--> |
|||
{{#switch: {{SUBPAGENAME}} |
|||
|<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ |
|||
| sandbox |
|||
|<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Τεκμηρίωση προτύπου/docname}}}}} |
|||
| testcases = {{BASEPAGENAME}} |
|||
|<!--** /doc EXISTS** -->[[{{fullurl:{{{1|{{Τεκμηρίωση προτύπου/docname}}}}}|action=edit}} Επεξεργασία]] |
|||
⚫ | |||
|<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Τεκμηρίωση προτύπου/docname }}}}}|action=edit&preload=Πρότυπο:Τεκμηρίωση_προτύπου/preload}} Δημιουργία]] |
|||
}} |
|||
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] Τεκμηρίωση προτύπου|Τεκμηρίωση}}}}</span></div> |
|||
⚫ | |||
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!-- |
|||
-->{{#ifexist: {{{1|{{Τεκμηρίωση προτύπου/docname}}}}} |
|||
|<!--**/doc EXISTS**-->Αυτή η τεκμηρίωση ενσωματώθηκε από το [[{{{1|{{Τεκμηρίωση προτύπου/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Τεκμηρίωση προτύπου/docname}}}}}|action=edit}} επεξεργασία] | [{{fullurl:{{{1|{{Τεκμηρίωση προτύπου/docname}}}}}|action=history}} ιστορικό])</small><br /> |
|||
⚫ | |||
⚫ | |||
|sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{#ifexist: {{FULLPAGENAME}}/sandbox |
|||
|This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!-- |
|||
-->{{#ifexist: {{FULLPAGENAME}}/testcases |
|||
|and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment. |
|||
|{{#ifexist: {{FULLPAGENAME}}/testcases |
|||
|This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}} |
|||
}}}}}} |
|||
</div> |
|||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Τεκμηρίωση προτύπου/docname}}}}} | {{ {{{1|{{Τεκμηρίωση προτύπου/docname}}}}} }} }}}} |
|||
⚫ | |||
</div><noinclude> |
|||
}}<!--End of green doc box--><noinclude> |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
</noinclude> |