<$env_now$>
<$site_id$>
<$site_name$>
<$site_domain$>
<$site_root$>
<$image_root$>
<$charset$>
<$org_id$>
<$org_name$>
<$org_code$>
<$org_attachman$>
<$org_address$>
<$org_zipcode$>
<$org_phonenum$>
<$org_phone$>
<$org_email$>
<$org_mobile$>
<$top_id$>
<$top_name$>
<$top_alias$>
<$top_code$>
<$top_url$>
<$top_path$>
<$top_navigator$>
<$top_nav$>
<$top_parentid$>
<$top_parentname$>
<$top_parentalias$>
<$top_parentcode$>
<$top_parenturl$>
<$top_parentpath$>系统当前时间。默认格式为"yyyy-MM-dd"。
format格式如下:
|
字母
|
日期或时间元素
|
表示
|
示例
|
|
G
|
Era 标志符
|
Text
|
AD
|
|
y
|
年
|
Year
|
1996; 96
|
|
M
|
年中的月份
|
Month
|
July; Jul; 07
|
|
w
|
年中的周数
|
Number
|
27
|
|
W
|
月份中的周数
|
Number
|
2
|
|
D
|
年中的天数
|
Number
|
189
|
|
d
|
月份中的天数
|
Number
|
10
|
|
F
|
月份中的星期
|
Number
|
2
|
|
E
|
星期中的天数
|
Text
|
Tuesday; Tue
|
|
a
|
Am/pm 标记
|
Text
|
PM
|
|
H
|
一天中的小时数(0-23)
|
Number
|
0
|
|
k
|
一天中的小时数(1-24)
|
Number
|
24
|
|
K
|
am/pm 中的小时数(0-11)
|
Number
|
0
|
|
h
|
am/pm 中的小时数(1-12)
|
Number
|
12
|
|
m
|
小时中的分钟数
|
Number
|
30
|
|
s
|
分钟中的秒数
|
Number
|
55
|
|
S
|
毫秒数
|
Number
|
978
|
|
z
|
时区
|
General time zone
|
Pacific Standard Time; PST; GMT-08:00
|
|
Z
|
时区
|
RFC 822 time zone
|
-0800
|
站点名称。
站点域名。
站点根目录。
图片根目录。
站点字符集。
单位名称。
单位代码。
单位联系人。
单位地址。
邮编。
联系电话。
联系电话。同org_phonenum
联系EMAIL。
单位联系移动电话。
根据上下文情境计算当前栏目名称。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算当前栏目别名。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算当前栏目代号。以.连接所有上级栏目别名。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算当前栏目URL访问绝对路径。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
<$top_url$>总是以站点根目录开头,例如站点根目录为http://www.jwebstar.cn/,则栏目代号为product的<$top_url$>为http://www.jwebstar.cn/product/。
根据上下文情境计算当前栏目临时文件存放相对路径。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
例如,栏目代号为product.books的<$top_path$>为/product/books。
根据上下文情境标示当前栏目所在位置,使用>进行间隔。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
例如,新闻栏目(news)下有国内新闻栏目(news.demostic),那么,国内新闻的top_navigator值为
<a href="/news">新闻</a> > <a href="/news/demostic">国内新闻</a>
你还可以使用<$top_navigator(splitword:STRING)$>指定间隔符,例如:
<$top_navigator("\\>\\>")$>:使用>>进行间隔。注意转义符\的使用,第一个\是字符串的转义符,第二个是要求NPS取消对>的转义。默认NPS将>翻译成>
<$top_navigator$>等同于<$top_navigator(" \\> ")$>,也即默认使用 \\> 进行间隔
同top_navigator
根据上下文情境计算的当前栏目父栏目id号。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算的当前栏目父栏目代号。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算的当前栏目父栏目名称。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算的当前栏目父栏目别名。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
根据上下文情境计算的当前栏目父栏目url路径。页面模板中栏目将是当前挂接的栏目。文章模板中则是当前文章所在栏目。
同top_parenturl