Difference between revisions of "User:Esteis/Cheat sheet"

From Wiki
Jump to navigation Jump to search
(Put it in a table.)
m (use same command)
Line 20: Line 20:
  
 
Template:<br />
 
Template:<br />
{{cmd|setuphead}}
+
{{cmd|setupalign}}
  
 
cmd tags:<br />
 
cmd tags:<br />
 
<cmd>setupalign</cmd>
 
<cmd>setupalign</cmd>

Revision as of 13:05, 23 April 2012

Categorize a command [[Category:Commands/subcat|the_command]]
Linkify a command (template) {{cmd|the_command}}
Linkify a command (tags) <cmd>the_command</cmd>
Syntax-highlighted code (not run) <texcode>...</texcode>
Syntax-highlighted code +

text in between + result

<context source="yes" text="bla">...</context>

The template and the tags don't quite produce the same result. Anyway, you should use the the template form, because the tags don't linkify the command properly.

Template:
\setupalign

cmd tags:
\setupalign