Scripting Commands – Category talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (tidy up)
m (Text replacement - "<code>" to "<code style="display: block">")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Examples ==
== Examples ==


When adding an example code in the command template prefix the example with |x1 = (example. Be sure to wrap the example with <nowiki> <code></code> </nowiki>. If your example contains an '''=''' then it may not display properly. You have to use the <nowiki><nowiki></nowiki></nowiki> tags around the '''=''' equal sign. Also note that double <nowiki>{{}}</nowiki> in command examples may also break the template.
When adding an example code in the command template prefix the example with |x1 '''=''' (example. Be sure to wrap the example with <nowiki> <code style="display: block"></code> </nowiki>. If your example contains a '''=''' then it may not display properly. You have to use the <nowiki><nowiki></nowiki></nowiki> tags around the '''=''' equal sign. Also note that double <nowiki>{{}}</nowiki> in command examples may also break the template.

Latest revision as of 12:53, 11 January 2023

Examples

When adding an example code in the command template prefix the example with |x1 = (example. Be sure to wrap the example with <code style="display: block"></code> . If your example contains a = then it may not display properly. You have to use the <nowiki></nowiki> tags around the = equal sign. Also note that double {{}} in command examples may also break the template.