Hide last authors
John 1.1 1
2
3 {{toc-local/}}
4
5 = Introduction =
6
John 18.1 7 A lozenge is nothing but content wrapped in a box with background color.
John 1.1 8
9 = Macro =
10
John 18.1 11 Simple text lozenge:
John 1.1 12
13 {{code}}
John 18.1 14 ## Macro title: loz
John 4.1 15 ## Macro has a body: No
John 1.1 16 ## @param text:title=Text|string=string
17 ## @param color:title=Color|type=string|required=true|default=#0000ff
18 ## @param textcolor:title=Text Color|type=string|required=true|default=#ffffff
19 <span style="background-color:$paramcolor; color:$paramtextcolor; border-radius:3px; padding:0px 3px 2px 3px">$paramtext</span>
20 {{/code}}
21
22 Make sure to select "No macro body" in the "Macro Body Processing" section.
23
24 = Using It =
25
John 18.1 26 Here are some lozenges:
John 1.1 27
John 4.1 28 *
29 *
30 *
31 *
John 1.1 32
John 18.1 33 {{loz color="red" textcolor="white" text="Danger"/}}
John 1.1 34
John 18.1 35 \\

Contact