Template:Pfr2: Difference between revisions

From OLPC
Jump to navigation Jump to search
(ital)
(noinclude)
Line 9: Line 9:
: text = description of the project
: text = description of the project


== Nosubst example ==
Example:


{{pfr2|Template talk:pfr2|submitter=sj|location=Earth
|duration= |completion=10 |request=20 project submissions
|text= This is a template talk page. Love it.}}


== Subst example ==


===[[Template:pfr2]]===
===[[Template talk:pfr2]]===
:{{la|Template:pfr2}} <small>(View [[Template:Pfr2|'''PfR''']] | [[OLPC:Projects for review/Log/2009 February#{{anchorencode:Template:pfr2}}|'''PFR log''']])</small>
:{{la|Template talk:pfr2}} <small>(View [[Template talk: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%
Line 26: Line 30:
-->
-->


</noinclude><include>
===[[{{{pg}}}]]===
===[[{{{pg}}}]]===
:{{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|{{{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>

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

Nosubst example

<include>

[[{{{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 [[{{subst:FULLPAGENAME}}|PfR]] | [[OLPC:Projects for review/Log/{{subst:CURRENTYEAR}} {{subst:CURRENTMONTHNAME}}#{{{pg}}}|PFR log]])
Submitter: sj (talk · contribs)     Location: –
Request: –     Duration:     Completion: 10%
This is a template talk page. Love it.

Comments

  • ...


Subst example

Template talk:pfr2

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




<include>

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

Comments

  • ...