Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

多数模板属性是在具体模板级别分配的,它们能够区分不同的模板。

Reference部分的参考资料部分的页面>属性里有可用的模板属性的完整列表及其用法。

通用属性

...

  • description:指向组件描述的消息包关键字。
  • dialog:到对话定义的路径,有着<module name>:<path to definition>结构。大多数STK对话都在STK > Dialog Defintions下配置。
  • 118nBasename:国际化关键字,info.magnolia.module.templatingkit.messages,指向包含STK翻译的消息包。
  • renderType:值为stk时分配的STKRenderer是一个STK专用的绘制器,为所有的STK模板(页面和组件)所使用。
  • templateScript:指向绘制组件的脚本的路径。组件脚本在STK > Templates /templating-kit/components下。
  • title:在组件工具栏里绘制的组件标题。
  • deletable决定组件是否能被删除。如果设置为false,那么Delete component动作在动作栏里不可用。(warning) 4.5.9+
  • moveable决定组件是否能被移动。如果设置为false,那么移动图标在组件工具栏里不绘制,并且Move component动作在动作栏里不可用。(warning) 4.5.9+
  • writable决定组件是否能被编辑。如果设置为false,那么编辑图标在组件工具栏里不绘制,并且Edit component动作在动作栏里不可用。(warning) 4.5.9+

Reference 参考资料 > Components组件里有可用的组件模板属性以及它们的用法的完整列表。

Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
节点名

components

 

content

 

stkQuotedText

 

Paragraph

deletable

false

Paragraph

description

paragraphs.content.stkQuotedText.description

Paragraph

dialog

standard-templating-kit:components/content/stkQuotedText

Paragraph

i18nBasename

info.magnolia.module.templatingkit.messages

Paragraph

moveable

false

Paragraph

renderType

stk

Paragraph

templateScript

/templating-kit/components/content/quotedText.ftl

Paragraph

title

paragraphs.content.stkQuotedText.title

Paragraph

writable

true

...