Template:CommandLineTable: Difference between revisions

From OuroDev
Created page with "{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; border-collapse:collapse" {{{1}}} |}"
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; border-collapse:collapse"
<noinclude>
Table for command line arguments and other monospace definition tables.
 
Example:
<pre>
{{CommandLineTable|
{{CLArg|-arg1|This is argument 1.}}
{{CLArg|-arg2 ''number''|Argument 2 engages numberwang according to the parameter.}}
{{CLArg|-longarg|
You can have multiparagraph and wikiformatting in the descriptions.
 
Very nice.}}
}}
</pre>
{{CommandLineTable|
{{CLArg|-arg1|This is argument 1.}}
{{CLArg|-arg2 ''number''|Argument 2 engages numberwang according to the parameter.}}
{{CLArg|-longarg|
You can have multiparagraph and wikiformatting in the descriptions.
 
Very nice.}}
}}
 
You can also use it for other kinds of monospaced table lists.
{{CommandLineTable|
{{CLArg|ConfigDirective|This directive tells the server to activate the system.}}
{{CLArg|WildRide|
This one takes subdirectives.
{{CommandLineTable|
{{CLArg|DataFolder|The folder for data.}}
{{CLArg|System|This is the system.}}
}}}}
}}
</noinclude><includeonly>{| class="commandlinetable" style="width:100%; background:#c7c7c7; margin-top: 0.6em; margin-bottom:0.6em; border:1px solid #000000; border-collapse: collapse"
{{{1}}}
{{{1}}}
|}
|}</includeonly>

Latest revision as of 14:11, 8 October 2020

Table for command line arguments and other monospace definition tables.

Example:

{{CommandLineTable|
{{CLArg|-arg1|This is argument 1.}}
{{CLArg|-arg2 ''number''|Argument 2 engages numberwang according to the parameter.}}
{{CLArg|-longarg|
You can have multiparagraph and wikiformatting in the descriptions.

Very nice.}}
}}

-arg1

This is argument 1.

-arg2 number

Argument 2 engages numberwang according to the parameter.

-longarg

You can have multiparagraph and wikiformatting in the descriptions.

Very nice.

You can also use it for other kinds of monospaced table lists.

ConfigDirective

This directive tells the server to activate the system.

WildRide

This one takes subdirectives.

DataFolder

The folder for data.

System

This is the system.