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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(partial rv, ambox shouldn't be used for templates that are for non-articles)
м (156 версий)
 
(не показано 98 промежуточных версии 34 участников)
Строка 1: Строка 1:
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
+
<includeonly>{{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
This is the [[Wikipedia:Template documentation|documentation]] page {{{1|for [[{{NAMESPACE}}:{{BASEPAGENAME}}]].}}} <div style="font-size: 90%">When it is viewed directly, links using [[Help:Variable|variables]] may appear broken; do not replace these with [[hard coding|hardcoded]] page names or URLs.</div>
+
  | <!-- doc page -->
</div><includeonly>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[Category:Template documentation|{{PAGENAME}}]]}}</includeonly><noinclude>
+
</includeonly>{{
{{pp-semi-protected|small=yes}}
+
    #ifeq: {{{doc-notice|show}}} | show
{{template doc}}
+
    | {{ombox
 +
      | 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:17, 25 мая 2015

30px Template documentation[create]