Changes between Version 5 and Version 6 of InsertElementMacro


Ignore:
Timestamp:
Nov 25, 2015, 2:16:56 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • InsertElementMacro

    v5 v6  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Insert HTML Elements =
    32
    4 == Description ==
     3= Insert HTML Elements
     4
     5== Description
    56
    67Allows you to insert HTML elements with properties, without having to use a preprocessor.
    78
    8 == Bugs/Feature Requests ==
     9== Bugs/Feature Requests
    910
    1011Existing bugs and feature requests for InsertElementMacro are
     
    1213
    1314If you have any issues, create a
    14 [http://trac-hacks.org/newticket?component=InsertElementMacro&owner=sanmarcos new ticket].
     15[/newticket?component=InsertElementMacro new ticket].
    1516
    16 == Download ==
     17[[TicketQuery(component=InsertElementMacro&group=type,format=progress)]]
    1718
    18 Download the zipped source from [download:insertelementmacro here].
     19== Download
    1920
    20 == Source ==
     21Download the zipped source from [export:insertelementmacro here].
    2122
    22 You can check out InsertElementMacro from [http://trac-hacks.org/svn/insertelementmacro here] using Subversion, or [source:insertelementmacro browse the source] with Trac.
     23== Source
    2324
    24 == Example ==
     25You can check out InsertElementMacro from [/svn/insertelementmacro here] using Subversion, or [source:insertelementmacro browse the source] with Trac.
     26
     27== Example
    2528
    2629Usage:
    2730{{{
    28   [[InsertElement(element, property, value, content)]]
     31[[InsertElement(element, property, value, content)]]
    2932}}}
    3033
    3134Where:
    32     * '''element''' Name of an HTML element like div or p
    33     * '''property''' Name of the HTML property such as class or id
    34     * '''value''' The value of the property
    35     * '''content''' The quoted string for the content of the element 
     35    * '''element''' Name of an HTML element like div or p.
     36    * '''property''' Name of the HTML property such as class or id.
     37    * '''value''' The value of the property.
     38    * '''content''' The quoted string for the content of the element.
    3639
    3740Examples:
    3841{{{
    39    [[InsertElement(div, class, quote, "This is a very nice quote")]]
    40    [[InsertElement(p, id, unique, "This is a unique paragraph, commas in the last argument don't interfere")]]
    41    [[InsertElement(a, id, uniquea, "You can represent actual quotes by using "entities"")]]
    42    [[InsertElement(pre, id, uniqueb, 'Or you can change the type of "outer quote"')]]
     42[[InsertElement(div, class, quote, "This is a very nice quote.")]]
     43[[InsertElement(p, id, unique, "This is a unique paragraph, commas in the last argument don't interfere.")]]
     44[[InsertElement(a, id, uniquea, "You can represent actual quotes by using "entities".")]]
     45[[InsertElement(pre, id, uniqueb, 'Or you can change the type of "outer quote".')]]
    4346}}}
    4447
    4548Result:
    46 {{{
    47    <div class="quote">This is a very nice quote</div>
    48    <p id="unique">This is a unique paragraph, commas in the last argument don't interfere</p>
    49    <a id="uniquea>You can represent actual quotes by using &quot;entities&quot;</a>
    50    <pre id="uniqueb">Or you can change the type of "outer quote"</pre>
     49{{{#!html
     50<div class="quote">This is a very nice quote.</div>
     51<p id="unique">This is a unique paragraph, commas in the last argument don't interfere.</p>
     52<a id="uniquea">You can represent actual quotes by using &quot;entities&quot;.</a>
     53<pre id="uniqueb">Or you can change the type of "outer quote".</pre>
    5154}}}
    5255
    53 == Recent Changes ==
     56== Recent Changes
    5457
    5558[[ChangeLog(insertelementmacro, 3)]]
    5659
    57 == Author/Contributors ==
     60== Author/Contributors
    5861
    5962'''Author:''' [wiki:sanmarcos] [[BR]]
    60 '''Maintainer:''' [wiki:sanmarcos] [[BR]]
     63'''Maintainer:''' [[Maintainer]] [[BR]]
    6164'''Contributors:'''