“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> |