Difference between revisions of "Templates"
(→{{IMSMANG}}) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
'''Templates''' are used to give standard messages on Pages. Templates are called using these brackets <nowiki>{{template name}}</nowiki>. There are many purposes for using templates. They can be to convey or format messages to the reader of the Page, they can be used to facilitate navigation, or they can be used to convey messages or to flag pages to the editors. | '''Templates''' are used to give standard messages on Pages. Templates are called using these brackets <nowiki>{{template name}}</nowiki>. There are many purposes for using templates. They can be to convey or format messages to the reader of the Page, they can be used to facilitate navigation, or they can be used to convey messages or to flag pages to the editors. | ||
− | ==Informative templates== | + | ==Informative templates==__NOEDITSECTION__ |
− | ===Notes=== | + | ===Notes===__NOEDITSECTION__ |
− | Every page that is linked to a note should use the [[Template:Note|Note template]]. | + | Every page that is linked to a note should use the [[Template:Note|Note template]]. A Note is used to convey reference information that is useful but not critical to a task. Users can add it in the corresponding place of the page using the following command: |
<nowiki>{{Note | Text should be placed here}}</nowiki> | <nowiki>{{Note | Text should be placed here}}</nowiki> | ||
{{Note | Text should be placed here}} | {{Note | Text should be placed here}} | ||
− | ===Warnings=== | + | ===Warnings===__NOEDITSECTION__ |
− | Every page that is linked to a warning should use the [[Template:Warning|Warning template]]. Users can add it in the corresponding place of the page using the following command: | + | Every page that is linked to a warning should use the [[Template:Warning|Warning template]]. A Warning is used whenever non-compliance would result in the failure of a task. Users can add it in the corresponding place of the page using the following command: |
<nowiki>{{Warning| Text should be placed here}}</nowiki> | <nowiki>{{Warning| Text should be placed here}}</nowiki> | ||
{{Warning| Text should be placed here}} | {{Warning| Text should be placed here}} | ||
− | ==Maintenance templates== | + | ===New functionality===__NOEDITSECTION__ |
+ | Every page that is linked to a new functionality should use the [[Template:New_6.0|New functionality template]]. Users can add it in the corresponding place of the page using the following command: | ||
+ | <nowiki>{{New_6.0| Text should be placed here}}</nowiki> | ||
+ | {{New_6.0| Text should be placed here}} | ||
+ | |||
+ | ===Decision Node===__NOEDITSECTION__ | ||
+ | Every page that refer to SOPs or ask country focal point should use the [[Template:Decision node|Decision node template]]. Users can add it in the corresponding place of the page using the following command: | ||
+ | <nowiki>{{Decision node| Text should be placed here}}</nowiki> | ||
+ | {{Decision node| Text should be placed here}} | ||
+ | |||
+ | ==Maintenance templates==__NOEDITSECTION__ | ||
* [[Template:Protection]]: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Protection| Text should be placed here}}</nowiki> | * [[Template:Protection]]: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Protection| Text should be placed here}}</nowiki> | ||
{{Protection| Text should be placed here}} | {{Protection| Text should be placed here}} | ||
+ | * [[Template:Under construction]]: This template should only be used on pages that are under construction. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Under construction| Text should be placed here}}</nowiki> | ||
+ | {{Under construction| Text should be placed here}} | ||
* [[Template:Cleanup]]: This template should be placed at the top of any page requiring a cleanup. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Cleanup| Text should be placed here}}</nowiki> | * [[Template:Cleanup]]: This template should be placed at the top of any page requiring a cleanup. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Cleanup| Text should be placed here}}</nowiki> | ||
{{Cleanup| Text should be placed here}} | {{Cleanup| Text should be placed here}} | ||
Line 22: | Line 34: | ||
{{Move| Text should be placed here}} | {{Move| Text should be placed here}} | ||
* [[Template:Outdated]]: This template can be used to mark pages or sections with old or out-of-date information. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Outdated| Text should be placed here}}</nowiki> | * [[Template:Outdated]]: This template can be used to mark pages or sections with old or out-of-date information. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Outdated| Text should be placed here}}</nowiki> | ||
− | {{Outdated| Text should be placed here}} | + | {{Outdated| Text should be placed here. For example '''IMPORTANT:''' The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice.}} |
* [[Template:Rewrite]]: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Rewrite| Text should be placed here}}</nowiki> | * [[Template:Rewrite]]: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Rewrite| Text should be placed here}}</nowiki> | ||
{{Rewrite| Text should be placed here}} | {{Rewrite| Text should be placed here}} | ||
Line 31: | Line 43: | ||
* [[Template:Spelling]]: This should be used in pages where a sentence may be vague, ambiguous, or unspecific. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Spelling| Text should be placed here}}</nowiki> | * [[Template:Spelling]]: This should be used in pages where a sentence may be vague, ambiguous, or unspecific. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Spelling| Text should be placed here}}</nowiki> | ||
{{Spelling| Text should be placed here}} | {{Spelling| Text should be placed here}} | ||
+ | * [[Template:Images]]: This should be used in pages where new printscreens are needed. Editors can add it in the corresponding place of the page using the following command: <nowiki>{{Images| Text should be placed here}}</nowiki> | ||
+ | {{Images| Text should be placed here}} | ||
− | ==Formatting templates== | + | ==Formatting templates==__NOEDITSECTION__ |
− | ==={{IMSMANG}}=== | + | ==={{IMSMANG}}===__NOEDITSECTION__ |
− | Every page that uses the word IMSMA or {{IMSMANG}} when refering to the {{IMSMANG}} application or suite should use the [[Template:IMSMANG|IMSMANG template]] | + | Every page that uses the word IMSMA or {{IMSMANG}} ''when refering to the {{IMSMANG}} application or software or suite'' should use the [[Template:IMSMANG|IMSMANG template]]. Syntax to use the template on a page is '''<nowiki>{{IMSMANG}}</nowiki>'''. Editors should refrain from using ''<nowiki>IMSMA<sup>NG</sup></nowiki>''. |
− | |||
− | ===TOC=== | + | ===TOC===__NOEDITSECTION__ |
Per default the Table of Contents (TOC) on a page are placed to the left of the Page. If the editor prefers the TOC to the right, the [[Template:TOC right|TOC template]] is used. Editors can add it in the corresponding place of the page using the following command: | Per default the Table of Contents (TOC) on a page are placed to the left of the Page. If the editor prefers the TOC to the right, the [[Template:TOC right|TOC template]] is used. Editors can add it in the corresponding place of the page using the following command: | ||
<nowiki>{{TOC right}}</nowiki> | <nowiki>{{TOC right}}</nowiki> | ||
− | ==Navigation templates== | + | ==Navigation templates==__NOEDITSECTION__ |
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). | 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}} |
Latest revision as of 09:28, 23 May 2016
Templates are used to give standard messages on Pages. Templates are called using these brackets {{template name}}. There are many purposes for using templates. They can be to convey or format messages to the reader of the Page, they can be used to facilitate navigation, or they can be used to convey messages or to flag pages to the editors.
Informative templates
Notes
Every page that is linked to a note should use the Note template. A Note is used to convey reference information that is useful but not critical to a task. Users can add it in the corresponding place of the page using the following command: {{Note | Text should be placed here}}
Text should be placed here |
Warnings
Every page that is linked to a warning should use the Warning template. A Warning is used whenever non-compliance would result in the failure of a task. Users can add it in the corresponding place of the page using the following command: {{Warning| Text should be placed here}}
Text should be placed here |
New functionality
Every page that is linked to a new functionality should use the New functionality template. Users can add it in the corresponding place of the page using the following command: {{New_6.0| Text should be placed here}}
Text should be placed here |
Decision Node
Every page that refer to SOPs or ask country focal point should use the Decision node template. Users can add it in the corresponding place of the page using the following command: {{Decision node| Text should be placed here}}
Text should be placed here |
Maintenance templates
- Template:Protection: This template should only be used on pages after they have been protected by an administrator, and may be removed when the protection has expired. Editors can add it in the corresponding place of the page using the following command: {{Protection| Text should be placed here}}
Text should be placed here |
- Template:Under construction: This template should only be used on pages that are under construction. Editors can add it in the corresponding place of the page using the following command: {{Under construction| Text should be placed here}}
Text should be placed here |
- Template:Cleanup: This template should be placed at the top of any page requiring a cleanup. Editors can add it in the corresponding place of the page using the following command: {{Cleanup| Text should be placed here}}
Text should be placed here |
- Template:Move: This template tags pages that should be moved to another pages. Editors can add it in the corresponding place of the page using the following command: {{Move| Text should be placed here}}
Text should be placed here |
- Template:Outdated: This template can be used to mark pages or sections with old or out-of-date information. Editors can add it in the corresponding place of the page using the following command: {{Outdated| Text should be placed here}}
Text should be placed here. For example IMPORTANT: The content of this page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice. |
- Template:Rewrite: This template should be used on pages which need so much cleanup that completely rewriting them may be necessary to comply with IMSMA guidelines on style and content. Editors can add it in the corresponding place of the page using the following command: {{Rewrite| Text should be placed here}}
Text should be placed here |
- Template:Grammar: This template tags a page if there are grammar errors and should be added at the top of the page. Editors can add it in the corresponding place of the page using the following command: {{Grammar| Text should be placed here}}
Text should be placed here |
- Template:Wikify: Editors can add it in the corresponding place of the page using the following command: {{Wikify| Text should be placed here}}
Text should be placed here |
- Template:Spelling: This should be used in pages where a sentence may be vague, ambiguous, or unspecific. Editors can add it in the corresponding place of the page using the following command: {{Spelling| Text should be placed here}}
Text should be placed here |
- Template:Images: This should be used in pages where new printscreens are needed. Editors can add it in the corresponding place of the page using the following command: {{Images| Text should be placed here}}
Text should be placed here |
Formatting templates
IMSMANG
Every page that uses the word IMSMA or IMSMANG when refering to the IMSMANG application or software or suite should use the IMSMANG template. Syntax to use the template on a page is {{IMSMANG}}. Editors should refrain from using IMSMA<sup>NG</sup>.
TOC
Per default the Table of Contents (TOC) on a page are placed to the left of the Page. If the editor prefers the TOC to the right, the TOC template is used. Editors can add it in the corresponding place of the page using the following command: {{TOC right}}
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).
|