「テンプレート:使用例」の版間の差分
細 →使い方 |
細 「テンプレート:使用例」を保護しました ([移動=管理者のみ許可] (無期限)) |
||
| (他の1人の利用者による、間の3版が非表示) | |||
| 24行目: | 24行目: | ||
[[カテゴリ:メタテンプレート|しようれい]] | [[カテゴリ:メタテンプレート|しようれい]] | ||
</noinclude><includeonly><table class="wikitable usage-example"> | </noinclude><includeonly><table class="wikitable usage-example" style="table-layout:fixed;width:100%;"> | ||
<tr class="plainlinks"> | <tr class="plainlinks"> | ||
<th style="width:50%;">入力内容{{#if:{{{code|}}} ||<small>([{{fullurl:{{{name|{{FULLPAGENAME}}/使用例}}}|action=edit}} <span title="この使用例を編集します">編集</span>])</small>}}</th> | <th style="width:50%;">入力内容{{#if:{{{code|}}} ||<small>([{{fullurl:{{{name|{{FULLPAGENAME}}/使用例}}}|action=edit}} <span title="この使用例を編集します">編集</span>])</small>}}</th> | ||
<th style="width:50%;">出力結果</th> | <th style="width:50%;">出力結果</th> | ||
</tr> | </tr> | ||
{{#if:{{{code|}}} |<tr><td class="source | {{#if:{{{code|}}} |<tr><td class="source">{{{code-pre|{{#tag:pre|{{{code}}} }} }}}</td><td class="result"> | ||
{{{code}}} | {{{code}}} | ||
</td></tr> |<tr><td class="source | </td></tr> |<tr><td class="source"> | ||
{{msgnw::{{{name|{{FULLPAGENAME}}/使用例}}} }} | {{#tag:p<includeonly/>re|{{msgnw::{{{name|{{FULLPAGENAME}}/使用例}}} }} }} | ||
</td><td class="result"> | </td><td class="result"> | ||
{{:{{{name|{{FULLPAGENAME}}/使用例}}} }} | {{:{{{name|{{FULLPAGENAME}}/使用例}}} }} | ||
</td></tr> }} | </td></tr> }} | ||
</table></includeonly> | </table></includeonly> | ||