Difference between revisions of "Template:Smallnav"

From Moegirlpedia
Jump to: navigation, search
(Created page with "{#if: {{{frame|}}}|<div class="pathnavbox">}} <div id="topicpath" title="" style="border:1px outset #eef;padding:0.3em 0.6em;margin:0 0 0 0;background:#eef;background-image: l...")
 
(Missing bracket)
Line 1: Line 1:
{#if: {{{frame|}}}|<div class="pathnavbox">}}
+
{{#if: {{{frame|}}}|<div class="pathnavbox">}}
 
<div id="topicpath" title="" style="border:1px outset #eef;padding:0.3em 0.6em;margin:0 0 0 0;background:#eef;background-image: linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -o-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -moz-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -webkit-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -ms-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,rgb(238,238,255)),color-stop(0.54, rgb(250,250,255)));clear:both;font-size:smaller;cursor:default;">
 
<div id="topicpath" title="" style="border:1px outset #eef;padding:0.3em 0.6em;margin:0 0 0 0;background:#eef;background-image: linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -o-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -moz-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -webkit-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -ms-linear-gradient(bottom, rgb(238,238,255) 0%, rgb(250,250,255) 54%);background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,rgb(238,238,255)),color-stop(0.54, rgb(250,250,255)));clear:both;font-size:smaller;cursor:default;">
  

Revision as of 20:40, 8 March 2022

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

Example usage

{{smallnav|Page name 1|Page name 2|...|Page name 9|name=|hide=}}

Page name 1 to page name 9
Links to the specified page name. A maximum of 9 can be specified. and automatically generate links. You can use | to customize the page name.
name=
Manually set the page name.
hide=
Whether to omit the original page name. An entry name is required.
Automatically generated hidden category [pages using smallnav]
Maintenance can be found in Category:Hidden categories.

Other uses

A special small navigation bar with only three items, displayed in the center, for context-sensitive navigation of consecutive works.

Usage

{{smallnav/chronology|previous|next||name=|hide=|align=}}

name=
Manually set the page name.
hide=
Whether to omit the original page name. An entry name is required.
align=
Alignment, the default is center. You can fill in left or right.