“Template:Main Characters Infolist/brick”与“Template:Navbar”:页面之间的差异
< Template:Main Characters Infolist(页面间差异)
跳到导航
跳到搜索
imported>Nostalgia (创建页面,内容为“<noinclude>{| class="wikitable-green" </noinclude> |- !colspan="2" |{{{Name}}} |- valign="top" |width="200px" |{{#if: {{{image|}}} | [[File:{{{image}}}|200px]] | F...”) |
imported>=海豚= 无编辑摘要 |
||
第1行: | 第1行: | ||
< | <includeonly><!-- | ||
|- | |||
! | -->{{#if:{{{nodiv|}}} |<!--then: | ||
|- | --> <span class="noprint plainlinks hlist navbar nomobile" style="{{{style|}}}"> |<!--else: | ||
| | --><div class="noprint plainlinks hlist navbar nomobile" style="{{{style|}}}"><!-- | ||
| | -->}}<!-- | ||
|- | |||
-->{{#if:{{{brackets|}}}|[}}{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | |||
<noinclude> | -->本模板: <!-- | ||
-->}}<!-- | |||
-->{{#if:{{{mini|}}} |<!--then: | |||
-->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=查看这个模板|zh-hant=檢視這個模板}}">查</span>]]{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=关于这个模板的讨论页面|zh-hant=關於這個模板的討論頁面}}">论</span>]]{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=您可以编辑这个模板。请在储存变更之前先预览|zh-hant=您可以編輯這個模板。請在儲存變更之前先預覽}}">编</span>]{{#if:{{{history|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=查看这个模板的编辑历史|zh-hant=查詢這個模板的編輯歷史}}">歷</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=清除这个模板的缓存|zh-hant=清除這個模板的緩存}}">清</span>]|}}<!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | |||
-->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=查看这个模板|zh-hant檢視這個模板}}">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!-- | |||
-->|<!--else:(nothing)--> |}}<!-- | |||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | |||
-->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=查看这个模板|zh-hant檢視這個模板}}>{{lan|zh-hans=查看|zh-hant=檢視}}</span>]]{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=关于这个模板的讨论页面|zh-hant=關於這個模板的討論頁面}}">討論</span>]]{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=您可以编辑这个模板。请在储存变更之前先预览|zh-hant=您可以編輯這個模板。請在儲存變更之前先預覽}}">編輯</span>]{{#if:{{{history|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=查看这个模板的编辑历史|zh-hant=查詢這個模板的編輯歷史}}">歷史</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=清除这个模板的缓存|zh-hant=清除這個模板的緩存}}">清除緩存</span>]|}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{brackets|}}}|]}}<!-- | |||
-->{{#if:{{{nodiv|}}} |<!--then: | |||
--></span> |<!--else: | |||
--></div><!-- | |||
-->}}</includeonly><noinclude> | |||
{{模板文件}} | |||
<!-- 請將模板的分類與跨語言連結增加在 [[Template:Navbar/doc]] 子頁面 --> | |||
</noinclude> |
2020年4月15日 (三) 19:35的版本
致编辑者,模板:Navbar 含有一些较为复杂的参数,请确认您熟悉wiki语法,了解本模板之构造及用途,并于沙盒测试后修改。否则,请勿随意更改此模板。
致编辑者,模板:Navbar 含有一些较为复杂的参数,请确认您熟悉wiki语法,了解本模板之构造及用途,并于沙盒测试后修改。否则,请勿随意更改此模板。
用法
選項 | 參數 | 結果 |
---|---|---|
一般 | {{navbar|模板名}} |
|
沒有本模板: 的文字開頭 | {{navbar|模板名|plain=1}} |
|
迷你版本 | {{navbar|模板名|mini=1}} |
|
改變Navbar文字風格 | {{navbar|模板名|fontstyle=color:green}} |
|
以方括號包圍Navbar | {{navbar|模板名|brackets=1}} |
- 編者可以自由組合以上的各種命名參數改變自己需要的Navbar風格。