Location: PHPKode > scripts > Siviglia Templating > siviglia-templates/tests/templates/NewsBox4.html
<?php
   $news1Title="First Title";
   $news1Contents="First Contents";
   $news2Title="Second Title";
   $news2Contents="Second contents";
   $news3Title="Third Title";
   $news3Contents="Third Contents";
?>  
[*NEWSBOX2]        
        [_TITLE]<?php echo "Set from parameters";?>[#]
        [_NEWS({"title":"$news1Title","contents":"$news1Contents"})][#]
        [_NEWS({"title":"$news2Title","contents":"$news2Contents"})][#]
        [_NEWS({"title":"$news3Title","contents":"$news3Contents"})][#]
[#]
Return current item: Siviglia Templating