Template:Include Page: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweak)
m (Reverted edits by 192.167.9.228 (Talk); changed back to last version by Xavi)
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
== Usage ==
== Usage ==


<nowiki>{{</nowiki>Include Page | Page Name <nowiki>}}</nowiki>
<nowiki>{{</nowiki>Include Page |Page Name <nowiki>}}</nowiki>
; WARNING : This is a 'tricky' template as there '''can't be ANY spaces preceeding the page name'''. IOW, after the '|' there should be '''NO''' whitespace. (Took me a while to realize this).


== Examples ==
== Examples ==


<nowiki>{{</nowiki>Include Page | News <nowiki>}}</nowiki> &lt;!-- to include an absolute page --&gt;
<nowiki>{{</nowiki>Include Page |News <nowiki>}}</nowiki> &lt;!-- to include an absolute page --&gt;
<nowiki>{{</nowiki>Include Page | /News <nowiki>}}</nowiki> &lt;!-- to include a page relative to current page --&gt;
<nowiki>{{</nowiki>Include Page |/News <nowiki>}}</nowiki> &lt;!-- to include a page relative to current page --&gt;
<nowiki>{{</nowiki>Include Page | OLPC Argentina/News <nowiki>}}</nowiki> &lt;!-- to include an absolute subpage --&gt;
<nowiki>{{</nowiki>Include Page |OLPC Argentina/News <nowiki>}}</nowiki> &lt;!-- to include an absolute subpage --&gt;


{{Include Page | OLPC Argentina/News }}
{{Include Page |OLPC Argentina/News }}
</noinclude>
</noinclude>

Latest revision as of 16:06, 10 October 2007

  Included page [[{{{1}}}]] [[{{fullurl:{{{1}}}|action=edit}} edit]]  

{{ :{{{1}}} }}

This template allows a simple way to include any particular page placing a 'banner/header' identifying it, while providing a direct link to it and a link for its edition. These links are helper links, nothing more.

Usage

{{Include Page |Page Name }}
WARNING
This is a 'tricky' template as there can't be ANY spaces preceeding the page name. IOW, after the '|' there should be NO whitespace. (Took me a while to realize this).

Examples

{{Include Page |News }}                 <!-- to include an absolute page -->
{{Include Page |/News }}                <!-- to include a page relative to current page -->
{{Include Page |OLPC Argentina/News }}  <!-- to include an absolute subpage -->
  Included page OLPC Argentina/News [edit]  


2007-08-20 lanacion.com.ar Claves de la alfabetización digital
2007-08-07 canal-ar La actualidad de One Laptop Per Child en Argentina
2007-07-18 canal-ar Intel explicó los alcances del acuerdo con OLPC—Wilton Agatstein en Argentina
2007-05-21 canal-ar La laptop de OLPC comenzaría a distribuirse en octubre
2007-04-08 Educ.ar Análisis de Software y Hardware de la computadora OLPC - Informe (PDF)
2007-02-28 Educ.ar Poniendo a prueba el prototipo B1 de OLPC - incluye una presentacion del plan del proyecto.
  Datafull Portátil de 100 dólares: Se realizó en Buenos Aires una muestra del prototipo.(Video)
2007-02-27 Educ.ar OLPC: una discusión sobre aspectos educativos
2007-02-25 Educ.ar Estado del proyecto en la Argentina
  Más noticias argentinas...