Difference between revisions of "Documentation/Nightly/WikiCheatSheet"
From Slicer Wiki
(→Images) |
|||
Line 35: | Line 35: | ||
* [[Template:Note|Note]] : <code><nowiki>{{note}}</nowiki></code> | * [[Template:Note|Note]] : <code><nowiki>{{note}}</nowiki></code> | ||
+ | |||
+ | * [[Template:Remark|Remark]] : <code><nowiki>{{remark|green|This is something awesome you should read}}</nowiki></code> | ||
== Banners == | == Banners == | ||
* [[Template:Documentation/banner|Documentation/banner]] : <code><nowiki>{{documentation/banner}}</nowiki></code> | * [[Template:Documentation/banner|Documentation/banner]] : <code><nowiki>{{documentation/banner}}</nowiki></code> | ||
− | |||
− | |||
− | |||
== Formatting == | == Formatting == | ||
* [[Template:Pre2|Pre2]]: : <code><nowiki>{{pre2|Some long text}}</nowiki></code> : Similar to <code><pre></code> tag but include a horizontal scroll bar | * [[Template:Pre2|Pre2]]: : <code><nowiki>{{pre2|Some long text}}</nowiki></code> : Similar to <code><pre></code> tag but include a horizontal scroll bar | ||
+ | |||
+ | == Images == | ||
+ | |||
+ | * [[Template:octicon/bookmark|octicon/bookmark]] : <code><nowiki>{{octicon/bookmark|Documentation/Nightly/Developers/Build_Instructions}}</nowiki></code> | ||
= Version specific wiki templates = | = Version specific wiki templates = |
Revision as of 22:55, 17 June 2016
Home < Documentation < Nightly < WikiCheatSheetContents
Wiki templates
Version
- Documentation/prevversion :
{{documentation/prevversion}}
- Documentation/nextversion :
{{documentation/nextversion}}
- Documentation/currentversion: Should be used outside namespaced wiki pages.
- Documentation/version :
{{documentation/version}}
: Should be used only from namespaced wiki pages.
Example of namespaced wiki pages:
- Documentation/Nightly/Developers/Tutorials/DocumentExtension#Naming_conventions
- Documentation/4.4/Developers
Example of NON namespaced wiki page:
Status
- New :
{{new}}
- Updated :
{{updated}}
- Done :
{{done}}
- Not Done :
{{not done}}
- Wip :
{{wip}}
Highlights
- Note :
{{note}}
- Remark :
{{remark|green|This is something awesome you should read}}
Banners
- Documentation/banner :
{{documentation/banner}}
Formatting
- Pre2: :
{{pre2|Some long text}}
: Similar to<pre>
tag but include a horizontal scroll bar
Images
- octicon/bookmark :
{{octicon/bookmark|Documentation/Nightly/Developers/Build_Instructions}}
Version specific wiki templates
To learn more about documentation version (or namespace), see here
Version
Doxygen
Visual editing
Table
- Table generator: http://www.tablesgenerator.com/mediawiki_tables