「テンプレート:Documentation」の版間の差分
提供: Yourpedia
								
												
				| 細 (マジックワードのバグに対応) | |||
| 1行目: | 1行目: | ||
| − | + | <div class="template-documentation" style="clear: both; margin: 1em 0 1em 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px"><!-- | |
| − | + | ||
| styleパラメータは、本来はスタイルシートに記述するべき? | styleパラメータは、本来はスタイルシートに記述するべき? | ||
| 56行目: | 55行目: | ||
|    サンドボックス・テストケース処理の開始 |    サンドボックス・テストケース処理の開始 | ||
| -->{{ | -->{{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
|      #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} |      #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} | ||
|      | {{ns:template}}/show |      | {{ns:template}}/show | ||
| 67行目: | 62行目: | ||
|          #ifexist: {{ #rel2abs: /testcases }} |          #ifexist: {{ #rel2abs: /testcases }} | ||
|          | <!-- /sandbox も /testcases も存在する |          | <!-- /sandbox も /testcases も存在する | ||
| − |              -->このテンプレートには[[/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | + |              -->このテンプレートには[[{{FULLPAGENAME}}/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /sandbox }} |            fullurl: {{ #rel2abs: /sandbox }} | ||
|            | action=edit |            | action=edit | ||
| − |            }} 編集])</small>と[[/testcases|テストケース]]<small style="font-style: normal">([{{ | + |            }} 編集])</small>と[[{{FULLPAGENAME}}/testcases|テストケース]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /testcases }} |            fullurl: {{ #rel2abs: /testcases }} | ||
|            | action=edit |            | action=edit | ||
|            }} 編集])</small>があります。<br /> |            }} 編集])</small>があります。<br /> | ||
|          | <!-- /sandbox は存在するが、 /testcases が存在しない |          | <!-- /sandbox は存在するが、 /testcases が存在しない | ||
| − |              -->このテンプレートには、[[/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | + |              -->このテンプレートには、[[{{FULLPAGENAME}}/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /sandbox }} |            fullurl: {{ #rel2abs: /sandbox }} | ||
|            | action=edit |            | action=edit | ||
| − |            }} 編集])</small>がありますが、[[/testcases|テストケース]]<small style="font-style: normal">([{{ | + |            }} 編集])</small>がありますが、[[{{FULLPAGENAME}}/testcases|テストケース]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /testcases }} |            fullurl: {{ #rel2abs: /testcases }} | ||
|            | action=edit |            | action=edit | ||
| 86行目: | 81行目: | ||
|          #ifexist: {{ #rel2abs: /testcases }} |          #ifexist: {{ #rel2abs: /testcases }} | ||
|          | <!-- /sandbox は存在しないが /testcases が存在する |          | <!-- /sandbox は存在しないが /testcases が存在する | ||
| − |               -->このテンプレートには、[[/testcases|テストケース]]<small style="font-style: normal">([{{ | + |               -->このテンプレートには、[[{{FULLPAGENAME}}/testcases|テストケース]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /testcases }} |            fullurl: {{ #rel2abs: /testcases }} | ||
|            | action=edit |            | action=edit | ||
| − |            }} 編集])</small>がありますが、[[/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | + |            }} 編集])</small>がありますが、[[{{FULLPAGENAME}}/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /sandbox }} |            fullurl: {{ #rel2abs: /sandbox }} | ||
|            | action=edit |            | action=edit | ||
|            }} 編集])</small>はありません。<br /> |            }} 編集])</small>はありません。<br /> | ||
|          | <!-- /sandbox も /testcases も存在しない |          | <!-- /sandbox も /testcases も存在しない | ||
| − |               -->このテンプレートは[[/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | + |               -->このテンプレートは[[{{FULLPAGENAME}}/sandbox|サンドボックス]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /sandbox }} |            fullurl: {{ #rel2abs: /sandbox }} | ||
|            | action=edit |            | action=edit | ||
| − |            }} 編集])</small>も[[/testcases|テストケース]]<small style="font-style: normal">([{{ | + |            }} 編集])</small>も[[{{FULLPAGENAME}}/testcases|テストケース]]<small style="font-style: normal">([{{ | 
|            fullurl: {{ #rel2abs: /testcases }} |            fullurl: {{ #rel2abs: /testcases }} | ||
|            | action=edit |            | action=edit | ||
| 103行目: | 98行目: | ||
|          }}<!-- #ifexist: {{ #rel2abs: /testcases }} を閉じる --> |          }}<!-- #ifexist: {{ #rel2abs: /testcases }} を閉じる --> | ||
|        }}<!-- #ifexist: {{ #rel2abs: /sandbox }} を閉じる --> |        }}<!-- #ifexist: {{ #rel2abs: /sandbox }} を閉じる --> | ||
| − |      }}<!-- #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show} | + |      }}<!-- #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}} を閉じる--><!-- | 
| − | + | ||
| − | + | ||
|    呼び出し先とサンドボックス・テストケースの誘導に使われるdivセクションを閉じる。 |    呼び出し先とサンドボックス・テストケースの誘導に使われるdivセクションを閉じる。 | ||
| --></div><!-- | --></div><!-- | ||
2009年12月15日 (火) 12:15時点における版
{{
#if: 解説|
{{
#ifexist: |[[テンプレート:fullurl: 閲覧]] [[テンプレート:fullurl: 編集]] |{{ #if: | |[[テンプレート:fullurl: 編集]] }}}}解説
|}}
{{
{{#if:  | {{{content}}} }}
 #ifeq: show | show
 |{{
   #ifexist:   
   |この解説は[[  ]]から呼び出されています([[[:テンプレート:fullurl:]] 編集] | [[[:テンプレート:fullurl:]] 履歴])。
   |
 }}
 |
}}{{
   #switch: テンプレート/show
   | テンプレート/show
   | 利用者/show = {{
     #ifexist: {{ #rel2abs: /sandbox }}
     | {{
       #ifexist: {{ #rel2abs: /testcases }}
       | このテンプレートにはサンドボックス([{{
         fullurl: {{ #rel2abs: /sandbox }}
         | action=edit
         }} 編集])とテストケース([{{
         fullurl: {{ #rel2abs: /testcases }}
         | action=edit
         }} 編集])があります。
       | このテンプレートには、サンドボックス([{{
         fullurl: {{ #rel2abs: /sandbox }}
         | action=edit
         }} 編集])がありますが、テストケース([{{
         fullurl: {{ #rel2abs: /testcases }}
         | action=edit
         }} 編集])はありません。
       }}
     | {{
       #ifexist: {{ #rel2abs: /testcases }}
       | このテンプレートには、テストケース([{{
         fullurl: {{ #rel2abs: /testcases }}
         | action=edit
         }} 編集])がありますが、サンドボックス([{{
         fullurl: {{ #rel2abs: /sandbox }}
         | action=edit
         }} 編集])はありません。
       | このテンプレートはサンドボックス([{{
         fullurl: {{ #rel2abs: /sandbox }}
         | action=edit
         }} 編集])もテストケース([{{
         fullurl: {{ #rel2abs: /testcases }}
         | action=edit
         }} 編集])もありません。
       }}
     }}
    }}{{
 {{ #ifexist:   
 |   
 | ns:0
 }}
}}

