Changes for page Macro Options

Last modified by Ecaterina Moraru on 2013/11/13 12:50

From version 4.3
edited by Ecaterina Valica
on 2012/06/12 17:22
Change comment: There is no comment for this version
To version 6.4
edited by Ecaterina Valica
on 2012/06/12 18:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,10 +41,13 @@
41 41  
42 42  == Proposal ==
43 43  
44 +=== 1. Collapsed as default ===
45 +
44 44  (% class="left column50 dashboardleft"%)
45 45  (((
46 46  Default: Macros Collapsed
47 47  [[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
50 +The collapse/expanded functionality could be also added in the toolbar in order to be more discoverable
48 48  )))
49 49  
50 50  (% class="left column50 dashboardleft"%)
... ... @@ -51,12 +51,49 @@
51 51  (((
52 52  Expand Macros on demand
53 53  [[[[image:expandedOnDemand.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:expandedOnDemand.png]]
57 +Even in the expanded form, keep the macro header and have a special background color for the content in order to show it's a macro
54 54  )))
55 55  
56 56  (%class='clearfloats'%)((()))
57 57  
62 +=== 2. Macro Parameters ===
63 +
64 +(% class="left column50 dashboardleft"%)
65 +(((
66 +
67 +[[[[image:macrosNoParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosNoParams.png]]
68 +The macro's header contains at least the macro's name
58 58  )))
59 59  
71 +(% class="left column50 dashboardleft"%)
72 +(((
60 60  
74 +[[[[image:macrosParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosParams.png]]
75 +We could also display the macro params in the header
61 61  
77 +)))
62 62  
79 +(%class='clearfloats'%)((()))
80 +
81 +=== x. Nested macros ===
82 +
83 +(% class="left column50 dashboardleft"%)
84 +(((
85 +
86 +[[[[image:nestedMacrosCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosCollapsed.png]]
87 +)))
88 +
89 +(% class="left column50 dashboardleft"%)
90 +(((
91 +
92 +[[[[image:nestedMacrosExpanded.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosExpanded.png]]
93 +
94 +)))
95 +
96 +(%class='clearfloats'%)((()))
97 +
98 +)))
99 +
100 +
101 +
102 +
macrosNoParams.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +37.3 KB
Content
macrosParams.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +41.4 KB
Content
nestedMacrosCollapsed.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +53.6 KB
Content
nestedMacrosExpanded.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +55.9 KB
Content