KwGrid:Editing Help: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
mNo edit summary |
|||
(45 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
In addition to the guidelines provided in the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki General Editing] page, the following rules are suggested: | In addition to the guidelines provided in the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki General Editing] page, the following rules are suggested: | ||
==Page and File Names== | |||
* Prefix a page name with the <tt>kwGrid:</tt> namespace (lowercase <tt>kw</tt>). For example, [[kwGrid:Welcome]]. Used the [http://meta.wikimedia.org/wiki/Help:Piped_link piped link] notation to hide the namespace when the page is rendered. Namespaces allow separation of different kinds of unrelated content within the same Wiki (i.e. isolate projects like VTK, CMake, ITK, kwGrid). Namespaces also provide facilities to limit searches to a particular area and allow easy exporting of a selection of work. | * Prefix a page name with the <tt>kwGrid:</tt> namespace (lowercase <tt>kw</tt>). For example, [[kwGrid:Welcome]]. Used the [http://meta.wikimedia.org/wiki/Help:Piped_link piped link] notation to hide the namespace when the page is rendered. Namespaces allow separation of different kinds of unrelated content within the same Wiki (i.e. isolate projects like VTK, CMake, ITK, kwGrid). Namespaces also provide facilities to limit searches to a particular area and allow easy exporting of a selection of work. | ||
* Use spaces at will. For example, use [[kwGrid:My Own Hardware]] over [[kwGrid:MyOwnHardware]]. | * Use spaces at will. For example, use [[kwGrid:My Own Hardware]] over [[kwGrid:MyOwnHardware]]. | ||
* Use slashes (/) to provide additional structure and depth. For example, the [[kwGrid:Partners]] page provides links to pages describing each partner one by one: use [[kwGrid:Partners/Argonne National Lab]] over [[kwGrid:Partners Argonne National Lab]], as it emphasizes that it is a "sub-page" of [[kwGrid:Partners]] and mimics the traditional web structure. | * Use slashes (/) to provide additional structure and depth. For example, the [[kwGrid:Partners]] page provides links to pages describing each partner one by one: use [[kwGrid:Partners/Argonne National Lab]] over [[kwGrid:Partners Argonne National Lab]], as it emphasizes that it is a "sub-page" of [[kwGrid:Partners]] and mimics the traditional web structure. Furthermore, if the [http://en.wikipedia.org/wiki/Help:Link#Subpage_feature sub-page feature] is enabled in the Wiki, a link is automatically created on top of the sub-page to the "parent" page. | ||
* Use the same rules to upload files, but remove spaces and slashes since they are not allowed in a file name. For example: <tt>kwGridPartnersArgonneNationalLab.png</tt>. Let the [[kwGrid:Team|team]] know about the files, images, PDF or Word documents you upload, so that we can also archive a copy in the [[kwGrid:Download#CVS|CVS]] repository. | |||
==Page Content== | |||
* Terminate a page with a call to the [[ | * Terminate a page with a call to the [[:kwGrid:Template/Footer|Footer]] template. This automatically adds a footer to the page. This template is used to provide extra navigational links and associate the page to specific searchable categories. Check the bottom of this page to see how this template is rendered. | ||
<pre> | <pre> | ||
{{kwGrid:Footer}} | {{:kwGrid:Template/Footer}} | ||
</pre> | </pre> | ||
=== | ==Templates== | ||
===<tt>Mail To</tt>=== | |||
The [[:kwGrid:Template/Mail To|Mail To]] template can be used to build a mailto: link prefixed with a small mail icon [[Image:kwGridMailToIcon.png]]. For example: | |||
<pre> | |||
{{:kwGrid:Template/Mail To|sebastien.barre@kitware.com|Sebastien Barre}} | |||
</pre> | |||
...is rendered as: | |||
{{:kwGrid:Template/Mail To|sebastien.barre@kitware.com|Sebastien Barre}} | |||
===<tt>Note Box</tt>=== | |||
The [[:kwGrid:Template/Note Box|Note Box]] template can be used to provide a short note: | |||
<pre> | <pre> | ||
{{kwGrid:Note Box|message=This is an example of text inside a Note Box template.}} | {{:kwGrid:Template/Note Box|message=This is an example of text inside a Note Box template.}} | ||
</pre> | </pre> | ||
{{kwGrid:Note Box|message=This is an example of text inside a Note Box template.}} | ...is rendered as: | ||
{{:kwGrid:Template/Note Box|message=This is an example of text inside a Note Box template.}} | |||
===<tt>Warning Box</tt>=== | |||
The [[:kwGrid:Template/Warning Box|Warning Box]] template can be used to provide a short warning: | |||
<pre> | <pre> | ||
{{kwGrid:Warning Box|message=This is an example of text inside a Warning Box template.}} | {{:kwGrid:Template/Warning Box|message=This is an example of text inside a Warning Box template.}} | ||
</pre> | </pre> | ||
{{kwGrid:Warning Box|message=This is an example of text inside a Warning Box template.}} | ...is rendered as: | ||
{{:kwGrid:Template/Warning Box|message=This is an example of text inside a Warning Box template.}} | |||
===<tt>Help Box</tt>=== | |||
The [[:kwGrid:Template/Help Box|Help Box]] template can be used to provide a short help: | |||
<pre> | <pre> | ||
{{kwGrid:Help Box|message=This is an example of text inside a Help Box template.}} | {{:kwGrid:Template/Help Box|message=This is an example of text inside a Help Box template.}} | ||
</pre> | </pre> | ||
{{kwGrid:Help Box|message=This is an example of text inside a Help Box template.}} | ...is rendered as: | ||
{{:kwGrid:Template/Help Box|message=This is an example of text inside a Help Box template.}} | |||
===<tt>Tip Box</tt>=== | |||
The [[:kwGrid:Template/Tip Box|Tip Box]] template can be used to provide a short tip: | |||
<pre> | |||
{{:kwGrid:Template/Tip Box|message=This is an example of text inside a Tip Box template.}} | |||
</pre> | |||
...is rendered as: | |||
{{:kwGrid:Template/Tip Box|message=This is an example of text inside a Tip Box template.}} | |||
===<tt>Security Box</tt>=== | |||
The [[:kwGrid:Template/Security Box|Security Box]] template can be used to provide a short security notice: | |||
<pre> | |||
{{:kwGrid:Template/Security Box|message=This is an example of text inside a Security Box template.}} | |||
</pre> | |||
...is rendered as: | |||
{{:kwGrid:Template/Security Box|message=This is an example of text inside a Security Box template.}} | |||
{{kwGrid:Footer}} | {{:kwGrid:Template/Footer}} |
Latest revision as of 13:27, 15 November 2019
In addition to the guidelines provided in the MediaWiki General Editing page, the following rules are suggested:
Page and File Names
- Prefix a page name with the kwGrid: namespace (lowercase kw). For example, kwGrid:Welcome. Used the piped link notation to hide the namespace when the page is rendered. Namespaces allow separation of different kinds of unrelated content within the same Wiki (i.e. isolate projects like VTK, CMake, ITK, kwGrid). Namespaces also provide facilities to limit searches to a particular area and allow easy exporting of a selection of work.
- Use spaces at will. For example, use kwGrid:My Own Hardware over kwGrid:MyOwnHardware.
- Use slashes (/) to provide additional structure and depth. For example, the kwGrid:Partners page provides links to pages describing each partner one by one: use kwGrid:Partners/Argonne National Lab over kwGrid:Partners Argonne National Lab, as it emphasizes that it is a "sub-page" of kwGrid:Partners and mimics the traditional web structure. Furthermore, if the sub-page feature is enabled in the Wiki, a link is automatically created on top of the sub-page to the "parent" page.
- Use the same rules to upload files, but remove spaces and slashes since they are not allowed in a file name. For example: kwGridPartnersArgonneNationalLab.png. Let the team know about the files, images, PDF or Word documents you upload, so that we can also archive a copy in the CVS repository.
Page Content
- Terminate a page with a call to the Footer template. This automatically adds a footer to the page. This template is used to provide extra navigational links and associate the page to specific searchable categories. Check the bottom of this page to see how this template is rendered.
{{:kwGrid:Template/Footer}}
Templates
Mail To
The Mail To template can be used to build a mailto: link prefixed with a small mail icon . For example:
{{:kwGrid:Template/Mail To|sebastien.barre@kitware.com|Sebastien Barre}}
...is rendered as: Sebastien Barre
Note Box
The Note Box template can be used to provide a short note:
{{:kwGrid:Template/Note Box|message=This is an example of text inside a Note Box template.}}
...is rendered as:
Note: This is an example of text inside a Note Box template. |
Warning Box
The Warning Box template can be used to provide a short warning:
{{:kwGrid:Template/Warning Box|message=This is an example of text inside a Warning Box template.}}
...is rendered as:
Warning: This is an example of text inside a Warning Box template. |
Help Box
The Help Box template can be used to provide a short help:
{{:kwGrid:Template/Help Box|message=This is an example of text inside a Help Box template.}}
...is rendered as:
Help: This is an example of text inside a Help Box template. |
Tip Box
The Tip Box template can be used to provide a short tip:
{{:kwGrid:Template/Tip Box|message=This is an example of text inside a Tip Box template.}}
...is rendered as:
Tip: This is an example of text inside a Tip Box template. |
Security Box
The Security Box template can be used to provide a short security notice:
{{:kwGrid:Template/Security Box|message=This is an example of text inside a Security Box template.}}
...is rendered as:
Security Notice: This is an example of text inside a Security Box template. |