Template:HPC-Examples-Dir: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
|{{#switch:{{{1}}}
|{{#switch:{{{1}}}
   | flory = /home/bgo/shared/examples
   | flory = /home/bgo/shared/examples
  | magnolia = /home/user/examples/YYYYMMDD-HHMMSS
  }}
  }}
|{{Error|HPC-Examples-Dir|unnamed}}
|{{Error|HPC-Examples-Dir|unnamed}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:07, 23 October 2017

[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to specify the path to HPC examples.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Hostname

Usage

See the template's testcases:

No parameter
Wiki code {{HPC-Examples-Dir}}
Main version
{{HPC-Examples-Dir}}
Parameter unnamed not defined. For correct usage see template's documention.
Sandbox version Template:HPC-Examples-Dir/sandbox
1. parameter
Wiki code {{HPC-Examples-Dir|flory}}
Main version

/home/bgo/shared/examples

Sandbox version Template:HPC-Examples-Dir/sandbox
1. parameter
Wiki code {{HPC-Examples-Dir|magnolia}}
Main version

/home/user/examples/YYYYMMDD-HHMMSS

Sandbox version Template:HPC-Examples-Dir/sandbox
Note
The above documentation is transcluded from Template:HPC-Examples-Dir/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.