Πρότυπο:Τεκμηρίωση προτύπου: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Χωρίς σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
Γραμμή 1:
<!--
Afegeix automàticament {{plantilla protegida}}, si ho està
Αυτόματη προσθήκη {{template sandbox notice}} όταν υπάρχει σελίδα /αμμοδοχείο.
-->{{detecta espai de noms
-->{{#ifeq: {{SUBPAGENAME}} | αμμοδοχείο
|plantilla= {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
| {{plantilla protegida|small=yes}}
}}<!--
Automatically add {{pp-template}} to protected templates.
-->{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
| {{pp-template|docusage=yes}}
| {{#if: {{PROTECTIONLEVEL:edit}}
| {{pp-templateplantilla protegida|docusagesmall=yes}}
| <!--NotSense protected,protecció oro onlynomés semi-move-protectedprotecció per moure-->
}}
}}
|demo={{{demo|}}}
|altre=
}}<!--
Si estem en l'espai de proves, substitueix el contingut
Start of green doc box.
-->{{#ifeq:{{SUBJECTSPACE}}{{#titleparts:{{PAGENAME}}|1|2}}|{{ns:User}}{{MediaWiki:Templatesandbox-suffix}}
-->{{Τεκμηρίωση προτύπου/start box2
| {{ús de la plantilla/espai de proves|1={{#titleparts:{{PAGENAME}}||3}} }}
| preload = {{{preload|}}} <!--Allow custom preloads-->
|<!--else
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
Comença la caixa de color
| heading-style = {{{heading-style|}}}
-->{{ús de la plantilla/caixa-previ
| content = {{{content|}}}
| precàrrega = {{{precàrrega|}}} <!--Permet precàrregues específiques-->
 
| títol = {{{títol|¬}}} <!--Definit però buit significa sense títol-->
<!--Some namespaces must have the /doc, /sandbox and /testcases
| estil-títol = {{{estil-títol|}}}
in talk space-->
| contingut = {{{contingut|}}}
| docspace = {{Τεκμηρίωση προτύπου/docspace}}
| espai-doc = {{ús de la plantilla/espai doc}} <!-- /ús pot ser a la disc., segons espais-->
 
| 1 = {{{1|}}} <!--OtherAltra docname,pàgina ifd'ús, fedalternativa-->
| plantilla = {{ús de la plantilla/plantilla}} <!--L'espai de noms l'afegeix /caixa-previ-->
 
}}<!--
<!--The namespace is added in /start box2-->
Càrrega del contingut
| template page = {{Τεκμηρίωση προτύπου/template page}}
--><!-- Salt de línia necessari per evitar trencar === Encapçalaments === -->
 
{{#switch: {{#if:{{{contentcontingut|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{Τεκμηρίωσηús προτύπουde la plantilla/docspaceespai doc}}:{{Τεκμηρίωσηús προτύπου/templatede pagela plantilla/plantilla}}/τεκμηρίωσηús|1|0}}
}}<!-- Start content --><!--
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = {{{contingut|}}}
Start load the /doc content:
Note: The line breaks between this comment and the next line are necessary
so "=== Headings ===" at the start and end of docs are interpreted.
-->
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{Τεκμηρίωση προτύπου/docspace}}:{{Τεκμηρίωση προτύπου/template page}}/τεκμηρίωση|1|0}}
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
| 1111 = {{{content|}}}
| 0110 | 0111 = {{ {{{1}}} }}
| 0001 | 0011 = {{ {{Τεκμηρίωσηús προτύπουde la plantilla/docspaceespai doc}}:{{Τεκμηρίωσηús προτύπου/templatede pagela plantilla/plantilla}}/τεκμηρίωσηús }}
| 0000 | 0100 | 0010 | 0101 =
}}<!--
Enllaços al peu de la caixa:
-->{{ús de la plantilla/peu-previ
| precàrrega = {{{precàrrega|}}}
| contingut = {{{contingut|}}}
| link boxenllaços = {{{link boxenllaços|}}} <!--SoSi "link boxenllaços=offno" worksés cap-->
| espai-doc = {{ús de la plantilla/espai doc}} <!-- /ús pot ser a la disc., segons espais-->
| 1 = {{{1|}}} <!--OtherAltra docname,pàgina ifd'ús, fedalternativa-->
| plantilla = {{ús de la plantilla/plantilla}} <!--L'espai de noms l'afegeix /peu-previ-->
}}
-->}}<noinclude>
<!--
<!-- Afegiu categories a la subpàgina /ús i interwikis a Wikidata -->
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.
-->{{Τεκμηρίωση προτύπου/end box2
| 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 = {{Τεκμηρίωση προτύπου/docspace}}
 
| 1 = {{{1|}}} <!--Other docname, if fed-->
 
<!--The namespace is added in /end box2-->
| template page = {{Τεκμηρίωση προτύπου/template page}}
 
}}<!--
End of green doc box
--><noinclude>
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>