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

提供:桜江古文書を現代に活かす会
ナビゲーションに移動 検索に移動
mw_>ネイ
(「Template:Documentation subpage」の保護レベルを変更しました: 影響が特に大きいテンプレート: システムメッセージ(MediaWiki:Scribunto-doc-page-header)で使用 ([編集=管理者のみ許可] (無期限) [移動=管理者のみ許可] (無期限)))
 
mw_>Shirayuki
(cat)
1行目: 1行目:
<onlyinclude><includeonly>{{
+
<noinclude>
  #ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
+
<languages/>
  | <!-- doc page -->
+
</noinclude>{{#switch:<translate></translate>
</includeonly>{{
+
| =
    #ifeq: {{{doc-notice|show}}} | show
+
<includeonly><!--
    | <!-- doc-notice show -->{{Ombox
+
-->{{#if:{{IsDocSubpage|override={{{override|doc}}}|false=}}
| type = notice
+
    | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
| image = [[File:Edit-copy green.svg|40px]]
+
</includeonly><!--
| text = '''これは{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}の[[Help:テンプレートの説明文|解説]][[Help:サブページ|サブページ]]です。'''<br />使用方法、[[Help:カテゴリ|カテゴリ]]、およびその他{{{種類|{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE ja}}ページ|記事}}}}}自体に含まれない情報を収容しています。
+
 
 +
      -->{{#ifeq:{{{doc-notice|show}}} |show
 +
          | {{Mbox
 +
            | type = notice
 +
            | style = margin-bottom:1.0em;
 +
            | image = [[File:OOjs UI icon book-ltr.svg|40px|alt=|link=]]
 +
            | text =
 +
'''<translate><!--T:4--> This is a [[w:Wikipedia:Template documentation|documentation]] [[<tvar name=2>Special:MyLanguage/Help:Subpages</tvar>|subpage]] for <tvar name=1>{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}</tvar>.</translate>'''<br /><!--
 +
-->{{#if:{{{text2|}}}{{{text1|}}}
 +
  |<translate><!--T:5--> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{{text2|{{{text1}}}}}}</tvar>.</translate>
 +
  |<translate><!--T:10--> It contains usage information, [[<tvar name=7>Special:MyLanguage/Help:Categories</tvar>|categories]] and other content that is not part of the original <tvar name=1>{{SUBJECTSPACE}}</tvar> page.</translate>
 +
  }}
 +
            }}
 +
        }}<!--
 +
 
 +
      -->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
 +
 
 +
      -->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
 +
          |  <includeonly><!--
 +
              -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
 +
                  | [[Category:{{#switch:{{SUBJECTSPACE}}
 +
                          | Template | Project = Template
 +
                          | Module  = Module
 +
                          | User    = User
 +
                          | #default = MediaWiki
 +
                      }} documentation pages{{#translation:}}]]
 +
                  | [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
 +
                  }}<!--
 +
          --></includeonly>
 +
        }}<!--
 +
 
 +
(completing initial #ifeq: at start of template:)
 +
--><includeonly>
 +
    | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
 +
    }}<!--
 +
--></includeonly>
 +
| #default=
 +
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang={{int:lang}}}}
 +
}}<noinclude>
 +
{{Documentation|content=
 +
 
 +
<translate>
 +
== Usage == <!--T:6-->
 +
 
 +
<!--T:7-->
 +
Use this template on Template Documentation subpage (/doc).
 +
 
 +
== See also == <!--T:8-->
 +
</translate>
 +
*{{tl|Documentation}}
 +
*{{tl|tl}}
 +
 
 
}}
 
}}
    | <!-- doc-notice hide -->
+
</noinclude>
  }}<includeonly>
 
  |<!-- not doc -->
 
}}</includeonly><includeonly>{{
 
  #ifeq: {{SUBPAGENAME}} | doc
 
  | {{
 
    #ifeq: {{NAMESPACE}} | {{ns:10}}
 
    | [[Category:テンプレート文書|{{PAGENAME}}]]
 
    }}
 
}}</includeonly></onlyinclude>
 
{{Documentation}}
 

2021年8月22日 (日) 09:03時点における版

<languages/>

テンプレートの解説

<translate>

Usage

Use this template on Template Documentation subpage (/doc).

See also

</translate>