PUBLISHED: 71. Using models

Article published
-----------------

The article "71. Using models" was validated by Paolo.

** 71. Using models **
by mortimer, Paolo on Saturday 26 May 2007

SPIP 1.9.1 introduces models.

What is a model? It is a mini SPIP template defining an HTML fragment that
can be easily inserted in other templates or — and this is the main
novelty — in the text of an article.

The system of models has been inspired by Wikipedia template messages and
offers new features to the webmasters and site authors.

Models are an extension of the classic SPIP shortcuts for images and
documents: and . These shortcuts now use these models:
dist/modeles/img.html and dist/modeles/doc.html.

Treating these shortcuts as models has extended their syntax. In addition
to the alignment parameter (, or ), you can now also specify a generic
class parameter that corresponds (...)

-> http://www.spip.net/en_article3512.html

Article published
-----------------

The article "71. Using models" was validated by Paolo.

** 71. Using models **
by mortimer, Paolo on Saturday 26 May 2007

SPIP 1.9.1 introduces models.

What is a model? It is a mini SPIP template defining an HTML fragment that
can be easily inserted in other templates or — and this is the main
novelty — in the text of an article.

The system of models has been inspired by Wikipedia template messages and
offers new features to the webmasters and site authors.

Models are an extension of the classic SPIP shortcuts for images and
documents: and . These shortcuts now use these models:
dist/modeles/img.html and dist/modeles/doc.html.

Treating these shortcuts as models has extended their syntax. In addition
to the alignment parameter (, or ), you can now also specify a generic
class parameter that corresponds (...)

-> http://www.spip.net/en_article3512.html

_______________________________________________
spip-trad@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-trad
http://www.spip.net/
irc://irc.freenode.net/spip