Шаблон:Documentation subpage — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
 
м (156 версий)
 
(не показано 155 промежуточных версии 53 участников)
Строка 1: Строка 1:
{| class="messagebox" style="max-width: 50em; background: #FFF0D9;"
+
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
|-
+
  | <!-- doc page -->
| [[Image:Edit-paste.svg|none|50px]]
+
</includeonly>{{
|<center>'''This is the [[Wikipedia:Template doc page pattern|template documentation page]] for {{tl|{{BASEPAGENAME}}}}.'''<br>It is not intended to be viewed directly. Therefore, if it uses [[Help:Variable|variable]]s, some links may appear broken. Do not replace these variables with [[hardcoded]] page names or URLs.</center>
+
    #ifeq: {{{doc-notice|show}}} | show
|}<noinclude><!--
+
    | {{ombox
[[Category:Template templates|{{PAGENAME}}]]
+
      | 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! -->
 
</noinclude>
 
</noinclude>

Текущая версия на 21:17, 25 мая 2015

30px Template documentation[create]