Template:Navbar/doc: Difference between revisions
Template page
More actions
actually placeholders shouldn’t use ASCII less-then/grater-then characters in the first place, which also solves the encoding issue |
m Fix Linter errors. |
||
| Line 110: | Line 110: | ||
|usage-notes = | |usage-notes = | ||
Copyable examples when inside a given [[Wikipedia:Navigation templates|template]] adds navbar navigational functionality: | Copyable examples when inside a given [[Wikipedia:Navigation templates|template]] adds navbar navigational functionality: | ||
:< | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1}}</nowiki></code> | ||
:< | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|plain=1}}</nowiki></code> | ||
:< | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</nowiki></code> | ||
:< | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</nowiki></code> | ||
:< | :<code><nowiki>{{navbar|{{subst:PAGENAME}}|fontstyle=color:green}}</nowiki></code> | ||
:The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template’s name when parsed by the servers. | :The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template’s name when parsed by the servers. | ||
The < | The <code>miniv=1</code>, <code>viewplain=1</code> and <code>fontcolor=</code> parameters have been deprecated. To use the view-only version, use the {{tlx|v}} or {{tlx|view}} templates instead. | ||
|shorthand = | |shorthand = | ||
|setscats = | |setscats = | ||