Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (..)
(+br)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is a substituted template. It has a few variables:
This is a substituted template for [[OLPC:PFR|PfR]]. Variables:

: pg = the target page title. This can be a section link.
: page = the target page title. This can be a section link.
: submitter = the project submitter, preferably their wiki username
: submitter = the project submitter, preferably their wiki username
: loc = location of the project, city and state
: loc = location of the project, city and state
: 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 %
: duration = the amount of time the project will run (at the end the XOs should be returned to the program or passed on to another project)
: text = description of the project
: text = description of the project



== Nosubst example ==
== Example ==


<pre>
<pre>
Line 16: Line 19:
|submitter = sj
|submitter = sj
|loc = Earth
|loc = Earth
|duration =
|completion = 10
|req = 200 XOs for February
|req = 200 XOs for February
|completion = 10
|text = This is a project to distribute a hundred+
XOs a month to worthy community projects.
|text = A project to distribute XOs to worthy community projects.
}}
}}
</pre>
</pre>


== Subst example ==



<include>
===[[{{{pg}}}]]===
===[[Contributors program]]===
:{{la|{{{pg}}}}} <small>(View [[Template:Pfr2|'''PfR''']] | [[OLPC:Projects for review/Log/2009 February#{{anchorencode:{{{pg}}}}}|'''PFR log''']])</small>
{{la|Contributors program}} <small>(View [[Template:Pfr2|'''PfR''']] | [[OLPC:Projects for review/Log/2009 February#{{anchorencode:Contributors program}}|'''PFR log''']])</small>
: '''Submitter''': {{user|sj}} &nbsp; &nbsp; '''Location''':&nbsp;Earth
: '''Submitter''': {{user|sj}} &nbsp; &nbsp; '''Location''':&nbsp;Earth
:'''Request''':&nbsp;200 XOs for February &nbsp; &nbsp; '''Duration''':&nbsp;&nbsp; &nbsp; '''Completion''':&nbsp;10%
:'''Request''':&nbsp;200 XOs for February &nbsp; &nbsp; '''Duration''':&nbsp;unknown &nbsp; &nbsp; '''Completion''':&nbsp;10%
: This is a project to distribute a hundred+
: A project to distribute XOs to worthy community projects.
XOs a month to worthy community projects.
''Comments''
''Comments''
* ...
* ...
<br/>
<br/><br/>


<!--

old wikicode...
{{<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>
</noinclude>
===[[{{{pg}}}]]===
===[[{{{page}}}]]===
:{{la|{{{pg}}}}} <small>(View [[{{<includeonly>subst:</includeonly>FULLPAGENAME}}|'''PfR''']] | [[OLPC:Projects for review/Log/{{<includeonly>subst:</includeonly>CURRENTYEAR}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}#{{anchorencode:{{{pg}}}}}|'''PFR log''']])</small>
{{la|{{{page}}}}} <small>(View [[{{<includeonly>subst:</includeonly>FULLPAGENAME}}|'''PfR''']] | [[OLPC:Projects for review/Log/{{<includeonly>subst:</includeonly>CURRENTYEAR}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAME}}#{{anchorencode:{{{page}}}}}|'''PFR log''']])</small>
: '''Submitter''': {{user|{{{submitter}}}}} &nbsp; &nbsp; '''Location''':&nbsp;{{{loc|&ndash;}}}
: '''Submitter''': {{user|{{{submitter}}}}} &nbsp; &nbsp; '''Location''':&nbsp;{{{loc|&ndash;}}}
:'''Request''':&nbsp;{{{req|&ndash;}}} &nbsp; &nbsp; '''Duration''':&nbsp;{{{duration|unknown}}}&nbsp; &nbsp; '''Completion''':&nbsp;{{{completion|0}}}%
:'''Request''':&nbsp;{{{req|&ndash;}}} &nbsp; &nbsp; '''Duration''':&nbsp;{{{duration|unknown}}}&nbsp; &nbsp; '''Completion''':&nbsp;{{{completion|0}}}%
Line 47: Line 52:
''Comments''
''Comments''
* ...
* ...
<br/><!--
<br/><br/>

old wikicode...
{{<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>}}

-->

Latest revision as of 19:43, 20 February 2009


This is a substituted template for PfR. Variables:

page = 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 %
duration = the amount of time the project will run (at the end the XOs should be returned to the program or passed on to another project)
text = description of the project


Example

{{subst:pfr2
|page = Contributors program
|submitter = sj
|loc = Earth
|req = 200 XOs for February 
|completion = 10 
|text = A project to distribute XOs to worthy community projects.
}}


Contributors program

Contributors program (edit|talk|history|links|watch|logs) (View PfR | PFR log)

Submitter: sj (talk · contribs)     Location: Earth
Request: 200 XOs for February     Duration: unknown     Completion: 10%
A project to distribute XOs to worthy community projects.

Comments

  • ...





[[{{{page}}}]]

[[{{{page}}}]] ([{{fullurl:{{{page}}}|action=edit}} edit]|[[Talk:{{{page}}}|talk]]|[{{fullurl:{{{page}}}|action=history}} history]|[{{fullurl:Special:Whatlinkshere/{{{page}}}|limit=999}} links]|[{{fullurl:{{{page}}}|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

  • ...