w2pho is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/w2pho does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 2 and Version 3 of WikiMacros


Ignore:
Timestamp:
Nov 9, 2012, 9:16:03 AM (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiMacros

    v2 v3  
    1414The list of available macros and the full help can be obtained using the !MacroList macro, as seen [#AvailableMacros below].
    1515
    16 A brief list can be obtained via ![[MacroList(*)]] or ![[?]].
     16A brief list can be obtained via `[[MacroList(*)]]` or `[[?]]`.
    1717
    18 Detailed help on a specific macro can be obtained by passing it as an argument to !MacroList, e.g. ![[MacroList(MacroList)]], or, more conveniently, by appending a question mark (?) to the macro's name, like in ![[MacroList?]].
     18Detailed help on a specific macro can be obtained by passing it as an argument to !MacroList, e.g. `[[MacroList(MacroList)]]`, or, more conveniently, by appending a question mark (`?`) to the macro's name, like in `[[MacroList?]]`.
    1919
    2020
     
    148148For example, when writing:
    149149{{{
    150 {{{#!HelloWorld style="polite"
     150{{{#!HelloWorld style="polite" -silent verbose
    151151<Hello World!>
    152152}}}
     
    160160One should get:
    161161{{{
    162 Hello World, text = <Hello World!> , args = {'style': u'polite'}
     162Hello World, text = <Hello World!> , args = {'style': u'polite', 'silent': False, 'verbose': True}
    163163Hello World, text = <Hello World!> , args = {}
    164164Hello World, text = <Hello World!> , args = None