Board Thread:Support Requests - Designing Your Wiki/@comment-20755501-20130924054232

I am creating a page which looks right now  vastly like this (shortend and updated to the desired look ... full list of this section at bottom)

other:

 * ​< AGX | SAS | RCS | bool_var* | float_var*  > ON | OFF

not written explanation


 * COPY TO | FROM

not written explanation


 * DECLARE PARAMETER [, [ , ...]]


 * declares one or more variables that are given from the outside as parameter


 * DELETE [ FROM ]

not written explanation

It is a list of commands where the explanation should be hidden at first. Since other editors of that page had trouble to keep the code working and for usability I wanted to switch it into a template.

Here are the problems I have:


 * 1) The expand link should be right next to the headline.


 * 1) A Entry has two parts. The visible command and the (at first) hidden explanation.


 * 1) * The command can be start with an attribute or list of alternatives


 * 1) * OR with (part) the command itself


 * each should be formatted differently


 * There might or might not parts which are optional.

How do I put that into a template?

In case that you need more examples (its the current formatting): ===other:===


 * { }

not written explanation


 * ​ ON|OFF

not written explanation


 * COPY TO|FROM

not written explanation


 * DECLARE


 * DECLARE declares a new empty variable


 * DECLARE PARAMETER [, [,...]]


 * declares one or more variables that are given from the outside as parameter


 * DELETE [FROM ]

not written explanation


 * EDIT

not written explanation


 * IF  [ ]

not written explanation


 * LIST VOLUMES|FILES|PARTS|RESOURCES|ENGINES|TARGETS|BODIES

not written explanation


 * LOCK  TO

not written explanation


 * ON  [do something.]


 * Careful: currently (0.61) the kOS get bricked with "ON STAGE"


 * PRINT [AT (,)]

not written explanation


 * RENAME VOLUME| FILE TO

not written explanation


 * RUN [ (parameter list) ]

not written explanation


 * SET TO|=


 * set = accepts no whitespaces between the variable and the =


 * SET WARP

not written explanation


 * SWITCH TO

not written explanation


 * TOGGLE 

not written explanation


 * UNLOCK |ALL

not written explanation


 * UNTIL  [ ]


 * executes a list of command as long as the conditions are not matched.


 * WAIT |UNTIL

not written explanation


 * WHEN THEN 


 * executes a list of command as soon as the conditions are matched. This can declared anywhere in the program unlike the IF statement and will be fired only once.

New formatting: ===other:===


 * ​< AGX | SAS | RCS | bool_var* | float_var*  > ON | OFF

not written explanation


 * COPY TO | FROM

not written explanation


 * DECLARE PARAMETER [, [ , ...]]


 * declares one or more variables that are given from the outside as parameter


 * DELETE [ FROM ]

not written explanation

 