Recherche avancée

Médias (93)

Sur d’autres sites (617)

  • |largeur

    7 juillet 2010, par Mark — Filters, ,

    The |largeur filters is applied to an image element (LOGO tag, typographical image, ...) and returns the width calculated for that element once it has been filtered. The width returned in expressed in pixels. Example : after having applied the |image_reduire500 filter to a logo, we can find out (...)

  • |mult

    5 juillet 2010, par Mark — Filters, ,

    The |multxx filter is a mathematical operation filter. It returns the results of multiplying (the product) the value of the tag and the xx argument passed to the filter. If the tag’s output is not a numeric type, it will be considered as being 0 (zero) and the filter will simply return 0 (...)

  • |oui

    5 juillet 2010, par Mark — Filters, ,

    The |oui filter [1] (since SPIP 2.0) returns either a space or nothing at all. It is equivalent to | ?’ ’,’’ or | ?’ ’, and is used to return a non-empty content (a space) to indicate that the optional parts of the tag should be displayed. Examples : [(#TITRE|strlen|>30|oui) This title is a long (...)

Rechercher

Recherche avancée