Шаблон:$VarPop

Материал из База знаний VINTEO
Версия от 13:52, 5 декабря 2012; Template>Reptilien.19831209BE1 (correction no line break)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

Note: this template is just for testing. Don't use it!

This page contains a table of data that can be reused on other pages.

This template (table of data) use the template:$ to give the result.
It might be interesting to change a data present on several pages without touch all pages concerned.

The structure is:

{{$
| param0 = {{{1}}}     must be always {{{1}}} to get the param name
| param1 = value1      the first value and so on ...
| param2 = value2
| param3 = value3
}}

You can get a value from this table of data by its param name like:

{{$VarPop|param1}}    return value1 from the table of data ($VarPop is the name of the table of data)