Difference between revisions of "Template:Navbar"

From Moegirlpedia
Jump to: navigation, search
(Undo revision 2110 by Honoka55 (talk))
(Delete the non-exist Template:Lan)
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|}}}|]}}<!--

Revision as of 00:14, 20 May 2017

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