Difference between revisions of "Template:Wicri tutorial"

From Wicri Base 1.28 en
imported>Jacques Ducloy
imported>Jacques Ducloy
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==Sample==
 
==Sample==
 
  {{Wicri tutorial
 
  {{Wicri tutorial
   |title = ''Titre du message''
+
   |title = ''Title of this text''
 
   |text = Lorem ipsum...
 
   |text = Lorem ipsum...
 
  }}
 
  }}
 +
{{Begin 2 columns}}
 +
==Parameters==
 +
This model is called with 2 parameters.
 +
 +
Syntax:
 +
<source lang="html">
 +
{{Wicri tutorial
 +
  |title = ''Title of this text''
 +
  |text = Lorem ipsum...
 +
}}
 +
</source>
 +
The title parameter is optional (default value ''Page dedicated to educational work'').
 +
 +
The text parameter is required.
 +
 +
{{Jump 2 columns}}
 +
 +
==The painting==
 +
[[Image:Anker Die Dorfschule von 1848 1896.jpg|350px|center]]
 +
 +
The painting chosen for this banner is a painting by [[wicri-europe.fr:Albert Anker|Albert Anker]] dated 1896 and representing a class in Switzerland.
 +
{{End 2 columns}}
 
[[fr:Modèle:Wicri tp]]
 
[[fr:Modèle:Wicri tp]]
 
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
 
</noinclude><includeonly><div class="messagebox" style="clear:both;margin:0.5em;margin-left:10%;width:80%;margin-left:10%;border:1px solid #AAA;padding:0.2em; background:#F9F9F9;padding:.2em;text-align:justify;">
 
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
 
{|width="100%" border="0" cellspacing="0" cellpadding="4" style="background:transparent"
|width="90" align="center"|[[Image:Anker Die Dorfschule von 1848 1896.jpg|link=Template:Wicri tutorial|140px|Ce tableau de Albert Anker illustre une activité à caractère pédagogique sur une page]]
+
|width="90" align="center"|[[Image:Anker Die Dorfschule von 1848 1896.jpg|link=Template:Wicri tutorial|140px|This painting by Albert Anker illustrates an educational activity on one page]]
|'''{{{title|Espace dédié à un travail pédagogique}}}'''
+
|'''{{{title|Page dedicated to educational work}}}'''
 
:{{{text}}}
 
:{{{text}}}
 
|}
 
|}
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 17:13, 13 July 2020

The template Wicri tutorial is a banner designed to identify a page created or updated in an educational context.

Sample

This painting by Albert Anker illustrates an educational activity on one page Title of this text
Lorem ipsum...

Parameters

This model is called with 2 parameters.

Syntax:

 {{Wicri tutorial
  |title = ''Title of this text''
  |text = Lorem ipsum...
 }}

The title parameter is optional (default value Page dedicated to educational work).

The text parameter is required.

 

The painting

Anker Die Dorfschule von 1848 1896.jpg

The painting chosen for this banner is a painting by Albert Anker dated 1896 and representing a class in Switzerland.