Template Tags
Here is a long list of all the tags you can use in the templates and a short description of what they do.
This list is probably not complete, but it's close. If you feel like you want a new tag, just post at the
Support Forum and I'll help you out.
Universal Tags (Work In All Templates)
<#list_name> - Name of the topsites list.
<#list_url> - URL to the directory the topsites is installed in.
<#header> - The title of the current page.
<#templates_url> - URL to the templates directory.
<#version> - Version of the script.
<#nummem> - Number of members in your list.
<#methform> - Ranking method.
<#rankingsform> - Multiple pages drop-down box.
<#executiontime> - The time it took to generate the current page.
<#queries> - The number of SQL queries used on the current page.
<#max_banner_height> - The maximum height allowed for a member's banner.
<#max_banner_width> - The maximum width allowed for a member's banner.
<#lng{'X'}> - Displays text from the language file.
adbreak.html
None.
adbreak_top.html
None.
admin.html
<#content> - The content of the page.
Not all universal tags work in admin.html.
edit_form.html
None.
edit_form2.html
<#id> - Member's ID.
<#url> - Member's URL.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#email> - Member's email address.
featured.html
<#id> - Member's ID.
<#real_url> - Member's URL.
<#url> - Member's URL for counting hits out.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
gateway.html
<#id> - Member's ID.
graph.html
<#id> - Member's ID.
<#real_url> - Member's URL.
<#url> - Member's URL for counting hits out.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#email> - Member's email address.
<#graph> - Type of graph.
<#avg_graph> - Average hits.
<#tod_graph> - Hits today.
<#1_graph> - Hits yesterday.
<#2_graph> - Hits 2 days ago.
<#3_graph> - Hits 3 days ago.
<#avg_num> - Height of coulmn for average hits.
<#tod_num> - Height of coulmn for hits today.
<#1_num> - Height of coulmn for hits yesterday.
<#2_num> - Height of coulmn for hits 2 days ago.
<#3_num> - Height of coulmn for hits 3 days ago.
join_finish.html
<#id> - Member's ID.
<#url> - Member's URL.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#email> - Member's email address.
join_form.html
None.
lostcode_finish.html
<#id> - Member's ID.
lostcode_form.html
None.
lostpw_finish.html
<#id> - Member's ID.
<#email> - Member's email address.
lostpw_form.html
None.
lostpw_mail.html
<#id> - Member's ID.
<#email> - Member's email address.
<#password> - Member's password.
rate_form.html
None.
rate_form2.html
<#id> - Member's ID.
<#real_url> - Member's URL.
<#url> - Member's URL for counting hits out.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
rate_finish.html
<#id> - Member's ID.
search_form.html
None.
search_results.html
<#kw> - What was searched for.
<results> - The search results.
<prev> - The page number for the previous page of search results.
<next> - The page number for the next page of search results.
ssi_newmembers.html
<#num> - Number of sites being displayed.
<#sites> - List of sites.
ssi_top.html
<#num> - Number of sites being displayed.
<#sites> - List of sites.
stats.html
<#id> - Member's ID.
<#real_url> - Member's URL.
<#url> - Member's URL for counting hits out.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#avg_rate> - Member's rating.
<#ratenum> - Number of ratings.
<#reviews> - Reviews of the site.
There are quite a few tags used to display all the various hit counts. They are all self-explanitory and are in the default stats.html.
table.html
<#id> - Member's ID.
<#real_url> - Member's URL.
<#url> - Member's URL for counting hits out.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#email> - Member's email address.
<#rank> - Current rank.
<#ratenum> - The number of people who have rated this member.
<#avg_rate> - The average rating.
<#avg> - Average of whatever your ranking method is.
<#tod> - Today of wahtever your ranking method is.
<#unq_pv_avg> - Average unique pageviews.
<#tot_pv_avg> - Average total pageviews.
<#unq_in_avg> - Average unique hits in.
<#tot_in_avg> - Average total hits in.
<#unq_out_avg> - Average unique hits out.
<#tot_out_avg> - Average total hits out.
<#unq_pv_tod> - Unique pageviews today.
<#tot_pv_tod> - Total pageviews today.
<#unq_in_tod> - Unique hits in today.
<#tot_in_tod> - Total hits in today.
<#unq_out_tod> - Unique hits out today.
<#tot_out_tod> - Total hits out today.
tablecloser.html
None.
tableheader.html
None.
table_top.html,
tablecloser_top.html, and
tableheader_top.html can use the same tags as the previous three templates. These templates are used for the top X (X is what you set "Number of members to use the special top templates for" to in the settings) sites.
template.html
<#content> - The content of the page.
<#featured> - Displays a random member.
<#poweredby> - This displays the script name, version, and a link to http://www.aardvarkind.com/. Do not remove this tag.
welcome.html
<#num> - Member's ID.
<#url> - Member's URL.
<#title> - Member's site's title.
<#description> - Member's description.
<#urlbanner> - Member's banner URL.
<#email> - Member's email address.