Tool – Template
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Updated to use faster and more efficient MediaWiki parser functions) |
Fred Gandt (talk | contribs) (Adding handling for newlines in "NOTES" and "EXAMPLES". Should be backwards compatible by removing <br>s used previously to maintain the whitespace that is now maintained automatically.) |
||
Line 12: | Line 12: | ||
<dl> | <dl> | ||
<dt>Description:<dd>{{{DESCRIPTION|}}} | <dt>Description:<dd>{{{DESCRIPTION|}}} | ||
{{#if:{{{NOTES|}}}|<dt>Notes:<dd>{{{NOTES}}}|}} | {{#if:{{{NOTES|}}}|<dt>Notes:<dd style="white-space:pre-wrap;">{{#replace:{{{NOTES|}}}|<br/>|}}|}} | ||
</dl> | </dl> | ||
Line 20: | Line 20: | ||
{{#if:{{{COMMAND|}}}|<dt>Line call:<dd>{{{COMMAND}}}|}} | {{#if:{{{COMMAND|}}}|<dt>Line call:<dd>{{{COMMAND}}}|}} | ||
{{#if:{{{OPTIONS|}}}|<dt>Options:<dd>{{{OPTIONS}}}|}} | {{#if:{{{OPTIONS|}}}|<dt>Options:<dd>{{{OPTIONS}}}|}} | ||
{{#if:{{{EXAMPLE|}}}|<dt>Examples:<dd>{{{EXAMPLE}}}|}} | {{#if:{{{EXAMPLE|}}}|<dt>Examples:<dd style="white-space:pre-wrap;">{{#replace:{{{EXAMPLE|}}}|<br/>|}}|}} | ||
</dl> | </dl> | ||
Revision as of 09:09, 29 April 2014
Usage
{{Tool|= |AUTHOR= |VERSION= |COMPATIBILITY= |DOWNLOAD= |DESCRIPTION= |NOTES= |COMMAND= |OPTIONS= |EXAMPLE= |LICENSING= |SEEALSO= }}