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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(formatting)
м (156 версий)
 
(не показано 108 промежуточных версии 37 участников)
Строка 1: Строка 1:
{| class="messagebox" style="text-align:center;" cellspacing="0" cellpadding="0"
+
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
|rowspan="2" style="width:60px;"| [[Image:Edit-paste.svg|40px]]
+
  | <!-- doc page -->
|style="line-height:13pt;"| This is the [[Wikipedia:Template documentation|template documentation]] page {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}}</tr>
+
</includeonly>{{
|style="line-height:11pt; 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.
+
    #ifeq: {{{doc-notice|show}}} | show
|}
+
    | {{ombox
<includeonly>[[Category:Template documentation|{{PAGENAME}}]]</includeonly><noinclude>
+
      | type = notice
{{{{FULLPAGENAME}}/doc}}
+
      | 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:17, 25 мая 2015

30px Template documentation[create]