Difference between revisions of "Template:Navbar"
(delete) |
m (Same) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
-->{{#if:{{{mini|}}} |<!--then: | -->{{#if:{{{mini|}}} |<!--then: | ||
− | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title=" | + | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="view this template">View</span>]]{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="the talk page of this template">Talk</span>]]{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="You could edit this template. Please preview before saving the changes.">Edit</span>]{{#if:{{{history|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="check the history of this template">History</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="clear the buffer of the template">Clear</span>]|}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | -->{{#ifeq:{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then: | ||
− | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title=" | + | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="View this template">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!-- |
-->|<!--else:(nothing)--> |}}<!-- | -->|<!--else:(nothing)--> |}}<!-- | ||
-->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | -->{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{viewplain|}}} |<!--equals:-->1 |<!--then:(nothing)--> |<!--else: | ||
− | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title=" | + | -->[[Template:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="view this template>View</span>]]{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="the talk page of this template">Talk</span>]]{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="You could edit this template. Please preview before saving the changes.">Edit</span>]{{#if:{{{history|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=history}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="check the history of this template">History</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="clear the buffer of the template">Clear buffer</span>]|}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{brackets|}}}|]}}<!-- | -->{{#if:{{{brackets|}}}|]}}<!-- | ||
Line 27: | Line 27: | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | <!-- 請將模板的分類與跨語言連結增加在 [[Template:Navbar/doc]] 子頁面 --> | + | <!-- Please add the template categorys and language links to the [[Template:navbar/doc]] sub page |
+ | 请将模板的分类与跨语言链接增加在 [[Template:Navbar/doc]] 子页面 | ||
+ | 請將模板的分類與跨語言連結增加在 [[Template:Navbar/doc]] 子頁面 --> | ||
</noinclude> | </noinclude> |
Latest revision as of 03:17, 30 August 2021
This template includes some very complex parameters and structures in its source code. This template has a complex structure. Please do not arbitrarily modify this template unless you are sure that you understand its use and details, and are capable of fixing all the changes entailing this edit. Please conduct all experimental steps in the sandbox or your own user page.Please refer to the discussion page before using. |
Usage
Options | Parameters | Results |
---|---|---|
Basic | {{navbar|Template Name}} |
|
Without "This template:" text | {{navbar|Template Name|plain=1}} |
|
Short version | {{navbar|Template Name|mini=1}} |
|
With font styling examples | {{navbar|Template Name|fontstyle=color:green}} |
|
With brackets | {{navbar|Template Name|brackets=1}} |
|
With "History" option | {{navbar|Template Name|history=1}} |