Changes between Version 1 and Version 2 of InsertElementMacro


Ignore:
Timestamp:
Jul 16, 2007, 5:34:15 PM (17 years ago)
Author:
Marc E.
Comment:

Updated quotes messed up

Legend:

Unmodified
Added
Removed
Modified
  • InsertElementMacro

    v1 v2  
    2727  [[InsertElement(element, property, value, content)]]
    2828}}}
     29
    2930Where:
    30 
    31     * element Name of an HTML element like div or p
    32     * property Name of the HTML property such as class or id
    33     * value The value of the property
    34     * content The quoted string for the content of the element
     31    * '''element''' Name of an HTML element like div or p
     32    * '''property''' Name of the HTML property such as class or id
     33    * '''value''' The value of the property
     34    * '''content''' The quoted string for the content of the element
    3535
    3636Examples:
    3737{{{
    38   [[InsertElement(div, class, quote, "This is a very nice quote")]]
    39   [[InsertElement(p, id, unique, "This is a unique paragraph, commas in the last argument don't interfere")]]
    40   [[InsertElement(a, id, uniquea, "You can represent actual quotes by using "entities"")]]
    41   [[InsertElement(pre, id, uniqueb, 'Or you can change the type of "outer quote"')]]
     38   [[InsertElement(div, class, quote, "This is a very nice quote")]]
     39   [[InsertElement(p, id, unique, "This is a unique paragraph, commas in the last argument don't interfere")]]
     40   [[InsertElement(a, id, uniquea, "You can represent actual quotes by using "entities"")]]
     41   [[InsertElement(pre, id, uniqueb, 'Or you can change the type of "outer quote"')]]
    4242}}}
     43
    4344Result:
    4445{{{
    45     <div class="quote">This is a very nice quote</div>
    46     <p id="unique">This is a unique paragraph, commas in the last argument don't interfere</p>
    47     <a id="uniquea>You can represent actual quotes by using "entities"</a>
    48     <pre id="uniqueb">Or you can change the type of "outer quote"</pre>
     46   <div class="quote">This is a very nice quote</div>
     47   <p id="unique">This is a unique paragraph, commas in the last argument don't interfere</p>
     48   <a id="uniquea>You can represent actual quotes by using &quot;entities&quot;</a>
     49   <pre id="uniqueb">Or you can change the type of "outer quote"</pre>
    4950}}}
    5051
     
    5657
    5758'''Author:''' [wiki:sanmarcos] [[BR]]
    58 '''Contributors:'''