Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
(description)
No edit summary
Line 8: Line 8:
: req = the support and materials requested
: req = the support and materials requested
: completion = the project's current completion level, in %
: completion = the project's current completion level, in %

Example:
===[[Template:pfr2]]===
<div class="infobox" style="width:50%">PfRs for this project:<ul class="listify">{{Special:Prefixindex/OLPC:Projects for review/Template:pfr2}}</ul></div>
:{{la|Template:pfr2}} <includeonly>([[Template:Pfr2|View '''PfR''']])</includeonly><noinclude>([[OLPC:Projects for review/Log/2009 February#{{anchorencode:Template:pfr2}}|View '''PFR log''']])</noinclude>
: '''Submitter''': {{user|sj}} &nbsp; &nbsp; '''Location''':&nbsp;{{loc|&ndash;}}
:'''Request''':&nbsp;20 project submissions &nbsp; &nbsp; '''Duration''':&nbsp;unknown&nbsp; &nbsp; '''Completion''':&nbsp;10%
: A template!
<br/><br/>

----


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

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

Template:pfr2

PfRs for this project:
    Template:pfr2 (edit|[[Talk:Template:pfr2|talk]]|history|links|watch|logs) (View PFR log)
    Submitter: sj (talk · contribs)     LocationTemplate:Loc
    Request: 20 project submissions     Duration: unknown    Completion: 10%
    A template!




    [[{{{pg}}}]]

    PfRs for this project:
      {{Special:Prefixindex/OLPC:Projects for review/{{{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}}}