Tool – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(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.)
No edit summary
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__NOTOC__ __NOEDITSECTION__ <div class="tool_description">
<includeonly>__NOTOC__ __NOEDITSECTION__ <div class="_description tool">


=== Basic information ===
=== Basic information ===
<dl>
<dl>
<dt>Author:<dd>{{{AUTHOR|}}}
<dt>Author:<dd>{{#if:{{{AUTHOR|}}}|{{{AUTHOR|}}}|[[:Category:Projects|Bohemia Interactive]]}}
{{#if:{{{VERSION|}}}|<dt>Version:<dd>{{{VERSION}}}|}}
{{#if:{{{VERSION|}}}|<dt>Version:<dd>{{{VERSION}}}|}}
{{#if:{{{COMPATIBILITY|}}}|<dt>Compatibility:<dd>{{{COMPATIBILITY}}}|}}
{{#if:{{{COMPATIBILITY|}}}|<dt>Compatibility:<dd>{{{COMPATIBILITY}}}|}}
Line 12: Line 12:
<dl>
<dl>
<dt>Description:<dd>{{{DESCRIPTION|}}}
<dt>Description:<dd>{{{DESCRIPTION|}}}
{{#if:{{{NOTES|}}}|<dt>Notes:<dd style="white-space:pre-wrap;">{{#replace:{{{NOTES|}}}|<br/>|}}|}}
{{#if:{{{NOTES|}}}|<dt>Notes:<dd>{{{NOTES}}}|}}
</dl>
</dl>
 
{{#if:{{{INSTALL|}}} or {{{COMMAND|}}} or {{{OPTIONS|}}} or {{{EXAMPLE|}}}|


=== Usage ===
=== Usage ===
<dl>
<dl>
{{#if:{{{INSTALL|}}}|<dt>Installation:<dd>{{{INSTALL}}}|}}
{{#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 style="white-space:pre-wrap;">{{#replace:{{{EXAMPLE|}}}|<br/>|}}|}}
{{#if:{{{EXAMPLE|}}}|<dt>Examples:<dd>{{{EXAMPLE}}}|}}
</dl>
</dl>
|}}


=== Licenses ===
=== Licenses ===
Line 46: Line 48:


|NOTES=
|NOTES=
|INSTALL=


|COMMAND=
|COMMAND=

Revision as of 12:32, 16 October 2015


Usage

{{Tool|=

|AUTHOR=

|VERSION=

|COMPATIBILITY=

|DOWNLOAD=

|DESCRIPTION=

|NOTES=

|INSTALL=

|COMMAND=

|OPTIONS=

|EXAMPLE=

|LICENSING=

|SEEALSO=

}}