Template:HPC-torque-lmp/doc: Difference between revisions
From HPC Wiki
Jump to:navigation
Jump to:search
No edit summary |
|||
Line 4: | Line 4: | ||
== Parameters == | == Parameters == | ||
{{Template Parameter Table|1= | {{Template Parameter Table|1= | ||
{{Template Parameter|filename|File name|default= | {{Template Parameter|filename|File name|default=torque-lmp.sh|required=no}} | ||
{{Template Parameter|lang|Language of the contents, used for syntax highlighting|default=text|required=no}} | {{Template Parameter|lang|Language of the contents, used for syntax highlighting|default=text|required=no}} | ||
{{Template Parameter|title|Additional title to display in the box header|required=no}} | {{Template Parameter|title|Additional title to display in the box header|required=no}} |
Revision as of 20:50, 25 December 2016
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
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 |
---|---|---|---|
filename |
No | torque-lmp.sh |
File name |
lang |
No | text |
Language of the contents, used for syntax highlighting |
title |
No | (n/a) | Additional title to display in the box header |
Usage
See the template's testcases:
No parameter | |
---|---|
Wiki code | {{HPC-torque-lmp}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameter: lang=bash | |
---|---|
Wiki code | {{HPC-torque-lmp|lang=bash}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameters: lang=bash, filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh | |
---|---|
Wiki code | {{HPC-torque-lmp|lang=bash|filename={{HPC-Samples-Dir|flory}}/torque-lmp.sh}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameter: title=Here is the file | |
---|---|
Wiki code | {{HPC-torque-lmp|title=Here is the file}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameters: lang=bash, title=Here is the file | |
---|---|
Wiki code | {{HPC-torque-lmp|lang=bash|title=Here is the file}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameter: inputfile=ellipse.gayberne | |
---|---|
Wiki code | {{HPC-torque-lmp|inputfile=ellipse.gayberne}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |
Parameters: email=me@example.com, jobname=ellipse-lmp, inputfile=ellipse.gayberne | |
---|---|
Wiki code | {{HPC-torque-lmp|email=me@example.com|jobname=ellipse-lmp|inputfile=ellipse.gayberne}}
|
Main version |
|
Sandbox version | Template:HPC-torque-lmp/sandbox |