Widget

Ohloh Project

From LRDE

Revision as of 10:50, 26 November 2019 by Clément Démoulins (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This widget allows you to add OpenHub Project Widgets to your wiki page.

It was created by Sergey Chernyshev.

To insert this widget, use the following code:

{{#widget:Ohloh Project|id=mediawiki-widgets|type=thin_badge}}

Parameters

  • id is a number or string in project profile page URL
  • type is a one of the following:
    • users - users voting button
      • use optional style parameter to change the style of the voting button (gray, red, green, blue, rainbow)
    • thin_badge (default) - Thin Badge
    • partner_badge - Partner Badge
    • languages - Languages summary
    • cocomo - Cocomo cost summary
    • factoids - Project Factoids
    • basic_stats - Project Stats

Template:Copy to your site

Sample result

Voting button

{{#widget:Ohloh Project|id=mediawiki-widgets|type=users|style=rainbow}}

Thin Badge

{{#widget:Ohloh Project|id=mediawiki-widgets|type=thin_badge}}

Partner Badge

{{#widget:Ohloh Project|id=mediawiki-widgets|type=partner_badge}}

Languages summary

{{#widget:Ohloh Project|id=mediawiki-widgets|type=languages}}

Cocomo cost summary

{{#widget:Ohloh Project|id=mediawiki-widgets|type=cocomo}}

Project Factoids

{{#widget:Ohloh Project|id=mediawiki-widgets|type=factoids}}

Project Stats

{{#widget:Ohloh Project|id=mediawiki-widgets|type=basic_stats}}