「テンプレート:Documentation subpage」の版間の差分

削除された内容 追加された内容
restore pre-import version
1 行
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME#titleparts:{{PAGENAME}}||-1}}}} | {{{override|doc}}}
| <!-- doc page -->
</includeonly>{{
#ifeq: {{{doc-notice|show}}} | show
| {{mboxombox
| 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}}:{{BASEPAGENAME#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, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that isare 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 -->
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
#switchif: {{SUBJECTSPACE}}
| Template = Template{{SUBJECTSPACE}}
| User = UserArticle
}} documentation<noinclude>| </noinclude>]]
| #default = Wikipedia
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
}}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->