SPIP

Système de Publication pour Internet

http://www.spip.net

Les articles publiés sur le site

  • |choixsivide{ifyes, ifnot}

    7 juillet 2010, par MarkFilters,
    The |choixsivideifyes, ifnot filter is equivalent to the |?sioui, sinon filter. It accepts either one or two parameters: ifyes is the value to display instead of the filtered element if that element returns an empty value itself. ifnot is the value to display if the filtered element is not (...)
  • |compacte

    7 juillet 2010, par MarkFilters, ,
    The |compacte filter is applied to a CSS or JavaScript file[The file to which the filter is applied must have either ".js" or ".css" as its filename extension.]] and creates a compressed copy which is smaller than the original as it deletes all comments, empty declarations, unnecessary blank (...)
  • |concat{value1, value2, ...}

    7 juillet 2010, par MarkFilters, ,
    |concatvalue1,value2,... is used to concatenate one or character strings to the value of the function used as input. Example: Concatenate a customised extra field to the raw body text of an article and then run the standard SPIP cleaning filter with: #TEXTE*|concat"Introductory header to the (...)
  • |env_to_params

    7 juillet 2010, par MarkFilters, ,
    Retrieves the parameters passed to an audio or video model, and creates the correspondences for the HTML tag. Used in a model template file within a DOCUMENTS loop or inside an HTML tag, this filter, when specifically applied to the ENV tag: [(#ENV*|env_to_params)], will retrieve the parameters (...)
  • |couleur_*

    It is a good idea to first read the article titled: "Couleurs automatiques" in this documentation. |couleur_extraire The ||couleur_extraire (extract_colour) filter is applied to an image tag (logo, typographical image...) and returns the hexadecimal RGB value of a colour shown in the image. (...)

Rechercher

Recherche avancée

Sites Web