TesT : Différence entre versions
De FunLab Documentation
Ligne 9 : | Ligne 9 : | ||
l'id correspondant a l'id de la video. vous preferiez pas ce systeme? ca évitait le tas de html dans la page wiki | l'id correspondant a l'id de la video. vous preferiez pas ce systeme? ca évitait le tas de html dans la page wiki | ||
+ | |||
+ | ====test code==== | ||
+ | truc chelou en cours: l'ext marche sur mon wiki mais pas celui là? | ||
+ | |||
+ | <code name='accueil.html' lang='html'> | ||
+ | |||
+ | <div style="background-color:#FBE1E1CC; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left"> | ||
+ | <div style="background-color:#f08c8c; color:#FFF; padding:00px 10px 0px 10px;"><nowiki/>'''''<big>Les Machines et Matériaux</big>'''''</div> | ||
+ | <div style="padding:10px;"><br /> | ||
+ | <center><html><a href="http://wiki.funlab.fr/index.php/Machines_et_Mat%C3%A9riel"><img src="http://wiki.funlab.fr/images/thumb/9/96/F3.png/250px-F3.png" alt="Machines matériel" width="100%" height="auto"></a></html> | ||
+ | |||
+ | <br /><big>'''[[Machines et Matériel|Nos Machines]]'''</big> <br /> | ||
+ | |||
+ | </center></div> | ||
+ | |||
+ | </div> | ||
+ | <div style="background-color:#DEF5E9; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left; "> | ||
+ | <div style="background-color:#7bf3b4; color:#FFF; padding:0px 10px 0px 10px;"> | ||
+ | <nowiki/>'''''<big>Les Guides et Tutos</big>'''''</div> | ||
+ | <br /><center> | ||
+ | <html><a href="http://wiki.funlab.fr/index.php/Fichier:U3.png"><img src="http://wiki.funlab.fr/images/thumb/e/ec/U3.png/375px-U3.png" alt="Guides et tuto" width="100%" height="auto"></a></html> | ||
+ | |||
+ | <br /><br /> | ||
+ | <big>[[Guides et Tutos|'''Consulter les guides et tutos''']]</big> | ||
+ | </center></div> | ||
+ | |||
+ | <div style="background-color:#E4E6F5; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left; "> | ||
+ | <div style="background-color:#90caf9; color:#FFF; padding:0px 10px 0px 10px;"> | ||
+ | <nowiki/>'''''<big>Les Projets</big>'''''</div><center><br /> | ||
+ | <html><a href="http://wiki.funlab.fr/index.php/Fichier:N3.png"><img src="http://wiki.funlab.fr/images/thumb/1/1b/N3.png/375px-N3.png" alt="Projets" width="100%" height="auto"></a></html> | ||
+ | |||
+ | <br /><br /> | ||
+ | <big>[[Projets|'''Consulter la liste des projets''']]</big> | ||
+ | </center> | ||
+ | |||
+ | </div> | ||
+ | </code> |
Version du 4 décembre 2018 à 01:13
https://www.mediawiki.org/wiki/Extension:Widgets
https://www.mediawikiwidgets.org/YouTube
sur le précédant wiki on pouvait faire
{{#Widget:Youtube|id=SEVU-YLpM8A}}
l'id correspondant a l'id de la video. vous preferiez pas ce systeme? ca évitait le tas de html dans la page wiki
test code
truc chelou en cours: l'ext marche sur mon wiki mais pas celui là?
accueil.html
<div style="background-color:#FBE1E1CC; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left">
<div style="background-color:#f08c8c; color:#FFF; padding:00px 10px 0px 10px;"><nowiki/>'''''<big>Les Machines et Matériaux</big>'''''</div>
<div style="padding:10px;"><br />
<center><html><a href="http://wiki.funlab.fr/index.php/Machines_et_Mat%C3%A9riel"><img src="http://wiki.funlab.fr/images/thumb/9/96/F3.png/250px-F3.png" alt="Machines matériel" width="100%" height="auto"></a></html>
<br /><big>'''[[Machines et Matériel|Nos Machines]]'''</big> <br />
</center></div>
</div>
<div style="background-color:#DEF5E9; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left; ">
<div style="background-color:#7bf3b4; color:#FFF; padding:0px 10px 0px 10px;">
<nowiki/>'''''<big>Les Guides et Tutos</big>'''''</div>
<br /><center>
<html><a href="http://wiki.funlab.fr/index.php/Fichier:U3.png"><img src="http://wiki.funlab.fr/images/thumb/e/ec/U3.png/375px-U3.png" alt="Guides et tuto" width="100%" height="auto"></a></html>
<br /><br />
<big>[[Guides et Tutos|'''Consulter les guides et tutos''']]</big>
</center></div>
<div style="background-color:#E4E6F5; margin:0px 1% 20px 0px; width: 30%; max-width:300px; height: 28em; float:left; ">
<div style="background-color:#90caf9; color:#FFF; padding:0px 10px 0px 10px;">
<nowiki/>'''''<big>Les Projets</big>'''''</div><center><br />
<html><a href="http://wiki.funlab.fr/index.php/Fichier:N3.png"><img src="http://wiki.funlab.fr/images/thumb/1/1b/N3.png/375px-N3.png" alt="Projets" width="100%" height="auto"></a></html>
<br /><br />
<big>[[Projets|'''Consulter la liste des projets''']]</big>
</center>
</div>