Templates: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
<nowiki>{{IMSMANG}}</nowiki>
<nowiki>{{IMSMANG}}</nowiki>


== TOC==
== TOC ==
Every page that uses a TOC that should be placed in the right should use this [[Template:TOC right|template]]. Users can add it in the corresponding place of the page using the following command:
Every page that uses a TOC that should be placed in the right should use this [[Template:TOC right|template]]. Users can add it in the corresponding place of the page using the following command:


<nowiki>{{TOC right}}</nowiki>
<nowiki>{{TOC right}}</nowiki>
== Navigational boxes ==
On IMSMA Wiki, a navbox is a template that lists at least several pages that are related. The relationship between all the pages in a single navbox is such that the reader of the current page will be readily referred to other related material with a single link.
The goal is to have a navbox in every page (bottom).


{{Policies}}
{{Policies}}

Revision as of 15:33, 30 August 2013

Notes

Every page that is linked to a note should use this template. Users can add it in the corresponding place of the page using the following command:

{{Note | Text should be placed here}}

Warnings

Every page that is linked to a warning should use this template. Users can add it in the corresponding place of the page using the following command:

{{Warning| Text should be placed here}}

IMSMANG

Every page that uses the word IMSMANG should use this template. Users can add it in the corresponding place of the page using the following command:

{{IMSMANG}}

TOC

Every page that uses a TOC that should be placed in the right should use this template. Users can add it in the corresponding place of the page using the following command:

{{TOC right}}

Navigational boxes

On IMSMA Wiki, a navbox is a template that lists at least several pages that are related. The relationship between all the pages in a single navbox is such that the reader of the current page will be readily referred to other related material with a single link.

The goal is to have a navbox in every page (bottom).


{{#switch:|subgroup|child=|none=|#default=

}}{{#ifeq:|Template|{{#ifeq:|child||{{#ifeq:|subgroup||{{#switch:templates

|doc
|sandbox
|testcases =
|#default = {{#switch:hlist
 |plainlist
 |hlist
 |hlist hnum
 |hlist vcard
 |vcard hlist = 
 |#default = 
 }}
}}

}}}}}}