|   |  | 
| 1行目: | 1行目: | 
| − | <div class="template-documentation" style="clear: both; margin: 1em 0 1em 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px"><!-- | + | <div class="template-documentation" style="clear: both; margin: 1em 0 1em 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px"> | 
|  | + | ''この記事から呼び出されているウィキペディア由来のテンプレート「[[Template:Documentation]]」は、正しく表示されないため無効化されました([[wiki:Template:Documentation|原版はこちら]])。'' | 
|  | + | </div><noinclude> | 
|  |  |  |  | 
| − | styleパラメータは、本来はスタイルシートに記述するべき?
 | + | このテンプレートを表示するのに必要な機能がYourpediaに復帰された場合は、[http://ja.yourpedia.org/mediawiki/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Documentation&oldid=99631 無効化される前の版]に戻してください。</noinclude> | 
| − | …スタイルシートをどこから見つけたのか忘れてしまった。--> 
 | + |  | 
| − | {{
 | + |  | 
| − |   #if: {{{heading|解説}}}
 | + |  | 
| − |   |<!-- headingがキャンセルされていない場合。
 | + |  | 
| − |          headingが指定されていなければ、デフォルトの「解説」になる。
 | + |  | 
| − |          {{Documentation|heading=}}のように設定することでキャンセルできる。
 | + |  | 
| − |    --><div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span id="doc_editlinks" class="editsection plainlinks">{{
 | + |  | 
| − |     #ifexist: {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |     |<!-- /doc がある
 | + |  | 
| − |       -->[[{{
 | + |  | 
| − |       fullurl:{{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |       }} 閲覧]] [[{{
 | + |  | 
| − |       fullurl: {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |       | action=edit
 | + |  | 
| − |       }} 編集]]
 | + |  | 
| − |     |<!-- /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%}}}">{{{heading|解説}}}</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}} }}}]]から[[Help:テンプレート#テンプレートとは|呼び出されて]]います<small style="font-style: normal">([{{
 | + |  | 
| − |       fullurl: {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |       | action=edit
 | + |  | 
| − |       }} 編集] | [{{
 | + |  | 
| − |       fullurl: {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |       | action=history
 | + |  | 
| − |       }} 履歴])。</small><br />
 | + |  | 
| − |     |<!-- /doc がない場合:動作なし -->
 | + |  | 
| − |   }}
 | + |  | 
| − |   |<!-- 呼び出し先を表示しない:動作なし -->
 | + |  | 
| − | }}<!-- #ifeq: {{{transcluded|show}}} | show を閉じる。
 | + |  | 
| − | --><!--
 | + |  | 
| − |   サンドボックス・テストケース処理の開始
 | + |  | 
| − | -->{{
 | + |  | 
| − |     #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 | + |  | 
| − |     | {{ns:template}}/show
 | + |  | 
| − |     | {{ns:user}}/show = <!-- show /sandbox /testcases -->{{
 | + |  | 
| − |       #ifexist: {{ #rel2abs: /sandbox }}
 | + |  | 
| − |       | {{
 | + |  | 
| − |         #ifexist: {{ #rel2abs: /testcases }}
 | + |  | 
| − |         | <!-- /sandbox も /testcases も存在する
 | + |  | 
| − |             -->このテンプレートには[[{{ #rel2abs: /sandbox }}|サンドボックス]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /sandbox }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>と[[{{ #rel2abs: /testcases }}|テストケース]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /testcases }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>があります。
 | + |  | 
| − |         | <!-- /sandbox は存在するが、 /testcases が存在しない
 | + |  | 
| − |             -->このテンプレートには、[[{{ #rel2abs: /sandbox }}|サンドボックス]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /sandbox }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>がありますが、[[{{ #rel2abs: /testcases }}|テストケース]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /testcases }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>はありません。
 | + |  | 
| − |         }}<!-- #ifexist: {{ #rel2abs: /testcases }} を閉じる -->
 | + |  | 
| − |       | {{
 | + |  | 
| − |         #ifexist: {{ #rel2abs: /testcases }}
 | + |  | 
| − |         | <!-- /sandbox は存在しないが /testcases が存在する
 | + |  | 
| − |              -->このテンプレートには、[[{{ #rel2abs: /testcases }}|テストケース]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /testcases }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>がありますが、[[{{ #rel2abs: /sandbox }}|サンドボックス]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /sandbox }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>はありません。
 | + |  | 
| − |         | <!-- /sandbox も /testcases も存在しない
 | + |  | 
| − |              -->このテンプレートは[[{{ #rel2abs: /sandbox }}|サンドボックス]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /sandbox }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>も[[{{ #rel2abs: /testcases }}|テストケース]]<small style="font-style: normal">([{{
 | + |  | 
| − |           fullurl: {{ #rel2abs: /testcases }}
 | + |  | 
| − |           | action=edit
 | + |  | 
| − |           }} 編集])</small>もありません。
 | + |  | 
| − |         }}<!-- #ifexist: {{ #rel2abs: /testcases }} を閉じる -->
 | + |  | 
| − |       }}<!-- #ifexist: {{ #rel2abs: /sandbox }} を閉じる -->([[Yourpedia:テンプレートのサンドボックスとテストケース|解説]])<br />
 | + |  | 
| − |     }}<!-- #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} を閉じる--><!--
 | + |  | 
| − |   呼び出し先とサンドボックス・テストケースの誘導に使われるdivセクションを閉じる。
 | + |  | 
| − | --></div><!--
 | + |  | 
| − | -->{{#if: {{{content|}}} | {{{content}}} }}
 | + |  | 
| − | {{
 | + |  | 
| − |   {{ #ifexist: {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |   | {{{ 1 | {{Documentation/docname}} }}}
 | + |  | 
| − |   | ns:0
 | + |  | 
| − |   }}
 | + |  | 
| − | }}
 | + |  | 
| − | </div> | + |  |