Difference between revisions of "Template:Navbar"

From Moegirlpedia
Jump to: navigation, search
(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="{{lan|en=view this template}}">View</span>{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|=the talk page of this template}}">Talk</span>{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|en=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="{{lan|en= check the history of this template}}">History</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|en=clear the buffer of the template}}">Clear</span>]|}}<!--
+
-->[[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="{{lan|en=View this template}}">v{{#if:{{{viewplain|}}}|iew}}</span>]]<!--
+
-->[[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="{{lan|en=view this template}}>{{lan|en=View}}</span>]]{{·}}[[Template talk:{{{1}}}|<span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|en=the talk page of this template}}">Talk</span>]]{{·}}[{{fullurl:Template:{{{1}}}|action=edit}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|zh-hans=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="{{lan|en=check the history of this template}}">History</span>]|}}{{#if:{{{purge|}}}|{{·}}[{{fullurl:Template:{{{1}}}|action=purge}} <span style="{{#if:{{{fontstyle|}}}|{{{fontstyle}}}|color:{{{fontcolor|#002bb8}}}}}" title="{{lan|en=clear the buffer of the template}}">Clear buffer</span>]|}}<!--
+
-->[[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

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

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