Vorlage:Documentation/subpage: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(https://commons.wikimedia.org/w/index.php?title=Template:Documentation_subpage&action=edit&oldid=97170311)
(Fix automatic link corresponding to the wiki language setting {{CONTENTLANGUAGE}})
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
+
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
   | <!-- doc page -->
+
   | <!-- doc page -->
</includeonly>{{
+
</includeonly>{{
     #ifeq: {{{doc-notice|show}}} | show
+
     #ifeq: {{{doc-notice|show}}} | show
     | {{mbox
+
     | <div class="messagebox round" id="template_doc_page_viewed_directly" style="padding-left:1ex;">{{Multilingual
      | type = notice
+
|de='''Dies ist eine Dokumentationsunterseite für {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(siehe {{ #if: {{SUBJECTSPACE}} | die {{SUBJECTSPACE}} | den Artikel }} daselbst)</small>.<br />Sie enthält Informationen zur Kategorisierung und weiterer Inhalte, die aber hier unterhalb für {{#if: {{SUBJECTSPACE}} |diese {{SUBJECTSPACE}}|diesen Artikel}} dokumentiert wurden.
      | image = [[File:Edit-copy green.svg|40px|link=]]
+
|en='''This is a documentation subpage for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, categories and other content that is not part of the original {{#if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.
      | text =
+
}} </div>
{{LangSwitch
+
  }}{{DEFAULTSORT:{{PAGENAME}}}}{{
|de       = '''Diese Seite ist die Dokumentations-Unterseite von {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.
 
|en      = '''This is a [[meta:Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Meta:Categorization|categories]], [[meta: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}}}}}}}}.
 
|fr      = '''Cette page est une sous-page contenant la documentation de la page {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />Elle contient des informations, des catégories et des liens interwikis qui ne font pas partie de la page principale.
 
|it      = '''Questa è una [[mw:Help:Subpages|sottopagina]] di [[meta:Help:Template documentation|documentazione]] per {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />Contiene informazioni sull'uso, [[Meta:Categorization|categorie]], [[meta:Help:Interlanguage links|collegamenti interlinguistici]] e altri contenuti che non fanno parte della pagina principale.
 
}}
 
      }}
 
    }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
 
     #if: {{{inhibit|}}}
 
     #if: {{{inhibit|}}}
 
     | <!-- skip -->
 
     | <!-- skip -->
     | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
+
     | [[Category:{{
      #switch: {{SUBJECTSPACE}}
+
      #if: {{SUBJECTSPACE}}
      | Template  = Template
+
      | {{SUBJECTSPACE}}
      | User      = User
+
      | {{#switch: {{CONTENTLANGUAGE}}<!--
      | #default = Wikipedia
+
    -->|de|de-formal|de-at|de-ch= Artikel <!--
     }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
+
    -->| #default = Article<!--
   }}<includeonly>
+
    -->}}
| <!-- if not on a /doc subpage, do nothing -->
+
    }} {{#switch: {{CONTENTLANGUAGE}}<!--
}}</includeonly><noinclude>
+
    -->|de|de-formal|de-at|de-ch= Dokumentation <!--
{{documentation}}
+
    -->| #default = documentation<!--
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
     -->}}<noinclude>| </noinclude>]]
</noinclude>
+
   }}<includeonly>
 +
|<!-- if not on a /doc subpage, do nothing -->
 +
}}</includeonly><noinclude>
 +
 
 +
----
 +
{{Documentation}}<!--
 +
Add categories and interwikis to the /doc subpage, not here!
 +
--></noinclude>

Aktuelle Version vom 1. Juni 2018, 17:59 Uhr

Dies ist eine Dokumentationsunterseite für Vorlage:Documentation (siehe die Vorlage daselbst).
Sie enthält Informationen zur Kategorisierung und weiterer Inhalte, die aber hier unterhalb für diese Vorlage dokumentiert wurden.

[Aktualisieren][Bearbeiten]Dokumentation der Vorlage
Vorlage:Documentation/subpage/doc