Jump to content

Template:Wn/shn/Tnavbar

From Wikimedia Incubator
This template documentation is transcluded from Template:Wn/shn/Tnavbar/doc [edit]
Warning!
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

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

{{Wn/shn/Tnavbar|Tnavbar}} gives:

This box: viewtalkedit

Note to editors

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

{{Wn/shn/Tnavbar|Name of Template|mini= |nodiv= |plain= }}

Required parameters

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

Optional parameters

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