Tool – Template
Jump to navigation
Jump to search
(Fixed class) |
Lou Montana (talk | contribs) m (Add doc) |
||
(26 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>__NOTOC____NOEDITSECTION__<div class="_description tool"> | ||
=== Basic | === Basic information === | ||
<dl> | <dl> | ||
<dt>Author: | <dt>Author:<dd>{{#if:{{{AUTHOR|}}}|{{{AUTHOR|}}}|[[:Category:Projects|Bohemia Interactive]]}} | ||
{{if | {{#if:{{{VERSION|}}}|<dt>Version:<dd>{{{VERSION}}}|}} | ||
{{if | {{#if:{{{COMPATIBILITY|}}}|<dt>Compatibility:<dd>{{{COMPATIBILITY}}}|}} | ||
{{if | {{#if:{{{DOWNLOAD|}}}|<dt>Download:<dd>{{{DOWNLOAD}}}|}} | ||
</dl> | </dl> | ||
=== Description === | === Description === | ||
<dl> | <dl> | ||
<dt>Description: | <dt>Description:<dd>{{{DESCRIPTION|}}} | ||
{{if | {{#if:{{{NOTES|}}}|<dt>Notes:<dd>{{{NOTES}}}|}} | ||
</dl> | </dl> | ||
{{#if:{{{INSTALL|}}} or {{{COMMAND|}}} or {{{OPTIONS|}}} or {{{EXAMPLE|}}}| | |||
=== Usage === | |||
<dl> | |||
{{#if:{{{INSTALL|}}}|<dt>Installation:<dd>{{{INSTALL}}}|}} | |||
{{#if:{{{COMMAND|}}}|<dt>Line call:<dd>{{{COMMAND}}}|}} | |||
{{#if:{{{OPTIONS|}}}|<dt>Options:<dd>{{{OPTIONS}}}|}} | |||
{{#if:{{{EXAMPLE|}}}|<dt>Examples:<dd>{{{EXAMPLE}}}|}} | |||
</dl> | |||
|}} | |||
=== | === Licenses === | ||
<dl> | <dl> | ||
<dt>Licensing: | <dt>Licensing:<dd>{{{LICENSING|}}} | ||
{{if | {{#if:{{{SEEALSO|}}}|<dt>See also:<dd>{{{SEEALSO}}}|}} | ||
</dl> | </dl> | ||
</includeonly><noinclude> | |||
Formats a Tool documentation page. | |||
== Usage == | |||
</ | {{<nowiki/>Tool|'''''arguments'''''}} | ||
* arguments: see below | |||
=== Template === | |||
=== | |||
<pre> | <pre> | ||
{{Tool | {{Tool | ||
|AUTHOR= | |AUTHOR= | ||
Line 41: | Line 53: | ||
|NOTES= | |NOTES= | ||
|INSTALL= | |||
|COMMAND= | |||
|OPTIONS= | |||
|EXAMPLE= | |||
|LICENSING= | |LICENSING= | ||
Line 47: | Line 67: | ||
}}</pre> | }}</pre> | ||
[[Category:Templates|{{PAGENAME}}]] | |||
{| | |||
|+ Examples | |||
|- style="background-color: #EEE" | |||
! Code | |||
! style="min-width: 60em" | Result | |||
|- | |||
| <nowiki>{{Tool}}</nowiki> | |||
| {{Tool}}<br><br> | |||
|- | |||
| <nowiki>{{Tool|DESCRIPTION= this is a description.|LICENSING= None.}}</nowiki> | |||
| {{Tool|DESCRIPTION= this is a description.|LICENSING= None.}}<br><br> | |||
|} | |||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | |||
</noinclude> | </noinclude> |
Latest revision as of 19:54, 4 February 2021
Formats a Tool documentation page.
Usage
{{Tool|arguments}}
- arguments: see below
Template
{{Tool |AUTHOR= |VERSION= |COMPATIBILITY= |DOWNLOAD= |DESCRIPTION= |NOTES= |INSTALL= |COMMAND= |OPTIONS= |EXAMPLE= |LICENSING= |SEEALSO= }}
Code | Result |
---|---|
{{Tool}} | |
{{Tool|DESCRIPTION= this is a description.|LICENSING= None.}} | Basic information
Description
UsageLicenses
|