Tests divers : Différence entre versions

De M@gistère
Sauter à la navigation Sauter à la recherche
(79 révisions intermédiaires par 5 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 +
[[Catégorie:Amodifier]]
  
https://en.wikipedia.org/wiki/Help:Conditional_expressions
+
*{{#show: Tests|?Catégorie }}
https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
 
  
{{#ifeq: string 1 | string 2 | value if equal | value if unequal }}
+
==test==
  
* https://wiki.magistere.education.fr/Sp%C3%A9cial:Toutes_les_pages/Category:
+
<div class="toccolours mw-collapsible mw-collapsed" style=""> <div style="font-weight:bold;line-height:1.6;">Lorem ipsum sample</div>
* https://wiki.magistere.education.fr/Sp%C3%A9cial:Cat%C3%A9gories
+
<div class="mw-collapsible-content">
* https://wiki.magistere.education.fr/Cat%C3%A9gorie:Action (montre l'usage de <nowiki>[[Category:Action|Zorro]]</nowiki>)
 
  
* https://stackoverflow.com/questions/16568563/how-do-i-get-the-category-names-from-a-page-template-on-mediawiki
+
==ParserFunctions et Semantic==
* https://www.semantic-mediawiki.org/wiki/Help:Inline_queries
 
  
{{Info|TITRE 1|sous-titre}}
+
Test de property :
  
{{Warning|TITRE 1|sous-titre}}
+
*Définition de propriété : Versionmag : [[versionmag::3.0.3]]
  
{{Error|TITRE 1|sous-titre}}
+
*page [[Version301]] ({{#show: Version301|?version}}) : {{#ifeq: {{#show: Tests|?versionmag }} | {{#show: Version301|?version}} | ✔️ }}
 +
*page [[Version303]] ({{#show: Version303|?version}}) : {{#ifeq: {{#show: Tests|?versionmag }} | {{#show: Version303|?version}} | ✔️ }}
  
 +
*https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##if
 +
*https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23show
  
 +
<br />
 +
[[Fichier:Pandoc-codeblock-include-sample.pdf|alt=lmlm|vignette|kkl]]
 +
<br />
  
{{Présentation|texte à rédiger}}
 
  
 +
</div></div>
  
{{Important|texte à rédiger}}
+
==Fontawesome==
  
 +
*{{#fab:wikipedia-w}} wikipedia-w
 +
*{{#fab:500px}} 500px
 +
*{{#fas:bullseye}} bullseye
 +
*une icône fontawesome méthode html
  
{{Note|texte à rédiger}}
+
==Blocs custom==
  
 +
{{Info|    Pour obtenir ce bloc, écrire : <nowiki>{{Info|texte}}</nowiki>  }}
  
 +
{{Warning|    Pour obtenir ce bloc, écrire : <nowiki>{{Warning|texte}}</nowiki>  }}
  
<i class="fas fa-arrow-alt-circle-right"></i> une icône fontawesome
+
{{Error|    Pour obtenir ce bloc, écrire : <nowiki>{{Error|texte}}</nowiki> }}
  
{{#show: Test |?versionmag }}
+
{{Présentation|  Pour obtenir ce bloc, écrire : <nowiki>{{Présentation|Texte}}</nowiki>  }}
  
 +
{{Important|  Pour obtenir ce bloc, écrire : <nowiki>{{Important|Texte}}</nowiki>  }}
  
[[versionmag::3.1]]
+
{{Note| Pour obtenir ce bloc, écrire : <nowiki>{{Note|Texte}}</nowiki>  }}
[[Has version::3.1]]
 
  
{{#set:
+
les modifications du code de ces blocs custom sont à effectuer sur : [[Modèle:Note]], [[Modèle:Important]], etc.
Has versionnumber=3.2
+
 
|workflow=arelire
+
[[Modèle:DisplayInfos]]
}}
+
[[Fichier:Bleu Bulles-de-texte.png|alt=Des bulles bleues|vignette]]
 +
<br />
 +
 
 +
 
 +
==publication vidéos==
 +
 
 +
https://podeduc.apps.education.fr/video/0093-harry-pottermp4/4ac4f346e89038622dfc78f0ff5900388cbf4bb7660d58ae965cc0e2cb71a85e/
 +
 
 +
<iframe src="https://podeduc.apps.education.fr/video/0093-harry-pottermp4/4ac4f346e89038622dfc78f0ff5900388cbf4bb7660d58ae965cc0e2cb71a85e/?is_iframe=true" width="640" height="360" style="padding: 0; margin: 0; border:0" allowfullscreen ></iframe>
 +
 
 +
https://podeduc.apps.education.fr/media/videos/bacae77270b42c981d304a22a668900640f693b15f08969a228a15ae9e8c0fbc/0093/360p.mp4

Version du 10 mars 2022 à 14:15


test

Fontawesome

  • wikipedia-w
  • 500px
  • bullseye
  • une icône fontawesome méthode html

Blocs custom

    Pour obtenir ce bloc, écrire : {{Info|texte}}

    Pour obtenir ce bloc, écrire : {{Warning|texte}}

    Pour obtenir ce bloc, écrire : {{Error|texte}}

Présentation

Pour obtenir ce bloc, écrire : {{Présentation|Texte}}

Important

Pour obtenir ce bloc, écrire : {{Important|Texte}}

Pour obtenir ce bloc, écrire : {{Note|Texte}}

les modifications du code de ces blocs custom sont à effectuer sur : Modèle:Note, Modèle:Important, etc.

Modèle:DisplayInfos

Des bulles bleues



publication vidéos

https://podeduc.apps.education.fr/video/0093-harry-pottermp4/4ac4f346e89038622dfc78f0ff5900388cbf4bb7660d58ae965cc0e2cb71a85e/

<iframe src="https://podeduc.apps.education.fr/video/0093-harry-pottermp4/4ac4f346e89038622dfc78f0ff5900388cbf4bb7660d58ae965cc0e2cb71a85e/?is_iframe=true" width="640" height="360" style="padding: 0; margin: 0; border:0" allowfullscreen ></iframe>

https://podeduc.apps.education.fr/media/videos/bacae77270b42c981d304a22a668900640f693b15f08969a228a15ae9e8c0fbc/0093/360p.mp4