Widget

Difference between revisions of "Ohloh Developer"

From LRDE

(Created page with "<noinclude>__NOTOC__ This widget allows you to add '''[http://www.ohloh.net/accounts/7426/widgets Ohloh Developer Widgets]''' to your wiki page. It was created by [[mediawiki...")
 
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=7426|type=detailed|name=Sergey Chernyshev}}</nowiki>
 
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=7426|type=detailed|name=Sergey Chernyshev}}</nowiki>
 
{{#widget:{{PAGENAME}}|id=7426|type=detailed|name=Sergey Chernyshev}}
 
{{#widget:{{PAGENAME}}|id=7426|type=detailed|name=Sergey Chernyshev}}
</noinclude><includeonly><!--{if $type eq 'rank'}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='//www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Rank'><img height='24' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_rank.gif' width='32' /></a><!--{elseif $type eq 'detailed'}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Detailed'><img height='35' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_detailed.gif' width='191' /></a><!--{else}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Tiny'><img height='15' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_tiny.gif' width='80' /></a><!--{/if}--></includeonly>
+
</noinclude><includeonly><!--{if $type eq 'rank'}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Rank'><img height='24' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_rank.gif' width='32' /></a><!--{elseif $type eq 'detailed'}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Detailed'><img height='35' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_detailed.gif' width='191' /></a><!--{else}--><a title='Ohloh profile<!--{if isset($name)}--> for <!--{$name|escape:'quotes'}--><!--{/if}-->' href='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->?ref=Tiny'><img height='15' src='http://www.ohloh.net/accounts/<!--{$id|escape:'urlpathinfo'}-->/widgets/account_tiny.gif' width='80' /></a><!--{/if}--></includeonly>

Latest revision as of 17:59, 25 November 2019

This widget allows you to add Ohloh Developer Widgets to your wiki page.

It was created by Sergey Chernyshev.

To insert this widget, use the following code:

{{#widget:Ohloh Developer|id=7426|type=tiny|name=Sergey Chernyshev}}

Parameters

  • id is a number in developer profile page URL
  • name developer's name
  • type is a one of the following:
    • tiny (default) - Tiny badge
    • rank - Kudos rank
    • detailed - Detailed badge

Template:Copy to your site

Sample result

Tiny badge

{{#widget:Ohloh Developer|id=7426|type=tiny|name=Sergey Chernyshev}}

Kudos rank

{{#widget:Ohloh Developer|id=7426|type=rank|name=Sergey Chernyshev}}

Detailed badge

{{#widget:Ohloh Developer|id=7426|type=detailed|name=Sergey Chernyshev}}