Changes between Version 13 and Version 14 of OhlohWidgetsMacroPlugin


Ignore:
Timestamp:
Sep 22, 2016, 6:07:20 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • OhlohWidgetsMacroPlugin

    v13 v14  
    1010[[Image(wiki:OhlohWidgetsMacroPlugin:ohloh_widgets_macro.png, border=2)]]
    1111
    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.
     12Check the '''[http://www.schwarz.eu/opensource/projects/ohloh_widgets_macro/ online demo]''' to see the macro in action.
     13
     14Display 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
     20Also you can display a group of widgets together:
     21
     22{{{
     23[[OhlohWidgetGroup(483602, project_basic_stats, project_factoids, project_users?style=green)]]
     24}}}
     25
     26This has the advantage that all widgets are grouped in a div so you can style it easily.
    1327
    1428This 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.
     
    6276}}}
    6377
    64 == Examples
    65 
    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 
    8078== Author/Contributors
    8179