Відмінності між версіями «Шаблон:Documentation subpage»

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
м (this doesn't go on talk pages, so lose the unnecessary formatting)
м (156 версій)
 
(не показані 109 проміжних версій 38 учасників)
Рядок 1: Рядок 1:
{| class="messagebox" style="text-align: center"
+
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
| style="width: 60px" | [[Image:Edit-paste.svg|40px]]
+
  | <!-- doc page -->
| This is the [[Wikipedia:Template documentation|template documentation]] page {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}}<br/><span style="font-size: 88%">This page is not intended to be viewed directly. Links using [[Help:Variable|variable]]s may appear broken; do not replace these with [[hardcoded]] page names or URLs.</span>
+
</includeonly>{{
|}
+
    #ifeq: {{{doc-notice|show}}} | show
<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly><noinclude>
+
    | {{ombox
{{{{FULLPAGENAME}}/doc}}
+
      | type = notice
 +
      | image = [[File:Edit-copy green.svg|40px|link=|alt=]]
 +
      | text =
 +
'''This is a [[w:Wikipedia:Template documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, categories, and other content that are 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}}}}}}}{{
 +
    #if: {{{inhibit|}}}
 +
    | <!-- skip -->
 +
    | [[Category:{{
 +
      #if: {{SUBJECTSPACE}}
 +
      | {{SUBJECTSPACE}}
 +
      | Article
 +
    }} documentation<noinclude>| </noinclude>]]
 +
  }}<includeonly>
 +
| <!-- if not on a /doc subpage, do nothing -->
 +
}}</includeonly><noinclude>
 +
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Поточна версія на 20:12, 25 травня 2015

30px Template documentation[create]