Basic syntax of the cyclic column navigation label: [listshowclass] parent column ID, tag template ID, whether to display the number of column information, and the number of columns [/listshowclass]
Parameter description:
- Parent topic ID: '0' indicates that all level-1 columns are displayed. 'selfinfo' indicates lower-level columns of this topic, and multiple columns are available for fixed calls.
- Tag template ID: Tag template ID, template tag variable Description :[! -- Bclassname --]: parent topic name ,[! -- Bclassurl --]: parent Topic Link ,[! -- Bclassid --]: parent topic id ,[! -- Bclassimg --]: parent topic image ,[! -- Bintro --]: parent topic introduction ,[! -- Bnum --]: number of parent columns ,[! -- Bno --]: the serial number of the parent topic. List. var template Tag :[! -- Classurl --]: Topic Link ,[! -- Classname --]: topic name ,[! -- Classid --]: topic id ,[! -- Classimg --]: topic image ,[! -- Intro --]: topic introduction ,[! -- Num --]: Number of information ,[! -- No --]: sequence number.
- Whether to display the number of columns: 0 is not displayed, 1 is displayed.
- Number of displayed columns: 0 is unlimited.
For example, the call label is as follows: [listshowclass] '0', 0 [/listshowclass]
Note: Call the navigation of all level-1 columns and use the tag template ID = 14.
The tag template is created as follows:
// Page Template content <table width = "120" align = "center" border = "0" cellpadding = "3" cellspacing = "1" bgcolor = "ffcc00"> <tr> <td> <B> <a href = "[! -- Bclassurl --] "> [! -- Bclassname --] </a> </B> </td> </tr> [! -- Empirenews. listtemp --] <! -- List. var1 --> [! -- Empirenews. listtemp --] </table> // list content template (list. var) <tr> <td bgcolor = "# FFFFFF"> <a href = "[! -- Classurl --] "> [! -- Classname --] </a> </td> </tr>
Use the cycle column navigation label
// Page Template content <table width = "650" align = "center" border = "0" cellpadding = "3" cellspacing = "1" bgcolor = "ffcc00"> <tr> <td> <B> <a href = "[! -- Bclassurl --] "> [! -- Bclassname --] </a> <font color = "#666666"> (number of messages :[! -- Bnum --]) </font> </B> </td> </tr> <td bgcolor = "# ffffff"> [! -- Empirenews. listtemp --] <! -- List. var1 --> [! -- Empirenews. listtemp --] </td> </tr> </table> // list content template (list. var) <a href = "[! -- Classurl --] "> [! -- Classname --] </a> <font color = "#666666"> (quantity :[! -- Num --]) </font>
Similarities and differences between showclasstemp and listshowclass labels
One calls one level column, and the other calls two levels of columns.
Showclasstemp call results:
Column 1 column 2 column 3
Effect of listshowclass call:
Parent column 1 sub column 1 sub Column 2 parent Column 2 sub column 3 sub column 4 parent column 3 sub Column 5 sub column 6