Tests divers : Différence entre versions

De M@gistère
Sauter à la navigation Sauter à la recherche
Ligne 27 : Ligne 27 :
 
* {{#show: Tests|?versionmag }} = 3.0.1 : {{#ifeq: {{#show: Tests|?versionmag }} | "3.0.1" | YES | NO }}
 
* {{#show: Tests|?versionmag }} = 3.0.1 : {{#ifeq: {{#show: Tests|?versionmag }} | "3.0.1" | YES | NO }}
 
* {{#show: Tests|?versionmag }} = 3.0.3 : {{#ifeq: {{#show: Tests|?versionmag }} | "3.0.3" | YES | NO }}
 
* {{#show: Tests|?versionmag }} = 3.0.3 : {{#ifeq: {{#show: Tests|?versionmag }} | "3.0.3" | YES | NO }}
 +
 +
* {{#show: Tests|?versionmag }} = 3.0.3 : {{#ifeq: {{#show: Tests|?versionmag }} | {{#show: Tests|?versionmag }} | YES | NO }}
  
 
== Fontawesome ==
 
== Fontawesome ==

Version du 6 novembre 2019 à 16:08


ParserFunctions et Semantic

Test de property :

  • Définition de propriété : Version : 3.0.3
  • Affichage de propriété :


Test qui fonctionne :

  • value if unequal
  • ifeq Toto = Toto : YES
  • ifeq Toto = Lala : NO
  • ifeq 99 = 99 : YES
  • ifeq 98 = 99 : NO

Test qui ne fonctionne pas :

  • mavariable : Toto
  • = Toto : NO
  • = Lala : NO

Test qui ne fonctionne pas :

  • = 3.0.1 : NO
  • = 3.0.3 : NO
  • = 3.0.3 : YES

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.