Snið:Tnavbar
Úr Wikipediu, frjálsa alfræðiritinu
Tnavbar : Template navigation bar
Efnisyfirlit |
[breyta] Usage
Copyable examples when inside a given template adds Tnavbar navigational functionality:
- {{Tnavbar|{{subst:PAGENAME}}|mini=1}}
- {{Tnavbar|{{subst:PAGENAME}}|plain=1}}
- {{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|miniv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|viewplain=1}}
- {{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}
- {{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}
- The
{{subst:PAGENAME}}
will be substituted with the template's name when parsed by the servers. - {{Tnavbar|Tnavbar/doc}} gives:
[breyta] Note to editors
This template is represented across thousands of pages please tread lightly when editing here. Conducting sufficient sandbox testing to establish the validity of edits relative to Tnavbar is strongly encouraged prior to attempting to integrate changes.
[breyta] Examples
{{Tnavbar|Name of Template|mini= |nodiv= }}
[breyta] Required parameters
{{Tnavbar|Name of Template}}
the template name is required.
[breyta] Optional parameters
Optional parameter | Produces... | ||
---|---|---|---|
Makes Tnavbar display in a mini version: {{Tnavbar|Template Name|mini=1}} like so. |
→ | Makes Tnavbar display in a mini version: | like so.|
{{Tnavbar|Template Name|nodiv=1}} Good for "blending" into text. |
→ | Good for "blending" into text. | |
{{Tnavbar|Template Name|mini=1|nodiv=1}} Good for "blending" into text. |
→ | Good for "blending" into text. | |
No "This box:" text. {{Tnavbar|Template Name|plain=1}} |
→ | No "This box:" text. | |
Blended no "This box:" text. {{Tnavbar|Template Name|plain=1|nodiv=1}} |
→ | Blended no "This box:" text. | |
For a simpler access option. {{Tnavbar|Template Name|miniv=1}} |
→ | For a simpler access option. | |
For a fuller simpler access option. {{Tnavbar|Template Name|viewplain=1}} |
→ | For a fuller simpler access option. |