Test : Différence entre versions

De WikiRésilience
(Extension Widget)
(autres extensions)
 
(13 révisions intermédiaires par un utilisateur sont masquées)
Ligne 23 : Ligne 23 :
  
 
==Test de l'extension Imagemap==
 
==Test de l'extension Imagemap==
 +
Seul la région "Bretagne" est cliquable, j'ai allégé le code pour cette page de test
 
<imagemap>Image:Carte-portail.png|thumb|center|600px|alt=Image cliquable|Cliquer sur un territoire pour consulter les actions d'adaptation qui y sont développées
 
<imagemap>Image:Carte-portail.png|thumb|center|600px|alt=Image cliquable|Cliquer sur un territoire pour consulter les actions d'adaptation qui y sont développées
 
poly 101 66 99 65 97 66 97 65 96 64 97 62 93 64 91 65 89 63 87 63 85 65 83 66 82 67 81 64 79 62 78 60 77 57 73 57 70 58 68 58 67 61 66 62 64 60 63 62 62 62 60 59 59 60 56 61 56 62 54 60 53 61 50 63 47 63 47 65 47 66 47 67 46 68 46 68 48 68 50 69 51 71 52 72 53 73 54 74 54 76 51 75 47 75 47 76 50 78 52 80 52 82 52 83 53 83 55 83 56 82 58 82 60 82 62 84 64 84 66 85 69 87 71 87 72 88 73 90 74 91 77 90 78 93 82 92 83 93 85 93 86 94 89 94 91 92 91 91 92 90 94 88 96 89 99 88 100 88 101 86 102 87 103 85 105 87 107 84 108 82 110 82 111 80 109 79 109 76 109 74 111 72 110 71 110 69 107 67 106 69 104 69 103 69 102 67 102 67 103 66 [[:Catégorie:Bretagne]]</imagemap>
 
poly 101 66 99 65 97 66 97 65 96 64 97 62 93 64 91 65 89 63 87 63 85 65 83 66 82 67 81 64 79 62 78 60 77 57 73 57 70 58 68 58 67 61 66 62 64 60 63 62 62 62 60 59 59 60 56 61 56 62 54 60 53 61 50 63 47 63 47 65 47 66 47 67 46 68 46 68 48 68 50 69 51 71 52 72 53 73 54 74 54 76 51 75 47 75 47 76 50 78 52 80 52 82 52 83 53 83 55 83 56 82 58 82 60 82 62 84 64 84 66 85 69 87 71 87 72 88 73 90 74 91 77 90 78 93 82 92 83 93 85 93 86 94 89 94 91 92 91 91 92 90 94 88 96 89 99 88 100 88 101 86 102 87 103 85 105 87 107 84 108 82 110 82 111 80 109 79 109 76 109 74 111 72 110 71 110 69 107 67 106 69 104 69 103 69 102 67 102 67 103 66 [[:Catégorie:Bretagne]]</imagemap>
 +
  
 
==Test de wgRawHtml (utilisation du langage HTML ==
 
==Test de wgRawHtml (utilisation du langage HTML ==
Ligne 111 : Ligne 113 :
  
 
==Extension Widget==
 
==Extension Widget==
{{#widget:Google Viewer|url=http://wikiclone.setra.centre-serveur.i2/mediawiki-1.22.4/images/8/86/Integration-Cerbere-CAS-2.0.0.pdf|width=800|height=1000}}
+
Pour PDF
 +
 
 +
{{#widget:Google Viewer
 +
|url=http://wikiclone.setra.centre-serveur.i2/mediawiki-1.22.4/images/c/cd/Language_awk.pdf
 +
|width=300
 +
|height=400
 +
}}
 +
 
 +
 
 +
Pour les cartes
 +
 
 +
{{#widget:Google Maps
 +
|width=600
 +
|height=400
 +
|lat=55.754796
 +
|lng=37.621479
 +
|zoom=12
 +
|static=yes
 +
|centermarker=yes
 +
}}
  
  
 
==autres extensions==
 
==autres extensions==
 +
 +
Test insertion image
 +
[[File:Machu Picchu.bmp|600px]]
 +
[[File:Page0001.jpg]]
 +
[[File:Page0001.jpg|600px]]

Version actuelle en date du 19 mai 2016 à 11:09

Test de l'extension CategoryTree

<categorytree mode="pages" style=" border:0px solid gray; padding:0.7ex; background-color:#FFFFFF;">Metawiki</categorytree>


Test de l'extension WikiCategoryTagCloud


Test de l'extension Anywebsite


Test de l'extension ToFeed (rss) couplé avec Anywebsite


Test de l'extension Imagemap

Seul la région "Bretagne" est cliquable, j'ai allégé le code pour cette page de test

Catégorie:BretagneImage cliquable
Cliquer sur un territoire pour consulter les actions d'adaptation qui y sont développées


Test de wgRawHtml (utilisation du langage HTML

La fonction "html" fonctionne

Test de l'extension Cite

According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]

Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.

Test de l'extension SyntaxHighlight_GeSHi

//boucle en temps
for t=0:0.05:1
    i=i+1
    if i<>1 then yprec=y; end
    y=a*cos(k*x-sigma*t)
    if option==2 then y=y+a*cos(-k*x-sigma*t); end // agitation
    if i==1 then yprec=y; end
    xfpolys([x';LONG;0],[yprec';-1;-1],[id1])
    plot(x',yprec',"w")
    xfpolys([x';LONG;0],[y';-1;-1],[id2]) 
    deltay=max(y,yprec)
    num=string(t)
    xpause(1000);
 
    title(titre+num+' sec', 'position',[0.5 0.5],'fontsize',3)
 
    plot2d(x',y')   
// dessin des vecteurs vitesse
    select option
    case -1 then
        [fx2, fy2]=vitesse(k,h,agksursigma,t,xvect,yvect,sigma)
    case 1 then
        [fx1, fy1]=vitesse(k,h,agksursigma,t,xvect,yvect,sigma)
    else
        [fx1, fy1]=vitesse(k,h,agksursigma,t,xvect,yvect,sigma)
        [fx2, fy2]=vitesse(-k,h,-agksursigma,t,xvect,yvect,sigma)
    end
    fx=fx1+fx2;fy=fy1+fy2   
    b=get("current_axes");
    b.data_bounds=[0,-1;10,0.6];
    b.auto_scale="off"
    champ(xvect',yvect',fx,fy,arfact=1)
    //GIF export
    xs2gif(0,'houle3_'+string(i)+'.gif');
    // longueur des vecteurs vitesse
    lv=sqrt(fx.*fx+fy.*fy)
    //delete()
end

Extension Geoportail

<geoportal:map

 instance="map2"
 width="400px" height="400px"
 defaultLayers="['ORTHOIMAGERY.ORTHOPHOTOS','GEOGRAPHICALGRIDSYSTEMS.MAPS']"
 layerSwitcherMode="off"
 toolboxMode="off"
 infoPanelMode="false"
 mode="mini"
 lon="-1.30" lat="44.00" zoom="8"

> <geoportal:markers

 name="Projets"

> <geoportal:marker

 lon="-1.2020" lat="45.0015"
 pictoUrl="../extensions/GeoportailApi/api/js/2.0.3/img/marker-gold.png">

<a href="http://wiklimat.developpement-durable.gouv.fr/index.php/Wiklimat:Littoral_aquitain,_Sites-ateliers_de_Lacanau,_de_La_Teste-de-Buch_et_de_Labenne">Expérimentation de la relocalisation des activités et des biens : recomposition des territoires menacés par les risques littoraux à Lacanau</a> </geoportal:marker> <geoportal:marker

 lon="-1.2079" lat="44.6097"
 pictoUrl="../extensions/GeoportailApi/api/js/2.0.3/img/marker-gold.png">

<a href="http://wiklimat.developpement-durable.gouv.fr/index.php/Wiklimat:Littoral_aquitain,_Sites-ateliers_de_Lacanau,_de_La_Teste-de-Buch_et_de_Labenne">Expérimentation de la relocalisation des activités et des biens : recomposition des territoires menacés par les risques littoraux à La Teste-de-Buch</a> </geoportal:marker> <geoportal:marker

 lon="-1.4710" lat="43.5990"
 pictoUrl="../extensions/GeoportailApi/api/js/2.0.3/img/marker-gold.png">

<a href="http://wiklimat.developpement-durable.gouv.fr/index.php/Wiklimat:Littoral_aquitain,_Sites-ateliers_de_Lacanau,_de_La_Teste-de-Buch_et_de_Labenne">Expérimentation de la relocalisation des activités et des biens : recomposition des territoires menacés par les risques littoraux à Labenne</a> </geoportal:marker> </geoportal:markers> </geoportal:map>

Extension Widget

Pour PDF


Pour les cartes


autres extensions

Test insertion image Machu Picchu.bmp Page0001.jpg

Erreur lors de la création de la miniature : /users/wikiresilience.setra.centre-serveur.i2/includes/limit.sh: line 24: ulimit: cpu time: cannot modify limit: Permission denied
/users/wikiresilience.setra.centre-serveur.i2/includes/limit.sh: line 42: ulimit: virtual memory: cannot modify limit: Permission denied
/users/wikiresilience.setra.centre-serveur.i2/includes/limit.sh: line 48: ulimit: file size: cannot modify limit: Permission denied
convert: no decode delegate for this image format `/tmp/magick-XXCLNBi5' @ constitute.c/ReadImage/503.
convert: missing an image filename `/tmp/transform_8440f5698277-1.jpg' @ convert.c/ConvertImageCommand/2800.