Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
(simpler)
(ex)
Line 3: Line 3:
This is a substituted template. It has a few variables:
This is a substituted template. It has a few variables:
: pg = the target page title. This can be a section link.
: pg = the target page title. This can be a section link.
: text = description of the project
: 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 %
: text = description of the project


Example:
Example:



===[[Template talk:pfr2]]===

:{{la|Template talk:pfr2}} <small>([[Template talk:Pfr2|'''PfR''']] | [[OLPC:Projects for review/Log/2009 February#{{anchorencode:Template talk:pfr2}}|'''monthly PFR log''']])</small>
===[[Template:pfr2]]===
:{{la|Template:pfr2}} <small>(View [[Template:Pfr2|'''PfR''']] | [[OLPC:Projects for review/Log/2009 February#{{anchorencode:Template:pfr2}}|'''PFR log''']])</small>
: '''Submitter''': {{user|sj}} &nbsp; &nbsp; '''Location''':&nbsp;Earth
: '''Submitter''': {{user|sj}} &nbsp; &nbsp; '''Location''':&nbsp;Earth
:'''Request''':&nbsp;20 project submissions &nbsp; &nbsp; '''Duration''':&nbsp;unknown&nbsp; &nbsp; '''Completion''':&nbsp;10%
:'''Request''':&nbsp;20 project submissions &nbsp; &nbsp; '''Duration''':&nbsp;unknown&nbsp; &nbsp; '''Completion''':&nbsp;10%

Revision as of 20:14, 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%
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) (View PfR | PFR log)
Submitter: [[User:{{{submitter}}}|{{{submitter}}}]] ([[User talk:{{{submitter}}}|talk]] · [[Special:Contributions/{{{submitter}}}|contribs]])     Location: –
Request: –     Duration: unknown    Completion: 0%
{{{text}}}