<factinclude news />
news can take the following parameters:
count
count (default 5)
offset
offset (default 0)
newstype
newstype (default default)
iconimage
iconimage="url"
With this parameter you can change the default news icon with your own. In order to do this, place between the quotation marks the full url to the image.
iconwidth
iconwidth="30"
With this parameter you can define the width of the icon. The default value is 19.
iconheight
iconheight="30"
With this parameter you can define the height of the icon. The default value is 19.
columnwidth1
columnwidth1="30"
With this parameter you can define the width of the first column, which is between the icon and the date of creation. The default value is 19.
columnwidth2
columnwidth2="150"
With this parameter you can define the width of the second column, which is the column of the date of creation. The default value is 120.
columnwidth3
columnwidth3="400"
With this parameter you can define the width of the third column, which is the column, where in simple-view are displayed the infoids of the facts and in full-view - the title, source and the infoid. The default value is 350.
datestyle
datestyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the date.
infoidstyle
infoidstyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the infoid.
![info3 - 125057.2 info3 - 125057.2](/images/125057.2)
Attention: This parameter works only in simple view.
linkstyle
linkstyle="bcolor:#cc0000; font-style:italic;"
Between the quotation marks you can use css code to define the style of the link.
![info3 - 125057.2 info3 - 125057.2](/images/125057.2)
Attention: This parameter works only in simple view.
spacer
spacer="none"
If you type this parameter, there will be no spacer between the news in the list.
![info3 - 125057.2 info3 - 125057.2](/images/125057.2)
Note: spacer should be used only when the view is in full mode, because otherwise there is by default no spacer.
|