丝袜av在线观看|日本美女三级片在线播放|性欧美一区二区三区|小骚热免费国产视频|黑人va在线观看|女同国产91视频|五月丁香色播Av|国产凸凹视频一区二区|伊人电影久久99|国产成人无码一区二区观看

Tag詳情標(biāo)簽

說明:用于獲取文檔的Tag詳情數(shù)據(jù)

使用方法:{% tagDetail 變量名稱 with name="字段名稱" id="1" %} 變量名稱不是必須的,設(shè)置了變量名稱后,后續(xù)可以通過變量名稱來調(diào)用,而不設(shè)置變量名稱,則是直接輸出結(jié)果。

tagDetail 支持的參數(shù)有:

  • TagID id。 id 不是必須的,默認(rèn)會獲取當(dāng)前Tag的ID。如果需要指定Tag,可以通過設(shè)置id來達(dá)到目的。
  • Tag標(biāo)簽URL別名 token token 不是必須的,默認(rèn)會獲取當(dāng)前Tag標(biāo)簽。如果需要指定Tag標(biāo)簽,可以通過設(shè)置id或token來達(dá)到目的。
  • 站點(diǎn)ID siteId siteId 一般不需要填寫,如果你使用后臺的多站點(diǎn)管理創(chuàng)建了多個站點(diǎn),并且想調(diào)用其他站點(diǎn)的數(shù)據(jù),則可以通過指定 siteId 來實(shí)現(xiàn)調(diào)用指定站點(diǎn)的數(shù)據(jù)。

name 參數(shù)可用的字段有:

  • TagID Id
  • Tag標(biāo)題 Title
  • Tag鏈接 Link
  • Tag描述 Description
  • Tag索引字母 FirstLetter
  • Tag的分類ID CategoryId
  • Tag的內(nèi)容 Content
  • Tag的Logo Logo

TagID Id

標(biāo)簽用法:{% tagDetail with name="Id" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>TagID:{% tagDetail with name="Id" %}</div>
{# 獲取指定Tagid的Tag字段 #}
<div>TagID:{% tagDetail with name="Id" id="1" %}</div>
{# 自定義字段名稱 #}
<div>TagID:{% tagDetail tagId with name="Id" %}{{tagId}}</div>
<div>TagID:{% tagDetail tagId with name="Id" id="1" %}{{tagId}}</div>

Tag標(biāo)題 Title

標(biāo)簽用法:{% tagDetail with name="Title" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>Tag標(biāo)題:{% tagDetail with name="Title" %}</div>
{# 獲取指定Tagid的Tag字段 #}
<div>Tag標(biāo)題:{% tagDetail with name="Title" id="1" %}</div>
{# 自定義字段名稱 #}
<div>Tag標(biāo)題:{% tagDetail tagTitle with name="Title" %}{{tagTitle}}</div>
<div>Tag標(biāo)題:{% tagDetail tagTitle with name="Title" id="1" %}{{tagTitle}}</div>

Tag鏈接 Link

標(biāo)簽用法:{% tagDetail with name="Link" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>Tag鏈接:{% tagDetail with name="Link" %}</div>
{# 獲取指定Tagid的Tag字段 #}
<div>Tag鏈接:{% tagDetail with name="Link" id="1" %}</div>
{# 自定義字段名稱 #}
<div>Tag鏈接:{% tagDetail tagLink with name="Link" %}{{tagLink}}</div>
<div>Tag鏈接:{% tagDetail tagLink with name="Link" id="1" %}{{tagLink}}</div>

Tag描述 Description

標(biāo)簽用法:{% tagDetail with name="Description" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>Tag描述:{% tagDetail with name="Description" %}</div>
{# 獲取指定Tagid的Tag字段 #}
<div>Tag描述:{% tagDetail with name="Description" id="1" %}</div>
{# 自定義字段名稱 #}
<div>Tag描述:{% tagDetail tagDescription with name="Description" %}{{tagDescription}}</div>
<div>Tag描述:{% tagDetail tagDescription with name="Description" id="1" %}{{tagDescription}}</div>

Tag索引字母 FirstLetter

標(biāo)簽用法:{% tagDetail with name="FirstLetter" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>Tag索引字母:{% tagDetail with name="FirstLetter" %}</div>
{# 獲取指定Tagid的Tag字段 #}
<div>Tag索引字母:{% tagDetail with name="FirstLetter" id="1" %}</div>
{# 自定義字段名稱 #}
<div>Tag索引字母:{% tagDetail tagFirstLetter with name="FirstLetter" %}{{tagFirstLetter}}</div>
<div>Tag索引字母:{% tagDetail tagFirstLetter with name="FirstLetter" id="1" %}{{tagFirstLetter}}</div>

Tag縮略圖大圖 Logo

標(biāo)簽用法:{% tagDetail with name="Logo" %}

{# 默認(rèn)用法,自動獲取當(dāng)前頁面Tag #}
<div>縮略圖大圖:<img style="width: 200px" src="{% tagDetail with name="Logo" %}" alt="{% tagDetail with name="Title" %}" /></div>
{# 獲取指定Tagid的Tag字段 #}
<div>縮略圖大圖:<img style="width: 200px" src="{% tagDetail with name="Logo" id="1" %}" alt="{% tagDetail with name="Title" id="1" %}" /></div>
{# 自定義字段名稱 #}
<div>縮略圖大圖:{% tagDetail tagLogo with name="Logo" %}<img style="width: 200px" src="{{tagLogo}}" alt="{% tagDetail with name="Title" %}" /></div>
<div>縮略圖大圖:{% tagDetail tagLogo with name="Logo" id="1" %}<img style="width: 200px" src="{{tagLogo}}" alt="{% tagDetail with name="Title" %}" /></div>

Tag的內(nèi)容 Content

標(biāo)簽用法:{% tagDetail with name="Content" %}

Content字段在開啟Markdown編輯器后,會自動對內(nèi)容進(jìn)行Markdown轉(zhuǎn)html操作,關(guān)閉Markdown編輯器編輯器后,Content內(nèi)容不會自動對內(nèi)容進(jìn)行Markdown轉(zhuǎn)html操作。但你可以手動指定是否進(jìn)行轉(zhuǎn)換,需要添加render參數(shù)。接受false|true兩個值。render=false不進(jìn)行Markdown轉(zhuǎn)html操作,render=true進(jìn)行轉(zhuǎn)換。

{# 自定義字段名稱 #}
<div>Tag的內(nèi)容:{% tagDetail tagContent with name="Content" %}{{tagContent|safe}}</div>
<div>Tag的內(nèi)容:{% tagDetail tagContent with name="Content" id="1" %}{{tagContent|safe}}</div>
問題反饋可加技術(shù)微信:tsrz001
目錄