Template:CommandLineTable: Difference between revisions

From OuroDev
No edit summary
No edit summary
Line 20: Line 20:


Very nice.}}
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>{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; margin-bottom:0.6em; border:1px solid #a2a9b1; border-collapse:collapse"
</noinclude><includeonly>{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; margin-bottom:0.6em; border:1px solid #a2a9b1; border-collapse:collapse"
{{{1}}}
{{{1}}}
|}</includeonly>
|}</includeonly>

Revision as of 18:27, 30 April 2019

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.