Changes between Version 13 and Version 14 of OhlohWidgetsMacroPlugin
- Timestamp:
- Sep 22, 2016, 6:07:20 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OhlohWidgetsMacroPlugin
v13 v14 10 10 [[Image(wiki:OhlohWidgetsMacroPlugin:ohloh_widgets_macro.png, border=2)]] 11 11 12 Check the '''[http://www.schwarz.eu/opensource/projects/ohloh_widgets_macro/ online demo]''' to see the macro in action. Also see below for some examples as to how to use this macro. 12 Check the '''[http://www.schwarz.eu/opensource/projects/ohloh_widgets_macro/ online demo]''' to see the macro in action. 13 14 Display a single widget by specifying your project id and the widget name, ie the Javascript file name without the '.js' suffix: 15 16 {{{ 17 [[OhlohWidget(483602, project_basic_stats)]] 18 }}} 19 20 Also you can display a group of widgets together: 21 22 {{{ 23 [[OhlohWidgetGroup(483602, project_basic_stats, project_factoids, project_users?style=green)]] 24 }}} 25 26 This has the advantage that all widgets are grouped in a div so you can style it easily. 13 27 14 28 This plugin is a [trac: Trac] macro to make embedding these widgets in your Trac wiki easy and does not force you to lower Trac's security settings. It includes a special API so you can modify any OpenHub widget, so it blends in better with your layout. … … 62 76 }}} 63 77 64 == Examples65 66 Display a single widget by specifying your project id and the widget name, ie the Javascript file name without the '.js' suffix:67 68 {{{69 [[OhlohWidget(483602, project_basic_stats)]]70 }}}71 72 Also you can display a group of widgets together:73 74 {{{75 [[OhlohWidgetGroup(483602, project_basic_stats, project_factoids, project_users?style=green)]]76 }}}77 78 This has the advantage that all widgets are grouped in a div so you can style it easily.79 80 78 == Author/Contributors 81 79