Template:Navbar: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
Looks like all template: * does is inserting a bullet, in which case there's no point to call it |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|<span style="font-size: {{{fs|87.5%}}};">{{trim|{{{text|}}}}}{{nowrap| [[{{{1}}}|View]] | <includeonly>{{#if: {{{1|}}}|<span style="font-size: {{{fs|87.5%}}};">{{trim|{{{text|}}}}}{{nowrap| [[{{{1}}}|View]] • [[{{TALKPAGENAME:{{{1}}}}}|Talk]] • [[Special:EditPage/{{{1}}}|Edit]]}}</span>|}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:10, 16 September 2024
![]() |
This template uses Lua: |
This is a simplified version of Wikipedia's navigation bar template.
Parameters
{{{1}}}
(required)- One unnamed parameter, which is the full name of the page to link to.
{{{2}}}
(optional)- A second unnamed parameter. Pass in
mini
to changeView • Talk • Edit
toV • T • E
.
text
(optional)- Text preceding the navigation bar, often used to indicate the namespace.
For example:
{{navbar|Template:Navbar}} {{navbar|Template:Navbar|text=This template:}} {{navbar|12edo}} {{navbar|12edo|text=This page:}}
give:
This template:View • Talk • Edit
See also
- Template:Navbar table – used for inserting a navigation bar to a table.