Changes
Jump to navigation
Jump to search
Template:Documentation/end box/ja (view source)
Revision as of 06:51, 18 November 2018
, 06:51, 18 November 2018Updating to match new version of source page
<noinclude><div></noinclude><div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
</div><!--End of green doc box--><!--
Link box below for the doc meta-data:
-->{{#if:
<!--Check if we should show the link box-->
{{#ifeq: {{{link box|}}} | off
|
| {{{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Template}} = yes
}}
}}
| {{fmbox
| id = documentation-meta-data
| image = none
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| text =
{{#if: {{{link box|}}}
| {{{link box}}} <!--Use custom link box content-->
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
上記の[[Wikipedia:Wikipedia:Template documentation|解説]]は [[{{{docpage|{{FULLPAGENAME}}/doc}}}]] から[[Wikipedia:Wikipedia:Transclusion|参照読み込み]]されています。<small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 編集] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 履歴])</small> <br />
|<!-- /doc does not exist, ask to create one?
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:Module}} = You might want to [{{fullurl: {{{docpage| {{FULLPAGENAME}}/doc }}} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this [[Wikipedia:Wikipedia:Lua|Scribunto module]]<br>
| #default =
}}
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Module}}
| {{ns:Template}} =
編集者は、この{{#switch: {{SUBJECTSPACE}} | {{ns:module}} = モジュールの | #default = テンプレートの}} {{
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|サンドボックス]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} 編集] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} 差分])</small>
| サンドボックス <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}sandbox }} 作成] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:[[{{{template page|{{FULLPAGENAME}}}}}]]のサンドボックス版を作成}} }} ミラー])</small>
}} や{{
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|テストケース]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
| テストケース <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases&summary={{urlencode:Create testcases page for [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} 作成])</small>
}} のページで、このテンプレートをテストできます。<br />
}}<!--
Show the cats and interwiki text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats and interwikis.
-->{{#if: {{{content|}}} {{{docname fed|}}}
|
| カテゴリは、下位ページ [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] に追加してください。
}}<!--
Show the "Subpages" link:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:File}} = <!--Don't show it-->
| {{ns:Module}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このモジュールの下位ページ]].
| {{ns:Template}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このテンプレートの下位ページ]]。
| #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このページの下位ページ]]。
}}
}}{{#ifexist:{{FULLPAGENAME}}/Print
|<br />このテンプレートの[[Help:Books/for experts#Improving the book layout|印刷バージョン]]が [[/Print]] にあります。このテンプレートを変更する場合は、印刷バージョンも同様に変更してください。[[Category:Templates with print versions/ja]]
}}
}}
}}<!--End link box--><!--
Detect and report strange usage:
-->{{#if:
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
| doc
| testcases = strange
}}
<!--More checks can be added here, just return anything
to make the surrounding if-case trigger-->
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage/ja|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
}}
<noinclude>{{Languages|Template:Documentation/end_box}}</noinclude>
</div><!--End of green doc box--><!--
Link box below for the doc meta-data:
-->{{#if:
<!--Check if we should show the link box-->
{{#ifeq: {{{link box|}}} | off
|
| {{{doc exist|yes}}}{{
#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Template}} = yes
}}
}}
| {{fmbox
| id = documentation-meta-data
| image = none
| style = background-color: #ecfcf4;
| textstyle = font-style: italic;
| text =
{{#if: {{{link box|}}}
| {{{link box}}} <!--Use custom link box content-->
| {{#if: {{{doc exist|yes}}}
| <!--/doc exists, link to it-->
上記の[[Wikipedia:Wikipedia:Template documentation|解説]]は [[{{{docpage|{{FULLPAGENAME}}/doc}}}]] から[[Wikipedia:Wikipedia:Transclusion|参照読み込み]]されています。<small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 編集] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 履歴])</small> <br />
|<!-- /doc does not exist, ask to create one?
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:Module}} = You might want to [{{fullurl: {{{docpage| {{FULLPAGENAME}}/doc }}} | action=edit&preload=Template:Documentation/preload-module-doc }} create] a documentation page for this [[Wikipedia:Wikipedia:Lua|Scribunto module]]<br>
| #default =
}}
}}<!--
Add links to /sandbox and /testcases when appropriate:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:User}}
| {{ns:Module}}
| {{ns:Template}} =
編集者は、この{{#switch: {{SUBJECTSPACE}} | {{ns:module}} = モジュールの | #default = テンプレートの}} {{
#ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}
| [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|サンドボックス]] <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} 編集] <nowiki>|</nowiki> [{{fullurl:Special:ComparePages | page1={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&page2={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} 差分])</small>
| サンドボックス <small style="font-style: normal">([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}sandbox }} 作成] <nowiki>|</nowiki> [{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&preload={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&summary={{urlencode:[[{{{template page|{{FULLPAGENAME}}}}}]]のサンドボックス版を作成}} }} ミラー])</small>
}} や{{
#ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}
| [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|テストケース]] <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])</small>
| テストケース <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-{{#ifeq: {{SUBJECTSPACE}}|{{ns:Module}}|module-}}testcases&summary={{urlencode:Create testcases page for [[{{{template page|{{FULLPAGENAME}}}}}]]}} }} 作成])</small>
}} のページで、このテンプレートをテストできます。<br />
}}<!--
Show the cats and interwiki text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats and interwikis.
-->{{#if: {{{content|}}} {{{docname fed|}}}
|
| カテゴリは、下位ページ [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] に追加してください。
}}<!--
Show the "Subpages" link:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:File}} = <!--Don't show it-->
| {{ns:Module}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このモジュールの下位ページ]].
| {{ns:Template}} =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このテンプレートの下位ページ]]。
| #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|このページの下位ページ]]。
}}
}}{{#ifexist:{{FULLPAGENAME}}/Print
|<br />このテンプレートの[[Help:Books/for experts#Improving the book layout|印刷バージョン]]が [[/Print]] にあります。このテンプレートを変更する場合は、印刷バージョンも同様に変更してください。[[Category:Templates with print versions/ja]]
}}
}}
}}<!--End link box--><!--
Detect and report strange usage:
-->{{#if:
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
{{#switch: {{SUBPAGENAME}}
| doc
| testcases = strange
}}
<!--More checks can be added here, just return anything
to make the surrounding if-case trigger-->
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage/ja|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
}}
<noinclude>{{Languages|Template:Documentation/end_box}}</noinclude>