Template:Tnavbar

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
This template documentation is transcluded from Template:Tnavbar/doc [edit]
Warning!

This documentation is probably incorrect, because unlike Wikipedia, the template namespace doesn't have subpages enabled on wikinews, so a bunch of templates share the same doc page.When copying templates from wikipedia, please make sure the template is useful (or it ends up here), and you have full permssion from the copyright holders. (Wikipedia is not downward compatible with wikinews copyright wise) Also make sure all categories interwiki's (language) and docs are correct to wikinews standards (we have a different category scheme then 'pedia)

Comment This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted via the template sandbox or your user space. Well, its a little more simplified now.

Usage[edit]

Copyable empty example: {{Tnavbar|Name of Template|mini= |nodiv= |plain= }} inside a given template to add Tnavbar navigational functionality.

{{Tnavbar|Tnavbar}} gives:

This box: viewtalkedit

Note to editors[edit]

This template is represented across a lot 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.

Examples[edit]

{{Tnavbar|Name of Template|mini= |nodiv= |plain= }}

Required parameters[edit]

  • {{Tnavbar|Name of Template}} the template name is required.

Optional parameters[edit]

Optional parameter Produces...
Makes Tnavbar display in a mini version: {{Tnavbar|Tnavbar|mini=1}} like so. Makes Tnavbar display in a mini version:
v·d·e
like so.
{{Tnavbar|Tnavbar|nodiv=1}} Good for "blending" into text.  This box: viewtalkedit  Good for "blending" into text.
{{Tnavbar|Tnavbar|mini=1|nodiv=1}} Good for "blending" into text.  v·d·e  Good for "blending" into text.
No "This box:" text. {{Tnavbar|Tnavbar|plain=1}} No "This box:" text.
viewtalkedit
Blended no "This box:" text. {{Tnavbar|Tnavbar|plain=1|nodiv=1}} Blended no "This box:" text.  viewtalkedit