Difference between revisions of "Template:Smallnav"
Line 29: | Line 29: | ||
}}{{ | }}{{ | ||
#if: {{{hide|}}}| | > <span title="This article">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span> | #if: {{{hide|}}}| | > <span title="This article">{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span> | ||
− | }}</div>{{#if: {{{frame|}}}|</div>}} | + | }}</div>{{#if: {{{frame|}}}|</div>}}<noinclude> |
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> |
Latest revision as of 23:31, 14 April 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.