Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(..)
Line 25: Line 25:
{{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>SUBPAGENAME}}|{{{pg}}}||<div class="infobox" style="width:50%">PfRs for this project:<ul class="listify">{{Special:Prefixindex/OLPC:Projects for review/{{{pg}}}}}</ul></div>}}
{{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>SUBPAGENAME}}|{{{pg}}}||<div class="infobox" style="width:50%">PfRs for this project:<ul class="listify">{{Special:Prefixindex/OLPC:Projects for review/{{{pg}}}}}</ul></div>}}
-->
-->


</noinclude><includeonly>{{subst:</includeonly><includeonly>void|1={{error:not substituted|pfr2}}}}</includeonly>


===[[{{{pg}}}]]===
===[[{{{pg}}}]]===

Revision as of 20:15, 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

Example:


Template:pfr2

Template:pfr2 (edit|[[Talk:Template: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.




[[{{{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}}}