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

提供: iTchan Wiki
移動先: 案内検索
(1版)
1行目: 1行目:
{{#ifeq: {{SUBPAGENAME}} | sandbox
+
<!--
| <div style="clear: both;"></div>{{template sandbox notice}}
+
  Automatically add {{template sandbox notice}} when on a /sandbox page.
| <div class="template-documentation" style="clear:both; margin:1em 0 1em 0; border:1px solid #aaa; background-color:#ecfcf4; padding:1em;"><!--styleパラメータは、本来はスタイルシートに記述するべき? …スタイルシートをどこから見つけたのか忘れてしまった。-->
+
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
{{
+
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
  #if: {{{heading|解説}}}
+
}}<!--
  |<!-- headingがキャンセルされていない場合。
+
  Automatically add {{pp-template}} to protected templates.
        headingが指定されていなければ、デフォルトの「解説」になる。
+
-->{{template other
        {{Documentation|heading=}}のように設定することでキャンセルできる。
+
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
  --><div style="padding-bottom:{{{heading-padding|3px}}}; border-bottom:1px solid #aaa; margin-bottom:{{{heading-margin|1ex}}}"><span id="doc_editlinks" class="editsection plainlinks">{{
+
  | {{pp-template|docusage=yes}}
    #ifexist:{{{ 1 | {{Documentation/docname}} }}}
+
   | {{#if: {{PROTECTIONLEVEL:edit}}
    |<!-- /doc がある
+
     | {{pp-template|docusage=yes}}
      -->[[{{
+
     | <!--Not protected, or only semi-move-protected-->
      fullurl:{{{ 1 | {{Documentation/docname}} }}}
+
     }}
      | action=edit
 
      }} 編集]] [{{purge|キャッシュ破棄}}]
 
    |<!-- /doc がない
 
      -->{{
 
      #if:{{{content|}}}
 
      |<!-- contentあり: 動作なし -->
 
      |<!-- contentなし
 
        -->[[{{
 
        fullurl:{{{ 1 | {{Documentation/docname}} }}}
 
        | action=edit&preload={{urlencode:{{{preload|Template:Documentation/preload}}}}}
 
        }} 作成]]
 
      }}<!-- #if:{{{content|}}} 閉じる -->
 
    }}<!-- #ifexist:{{{ 1 | {{Documentation/docname}} }}} 閉じる
 
   --></span><span style="{{{heading-style|font-size:150%}}}">{{#switch: {{SUBJECTSPACE}}  
 
     | {{ns:Template}} = [[File:Template-info.png|50px|alt=]] テンプレートの解説
 
    | {{ns:File}} = 要約
 
     | #default = 解説
 
  }}</span></div><!-- ここまでheadingがキャンセルされていない場合 -->
 
  |<!-- headingがキャンセルされた場合: 動作なし -->
 
}}<!-- #if:{{{heading|解説}}} を閉じる
 
--><!-- 呼び出し先とサンドボックス・テストケースの誘導に使われるdivセクション。本来はスタイルシートに記述するべき?-->
 
<div id="template_doc_page_transcluded" style="clear:both; border:none; background-color:#ecfcf4; margin:0 0 0 2em; font-style:italic; font-size:85%" ><!--
 
  呼び出し元処理の開始
 
-->{{
 
  #ifeq:{{{transcluded|show}}} | show
 
  |<!-- 呼び出し先を表示 -->{{
 
     #ifexist:{{{ 1 | {{Documentation/docname}} }}}
 
    |<!-- /doc がある場合
 
      -->この[[Help:テンプレートの説明文|解説]]は、[[{{{ 1 | {{Documentation/docname}} }}}]]<small class="plainlinks" style="font-style:normal">([{{
 
      fullurl:{{{ 1 | {{Documentation/docname}} }}}
 
      | action=edit
 
      }} 編集] &#124; [{{
 
      fullurl:{{{ 1 | {{Documentation/docname}} }}}
 
      | action=history
 
      }} 履歴])</small>から[[Help:テンプレート#テンプレートとは|呼び出されて]]います。<br />
 
    |<!-- /doc がない場合:動作なし -->
 
 
   }}
 
   }}
  |<!-- 呼び出し先を表示しない:動作なし -->
+
}}<!--
}}<!-- #ifeq:{{{transcluded|show}}} | show を閉じる。
+
   Start of green doc box.
--><!--
+
-->{{documentation/start box2
   サンドボックス・テストケース処理の開始
+
| preload = {{{preload|}}}   <!--Allow custom preloads-->
-->{{
+
| heading = {{{heading|¬}}}   <!--Empty but defined means no header-->
  #switch:{{SUBPAGENAME}}
+
| heading-style = {{{heading-style|}}}
  |sandbox=<!-- sandbox -->
+
| content = {{#if:{{{content|}}}|1}}
  |testcases=<!-- testcases -->
 
  |#default={{
 
    #switch:{{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 
    | {{ns:template}}/show
 
    | {{ns:user}}/show = <!-- show /sandbox /testcases -->{{
 
      #ifexist:{{ #rel2abs: /sandbox }}
 
      | {{
 
        #ifexist:{{ #rel2abs: /testcases }}
 
        | <!-- /sandbox も /testcases も存在する
 
            -->このテンプレートには、[[/sandbox|サンドボックス]]<small class="plainlinks" style="font-style:normal">([{{
 
          fullurl:{{ #rel2abs: /sandbox }}
 
          | action=edit
 
          }} 編集] {{!}} [{{fullurl:Special:ComparePages | page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}/sandbox}}}} 差分])</small>と[[/testcases|テストケース]]<small class="plainlinks" style="font-style:normal">([{{
 
          fullurl:{{ #rel2abs: /testcases }}
 
          | action=edit
 
          }} 編集])</small>があります。
 
        | <!-- /sandbox は存在するが、 /testcases が存在しない
 
            -->このテンプレートには、[[/sandbox|サンドボックス]]<small class="plainlinks" style="font-style:normal">([{{
 
          fullurl:{{ #rel2abs: /sandbox }}
 
          | action=edit
 
          }} 編集] {{!}} [{{fullurl:Special:ComparePages | page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}/sandbox}}}} 差分])</small>がありますが、[[/testcases|テストケース]]はありません。
 
        }}<!-- #ifexist: {{ #rel2abs: /testcases }} を閉じる -->
 
      | {{
 
        #ifexist:{{ #rel2abs: /testcases }}
 
        | <!-- /sandbox は存在しないが /testcases が存在する
 
            -->このテンプレートには、[[/testcases|テストケース]]<small class="plainlinks" style="font-style:normal">([{{
 
          fullurl: {{ #rel2abs: /testcases }}
 
          | action=edit
 
          }} 編集])</small>がありますが、[[/sandbox|サンドボックス]]はありません。
 
        | <!-- /sandbox も /testcases も存在しない
 
            -->このテンプレートには、[[/sandbox|サンドボックス]]も[[/testcases|テストケース]]もありません。
 
        }}<!-- #ifexist:{{ #rel2abs: /testcases }} を閉じる -->
 
      }}<!-- #ifexist:{{ #rel2abs: /sandbox }} を閉じる -->([[Wikipedia:テンプレートのサンドボックスとテストケース|解説]])<br />
 
    }}<!-- #switch:{{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} を閉じる-->
 
  
}}<!-- #switch:{{SUBPAGENAME}} を閉じる --><!--
+
<!--Some namespaces must have the /doc, /sandbox and /testcases
  呼び出し先とサンドボックス・テストケースの誘導に使われるdivセクションを閉じる。
+
    in talk space-->
--></div><!--
+
| docspace = {{documentation/docspace}}
-->{{#if:{{{content|}}} |
+
 
{{{content}}}
+
| 1 = {{{1|}}}   <!--Other docname, if fed-->
 +
 
 +
<!--The namespace is added in /start box2-->
 +
| template page = {{documentation/template page}}
 +
 
 +
}}<!-- Start content --><!--
 +
  Start load the /doc content:
 +
  Note: The line breaks between this comment and the next line are necessary
 +
  so  "=== Headings ===" at the start and end of docs are interpreted.
 +
-->
 +
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}}
 +
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
 +
| 1111 = {{{content|}}}
 +
| 0110 | 0111 = {{ {{{1}}} }}
 +
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}
 +
| 0000 | 0100 | 0010 | 0101 =
 
}}
 
}}
{{
+
<!--
   {{ #ifexist:{{{ 1 | {{Documentation/docname}} }}}
+
  End load the /doc content:
  | {{{ 1 | {{Documentation/docname}} }}}
+
  Note: The line breaks between this comment and the previous line are necessary
  | ns:0
+
  so  "=== Headings ===" at the start and end of docs are interpreted.
  }}
+
-->{{documentation/end box2
}}<div style="clear:both" /></div>
+
| preload = {{{preload|}}}   <!--Allow custom preloads-->
}}<!-- #ifeq: {{SUBPAGENAME}} | sandbox を閉じる -->
+
| content = {{#if:{{{content|}}}|1}}
 +
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 +
 
 +
<!--Some namespaces must have the /doc, /sandbox and /testcases
 +
    in talk space-->
 +
| docspace = {{documentation/docspace}}
 +
 
 +
| 1 = {{{1|}}}   <!--Other docname, if fed-->
 +
 
 +
<!--The namespace is added in /end box2-->
 +
| template page = {{documentation/template page}}
 +
 
 +
}}<!--
 +
  End of green doc box
 +
--><noinclude>
 +
 
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

2014年3月27日 (木) 02:51時点における版

{{#ifeq: Documentation | sandbox

|

{{

 #ifeq: Documentation | sandbox
 |{{#ifeq:|yes

|

{{#ifeq:{{#if: | {{{smallimage}}} | }}|none | | }} {{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} | {{#if:{{#if: | {{{smallimageright-file}}} | }}| }} }}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}}

|

{{#ifeq:|none | | }} {{#if: | {{#ifeq:|none | | }} | {{#if:| }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}{{

   #ifeq: テンプレート | テンプレート
   |
 }}
 |

}} }}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|テンプレート
   | template
   | other
   }}
 }}

| template = {{#ifeq: | sysop

 | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = protection | image = [[File:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
|full=Padlock.svg
|semi=Padlock-silver.svg
|move=Padlock-olive-arrow.svg
|indef=Padlock-red-inf.svg
|semiindef=Padlock-violet.svg
|office=Padlock-black.svg
|create=Padlock-skyblue-plus.svg
|#default=Transparent.gif

}}|40px|この{{#ifeq:テンプレート|ファイル|影響の特に大きいテンプレートまたはメッセージに使用されている画像|影響が特に大きいテンプレート}}は、荒らしを予防するために無期限に{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=編集半保護
  |move=移動保護
  |administrator
  |full
  |sysop
  |#default=編集保護}}されています。]]

| image-file = | image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle = | text = この{{#switch:テンプレート

 |ファイル=影響が特に大きいテンプレート{{#switch:
  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop=およびシステムメッセージ
  |#default=}}に使用されている画像
 |#default=影響が特に大きいテンプレート

}}は荒らしを予防するために、{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=半 |move=移動・ |administrator |full |sysop |#default=}}{{#ifeq:-|-sysop||編集}}保護されています。 {{#switch:

  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop
  |#default={{#switch:テンプレート|ファイル=
この画像をウィキメディア・コモンズ移動しないでください}}}}
{{#ifeq:no|yes|この保護は{{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|現在のページ名|現在の版の内容}}を支持するものではありません。}}詳しくは保護の方針および保護記録をご覧ください。{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。{{#ifeq:テンプレート|MediaWiki||またこの{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}の保護解除を依頼することも可能です。}} |indef=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。 |semi=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}保護解除を依頼するログインまたはアカウントを作成することができます。 |semiindef=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}ログインまたはアカウントを作成することができます。 |move=このページは編集可能ですが、保護解除されるまで移動できません。移動が必要と思われる場合は、ノートページで議論するか、Wikipedia:移動依頼で依頼してください。保護の解除を依頼することも可能です。 |office=あなたにこのページの編集権限がある場合でも、まず事前にノートページですべての予定している編集について話し合ってください。ウィキメディア財団から許可されていない限り、このページの保護を解除しないでください。 |create=このページが以前に削除された理由については、{{#if:|[[{{{xfd}}}|削除依頼の議論]]または}} 削除記録をご覧ください。このページ名のページを作成したい場合、まず保護の解除を依頼する必要があります。

}} | small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section = | text-section = この{{#switch:テンプレート

 |ファイル=影響が特に大きいテンプレート{{#switch:
  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop=およびシステムメッセージ
  |#default=}}に使用されている画像
 |#default=影響が特に大きいテンプレート

}}は荒らしを予防するために、{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=半 |move=移動・ |administrator |full |sysop |#default=}}{{#ifeq:-|-sysop||編集}}保護されています。 {{#switch:

  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop
  |#default={{#switch:テンプレート|ファイル=
この画像をウィキメディア・コモンズ移動しないでください}}}}
{{#ifeq:no|yes|この保護は{{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|現在のページ名|現在の版の内容}}を支持するものではありません。}}詳しくは保護の方針および保護記録をご覧ください。{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。{{#ifeq:テンプレート|MediaWiki||またこの{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}の保護解除を依頼することも可能です。}} |indef=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。 |semi=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}保護解除を依頼するログインまたはアカウントを作成することができます。 |semiindef=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}ログインまたはアカウントを作成することができます。 |move=このページは編集可能ですが、保護解除されるまで移動できません。移動が必要と思われる場合は、ノートページで議論するか、Wikipedia:移動依頼で依頼してください。保護の解除を依頼することも可能です。 |office=あなたにこのページの編集権限がある場合でも、まず事前にノートページですべての予定している編集について話し合ってください。ウィキメディア財団から許可されていない限り、このページの保護を解除しないでください。 |create=このページが以前に削除された理由については、{{#if:|[[{{{xfd}}}|削除依頼の議論]]または}} 削除記録をご覧ください。このページ名のページを作成したい場合、まず保護の解除を依頼する必要があります。

}} }} }}|}}{{#ifeq:{{#ifeq:テンプレート|テンプレート|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop=
  |#default= }}}}{{#ifeq:テンプレート|ファイル|[[category:{{#switch:
  |semi
  |autoconfirmed=半保護
  |administrator
  |full
  |sysop
  |#default=保護}}された画像]]}}|no||{{#ifeq:テンプレート|テンプレート|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop=
  |#default= }}}}{{#ifeq:テンプレート|ファイル|[[Category:{{#switch:
  |semi
  |autoconfirmed=半保護
  |administrator
  |full
  |sysop
  |#default=保護}}された画像]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:documentation/テンプレート|documentation/テンプレート|undefined|{{#ifeq:documentation|sandbox|sysop|undefined}}}}
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:yes|yes|

| {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = protection | image = [[File:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
|full=Padlock.svg
|semi=Padlock-silver.svg
|move=Padlock-olive-arrow.svg
|indef=Padlock-red-inf.svg
|semiindef=Padlock-violet.svg
|office=Padlock-black.svg
|create=Padlock-skyblue-plus.svg
|#default=Transparent.gif

}}|40px|この{{#ifeq:テンプレート|ファイル|影響の特に大きいテンプレートまたはメッセージに使用されている画像|影響が特に大きいテンプレート}}は、荒らしを予防するために無期限に{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=編集半保護
  |move=移動保護
  |administrator
  |full
  |sysop
  |#default=編集保護}}されています。]]

| image-file = | image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle = | text = この{{#switch:テンプレート

 |ファイル=影響が特に大きいテンプレート{{#switch:
  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop=およびシステムメッセージ
  |#default=}}に使用されている画像
 |#default=影響が特に大きいテンプレート

}}は荒らしを予防するために、{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=半 |move=移動・ |administrator |full |sysop |#default=}}{{#ifeq:-|-sysop||編集}}保護されています。 {{#switch:

  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop
  |#default={{#switch:テンプレート|ファイル=
この画像をウィキメディア・コモンズ移動しないでください}}}}
{{#ifeq:no|yes|この保護は{{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|現在のページ名|現在の版の内容}}を支持するものではありません。}}詳しくは保護の方針および保護記録をご覧ください。{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。{{#ifeq:テンプレート|MediaWiki||またこの{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}の保護解除を依頼することも可能です。}} |indef=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。 |semi=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}保護解除を依頼するログインまたはアカウントを作成することができます。 |semiindef=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}ログインまたはアカウントを作成することができます。 |move=このページは編集可能ですが、保護解除されるまで移動できません。移動が必要と思われる場合は、ノートページで議論するか、Wikipedia:移動依頼で依頼してください。保護の解除を依頼することも可能です。 |office=あなたにこのページの編集権限がある場合でも、まず事前にノートページですべての予定している編集について話し合ってください。ウィキメディア財団から許可されていない限り、このページの保護を解除しないでください。 |create=このページが以前に削除された理由については、{{#if:|[[{{{xfd}}}|削除依頼の議論]]または}} 削除記録をご覧ください。このページ名のページを作成したい場合、まず保護の解除を依頼する必要があります。

}} | small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section = | text-section = この{{#switch:テンプレート

 |ファイル=影響が特に大きいテンプレート{{#switch:
  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop=およびシステムメッセージ
  |#default=}}に使用されている画像
 |#default=影響が特に大きいテンプレート

}}は荒らしを予防するために、{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=半 |move=移動・ |administrator |full |sysop |#default=}}{{#ifeq:-|-sysop||編集}}保護されています。 {{#switch:

  |semi
  |autoconfirmed=
  |administrator
  |full
  |sysop
  |#default={{#switch:テンプレート|ファイル=
この画像をウィキメディア・コモンズ移動しないでください}}}}
{{#ifeq:no|yes|この保護は{{#ifeq:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}}|move|現在のページ名|現在の版の内容}}を支持するものではありません。}}詳しくは保護の方針および保護記録をご覧ください。{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |full=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。{{#ifeq:テンプレート|MediaWiki||またこの{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}の保護解除を依頼することも可能です。}} |indef=変更についてはノートページで議論してください。合意形成後に管理者に編集を依頼する際には{{{{#if:|subst:}}保護編集依頼{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||{{{8}}}}}{{#if:||{{{9}}}}}{{#if:||{{{10}}}}}{{#if:||{{{11}}}}}{{#if:||...}}}} テンプレートが使用できます。 |semi=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}保護解除を依頼するログインまたはアカウントを作成することができます。 |semiindef=この{{#switch:テンプレート|=記事|ファイル=画像|#default=ページ}}が編集できない場合、{{#ifeq:テンプレート|テンプレート・トーク||ノートページで変更を提案するか、}}ログインまたはアカウントを作成することができます。 |move=このページは編集可能ですが、保護解除されるまで移動できません。移動が必要と思われる場合は、ノートページで議論するか、Wikipedia:移動依頼で依頼してください。保護の解除を依頼することも可能です。 |office=あなたにこのページの編集権限がある場合でも、まず事前にノートページですべての予定している編集について話し合ってください。ウィキメディア財団から許可されていない限り、このページの保護を解除しないでください。 |create=このページが以前に削除された理由については、{{#if:|[[{{{xfd}}}|削除依頼の議論]]または}} 削除記録をご覧ください。このページ名のページを作成したい場合、まず保護の解除を依頼する必要があります。

}} }} }}|}}{{#ifeq:{{#ifeq:テンプレート|テンプレート|{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop=
  |#default= }}}}{{#ifeq:テンプレート|ファイル|[[category:{{#switch:
  |semi
  |autoconfirmed=半保護
  |administrator
  |full
  |sysop
  |#default=保護}}された画像]]}}|no||{{#ifeq:テンプレート|テンプレート|{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed={{#ifeq:|sysop|}}
  |move=
  |administrator
  |full
  |sysop=
  |#default= }}}}{{#ifeq:テンプレート|ファイル|[[Category:{{#switch:
  |semi
  |autoconfirmed=半保護
  |administrator
  |full
  |sysop
  |#default=保護}}された画像]]}}}}
   | 
   }}
 }}

| other | #default =

}}

{{#ifeq: ¬ |

|

|
{{#switch: ¬
 | ¬ =   
   {{#switch: テンプレート 
   | テンプレート = Documentation icon テンプレートの解説
   | モジュール = Documentation icon モジュールの解説
   | ファイル = 要約
   | #default = 解説
   }}
 | #default = 
   ¬
 }}{{
 #if: {{#if:|1}}
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

   }}
 | yes
 }}
   | [[[{{#if: 
 | 
 | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

 }}|表示]]] [[{{fullurl:{{#if: 
 | 
 | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

 }}|action=edit}} 編集]] [[{{fullurl:{{#if: 
 | 
 | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

 }}|action=history}} 履歴]] [キャッシュ破棄] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

 }}| action=edit&preload={{
       #if:  
       | 
       | {{#ifeq: テンプレート | ファイル
         | Template:Documentation/preload-filespace
         | Template:Documentation/preload
         }} }} }} 作成]]
   }}
}}

}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: テンプレート

 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: テンプレート

 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if:  
   |   
   | {{#switch: テンプレート
 | 
 | ファイル
 | MediaWiki
 | カテゴリ = テンプレート・トーク
 | #default = テンプレート

}}:{{#switch: Documentation | sandbox | testcases = Documentation | #default = Documentation }}/doc

   }} 
 | yes
 }}{{
   #switch: テンプレート
   | 利用者
   | テンプレート = yes
   }}
 }}

|

{{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}}{{#ifeq:Documentation|Documentation|{{#ifeq:テンプレート|Template|}}}} }}{{#if:

 {{#switch: Documentation
 | doc
 | testcases = strange
 }}

|

}}