Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 13: Line 13:
<pre>
<pre>
{{subst:pfr2
{{subst:pfr2
|page = Template talk:pfr2
|page = Contributors program
|submitter = sj
|submitter = sj
|loc = Earth
|loc = Earth
|duration =
|duration =
|completion = 10
|completion = 10
|req = 20 project submissions
|req = 200 XOs for February
|text = This is a template talk page, not a project...
|text = This is a project to distribute a hundred+ XOs a month to worthy community projects.
}}
}}
</pre>
</pre>

Revision as of 20:46, 13 February 2009


This is a substituted template. It has a few variables:

pg = the target page title. This can be a section link.
submitter = the project submitter, preferably their wiki username
loc = location of the project, city and state
req = the support and materials requested
completion = the project's current completion level, in %
text = description of the project

Nosubst example

{{subst:pfr2
|page = Contributors program
|submitter = sj
|loc = Earth
|duration =
|completion = 10 
|req = 200 XOs for February 
|text = This is a project to distribute a hundred+ XOs a month to worthy community projects.
}}

Subst example

Template talk:pfr2

Template talk:pfr2 (edit|[[Talk:Template talk:pfr2|talk]]|history|links|watch|logs) (View PfR | PFR log)
Submitter: sj (talk · contribs)     Location: Earth
Request: 20 project submissions     Duration: unknown    Completion: 10%
This is a template talk page.




<include>

[[{{{pg}}}]]

[[{{{pg}}}]] ([{{fullurl:{{{pg}}}|action=edit}} edit]|[[Talk:{{{pg}}}|talk]]|[{{fullurl:{{{pg}}}|action=history}} history]|[{{fullurl:Special:Whatlinkshere/{{{pg}}}|limit=999}} links]|[{{fullurl:{{{pg}}}|action=watch}} watch]|logs) (View PfR | PFR log)
Submitter: [[User:{{{submitter}}}|{{{submitter}}}]] ([[User talk:{{{submitter}}}|talk]] · [[Special:Contributions/{{{submitter}}}|contribs]])     Location: –
Request: –     Duration: unknown    Completion: 0%
{{{text}}}

Comments

  • ...