This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Widget:PayPal Donation"

From OWASP
Jump to: navigation, search
(Modified the default PayPal Donation widget to fit OWASP's situation)
(Added an example of a complete button insertion)
Line 31: Line 31:
  
 
  <nowiki>|budget=OWASP WTE</nowiki>
 
  <nowiki>|budget=OWASP WTE</nowiki>
 +
 +
So, if you wanted donation in USD to the OWASP WTE project, you'd include the following in your wiki page:
 +
 +
<nowiki>{{#widget:PayPal donation
 +
|budget=OWASP WTE
 +
}}</nowiki>
  
 
== Copy to your site ==
 
== Copy to your site ==

Revision as of 04:48, 23 September 2016

This widget allows you to embed A PayPal donate button on your wiki page.

Created by Ike Hecht

Modified for OWASP use by Matt Tesauro

Using this widget

For information on how to use this widget, see the widget description page on MediaWikiWidgets.org.

Basically, put the wiki code below into your page:

{{#widget:PayPal donation
|target=
|currency=
|budget=
}}

All three parameters (target, currency & budget) are optional and have the following default values

|target=_top
|currency=USD
|budget=general

So if you want your chapter or project to get the donation, put its name in the budget parameter like:

|budget=Chicago Chapter

or

|budget=OWASP WTE

So, if you wanted donation in USD to the OWASP WTE project, you'd include the following in your wiki page:

{{#widget:PayPal donation
|budget=OWASP WTE
}}

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as Widget:PayPal Donation article.