Skillnad mellan versioner av "Mall:Documentation subpage"

Från Svensk MJ-Wiki
Hoppa till: navigering, sök
m (Changed protection level of Template:Documentation subpage: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
Rad 7: Rad 7:
 
       | image = [[File:Edit-copy green.svg|40px]]
 
       | image = [[File:Edit-copy green.svg|40px]]
 
       | text =  
 
       | text =  
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]], [[w:Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
+
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
 
       }}
 
       }}
 
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
Rad 17: Rad 17:
 
       | Module  = Module
 
       | Module  = Module
 
       | User      = User
 
       | User      = User
       | #default  = {{SITENAME}}
+
       | #default  = Wikipedia
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
 
   }}<includeonly>
 
   }}<includeonly>
 
| <!-- if not on a /doc subpage, do nothing -->
 
| <!-- if not on a /doc subpage, do nothing -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{languages}}
 
 
{{documentation}}
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Versionen från 14 maj 2014 kl. 23.07

{{

   #ifeq: show | show
   | Mall:Mbox
   }}{{
   #if: 
   | 
   | 
 }}

{{#switch:<translate></translate> | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}}

}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}