「Template:O」修訂間的差異
跳至導覽
跳至搜尋
(未顯示由 5 位使用者於中間所作的 17 次修訂) | |||
行 1: | 行 1: | ||
− | <includeonly><code title=" | + | <includeonly><code title=" 可选字段 '{{{1}}}'">[{{{1}}}{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||{{{6}}}}}{{#if:{{{7|}}}||{{{7}}}}}]</code></includeonly><noinclude>{{Englishdoc}} |
+ | |||
+ | == 说明 == | ||
+ | 这个模板用于快速格式化模组文档中可选(即根据需求填写)的字段。因为使用时重复次数较高,方便起见,模板名只有一个字母。 | ||
+ | |||
+ | == 用法 == | ||
+ | {|class="wikitable" | ||
+ | |- | ||
+ | ! 用法 | ||
+ | ! 代码 | ||
+ | ! 显示效果 | ||
+ | |- | ||
+ | | 将此模板放在页面上使用。 | ||
+ | | <pre>{{O|field name}}</pre> | ||
+ | | {{O|field name}} | ||
+ | |} | ||
+ | |||
+ | == 也见 == | ||
+ | * [[模板:T]]</noinclude> |