Difference between revisions of "Template:Smallnav"
(Missing bracket) |
|||
Line 28: | Line 28: | ||
}} | }} | ||
}}{{ | }}{{ | ||
− | #if: {{{hide|}}}| | > <span title=" | + | #if: {{{hide|}}}| | > <span title="This article">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span> |
}}</div>{{#if: {{{frame|}}}|</div>}}[[Category:Pages with smallnav]]<noinclude> | }}</div>{{#if: {{{frame|}}}|</div>}}[[Category:Pages with smallnav]]<noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Revision as of 20:48, 8 March 2022
> Smallnav
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.