Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
(-ex)
(try example.)
Line 10: Line 10:


Example:
Example:
{{pfr2|pg=Template:pfr2|text=A template!|submitter=sj|loc=Earth|req=20 project submissions|completion=10}}


----
----

Revision as of 20:07, 13 February 2009


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

pg = the target page title. This can be a section link.
text = description of the project
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 %

Example: {{subst:void|1=Template:Error:not substituted}}

Template:pfr2

Template:pfr2 (edit|[[Talk:Template:pfr2|talk]]|history|links|watch|logs) <includeonly>([[{{subst:FULLPAGENAME}}|View PfR]])</includeonly><noinclude>([[OLPC:Projects for review/Log/{{subst:CURRENTYEAR}} {{subst:CURRENTMONTHNAME}}#Template:pfr2|View PFR log]])</noinclude>
Submitter: sj (talk · contribs)     LocationTemplate:Loc
Request: 20 project submissions     Duration: unknown    Completion: 10%
A template!





[[{{{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) <includeonly>(View PfR)</includeonly><noinclude>(View PFR log)</noinclude>
Submitter: [[User:{{{submitter}}}|{{{submitter}}}]] ([[User talk:{{{submitter}}}|talk]] · [[Special:Contributions/{{{submitter}}}|contribs]])     LocationTemplate:Loc
Request: –     Duration: unknown    Completion: 0%
{{{text}}}