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

:en:Template:Substituteからコピー
 
文言をjawpに合わせる
 
1行目: 1行目:
<includeonly>{{Mbox
<includeonly>{{Mbox
| type = notice
| type = notice
| text = <span style{{=}}"font-size: 16px;">'''This template {{#switch: {{trim|{{lc: {{{1|}}}}}}}
| text = <span style{{=}}"font-size: 16px;">'''このテンプレートは{{#switch: {{trim|{{lc: {{{1|}}}}}}}
   | always = should always be [[mw:help:substitution|substituted]]''' (i.e. use <code><nowiki>{{subst:</nowiki>{{{tname|{{ROOTPAGENAME}}}}}<nowiki>}}</nowiki></code>).{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substituted templates]]}}|}}}}
   | always = 常に[[wiki:Help:テンプレート#テンプレートの内容で置き換える|Subst展開]]してください。'''次のように入力します。<code><nowiki>{{subst:</nowiki>{{{tname|{{ROOTPAGENAME}}}}}<nowiki>}}</nowiki></code>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Subst展開するテンプレート]]}}|}}}}
   | no = should ''not'' be [[mw:help:substitution|substituted]].'''
   | no = 常に[[wiki:Help:テンプレート#テンプレートの内容で置き換える|Subst展開]]''しないで''ください。'''
   | #default = may be [[mw:help:substitution|substituted]].'''{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc: {{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substitutable templates]]}}|}}}}
   | #default = [[wiki:Help:テンプレート#テンプレートの内容で置き換える|Subst展開]]してもよいです。'''{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc: {{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Subst展開可能テンプレート]]}}|}}}}
   }}</span>
   }}</span>
| icon = Icon-Substitute.png
| icon = Icon-Substitute.png
11行目: 11行目:
{{documentation}}
{{documentation}}


[[Category:Message boxes]]
[[Category:メッセージボックス]]
</noinclude>
</noinclude>