Difference between revisions of "Template:Tnavbar"
m |
(Tag: Undo) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
| − | </noinclude><includeonly><!-- | + | </noinclude><includeonly> |
| − | This template | + | <!-- |
| − | + | This template provides a navigation bar ("navbar") for use in other templates. | |
| + | Usage: {{Tnavbar|TemplateName|mini=1|nodiv=1|plain=1}} | ||
| + | --> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#if:{{{plain|}}}| | {{#if:{{{plain|}}}| | ||
| − | <!-- | + | <!-- Plain version (no links) --> |
| − | + | {{#if:{{{mini|}}}|[[{{{1}}}|v]]|[[{{{1}}}|view]]}} • | |
| − | + | [{{fullurl:{{{1}}}|action=edit}} edit] • | |
| − | + | [{{fullurl:{{{1}}}|action=history}} history] | |
| − | |||
| − | |||
| | | | ||
| + | <!-- Full version --> | ||
{{#if:{{{nodiv|}}}| | {{#if:{{{nodiv|}}}| | ||
| − | <!-- no div | + | <!-- no wrapper div --> |
| − | < | + | {{#if:{{{mini|}}}|[[{{{1}}}|v]]|[[{{{1}}}|view]]}} • |
| − | {{#if:{{{mini|}}}|[[{{{1}}}|v]]|[[{{{1}}}|view]]}} | + | [{{fullurl:{{{1}}}|action=edit}} edit] • |
| − | [{{fullurl:{{{1}}}|action=edit}} edit] | + | [{{fullurl:{{{1}}}|action=history}} history] |
| + | | | ||
| + | <div class="navbar" style="font-size:smaller; text-align:right;"> | ||
| + | {{#if:{{{mini|}}}|[[{{{1}}}|v]]|[[{{{1}}}|view]]}} • | ||
| + | [{{fullurl:{{{1}}}|action=edit}} edit] • | ||
[{{fullurl:{{{1}}}|action=history}} history] | [{{fullurl:{{{1}}}|action=history}} history] | ||
| − | </ | + | </div> |
| − | + | }} | |
| − | + | }} | |
| − | + | </includeonly> | |
| − | |||
| − | |||
Latest revision as of 14:51, 11 November 2025
[create] Documentation