Template:Pledge/doc

From London Hackspace Wiki
< Template:Pledge
Revision as of 18:44, 28 April 2013 by 930913 (talk | contribs) (Created page with "== Usage == <nowiki>{{pledge| target=</nowiki><br /> |name1= | pledge1=<br /> |name2= | pledge2=<br /> |name3= | pledge3=<br /> |name4= | pledge4=<br /> |name5= | pledge5=<br ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{pledge| target=
|name1= | pledge1=
|name2= | pledge2=
|name3= | pledge3=
|name4= | pledge4=
|name5= | pledge5=
}}

This template can currently handle 20 pledges, though it can be extended for more.

Example

{{pledge| target=50
|name1=Joe | pledge1=10
|name2=Jane | pledge2=15
|name3= | pledge3=
|name4= | pledge4=
|name5= | pledge5=
}}

will result in this:

Name Pledged
Joe £10
Jane £15





Target £50
Pledged £25
Still required £25