적응형 타일 템플릿: 스키마 및 지침

다음은 적응형 타일을 만드는 데 사용되는 요소 및 특성입니다. 지침 및 예제는 적응형 타일 생성을 참조하십시오.

타일 요소

<tile>
  
  <!-- Child elements -->
  visual
  
</tile>

시각적 요소

<visual
  version? = integer
  lang? = string
  baseUri? = anyURI
  branding? = "none" | "logo" | "name" | "nameAndLogo"
  addImageQuery? = boolean
  contentId? = string
  displayName? = string >
    
  <!-- Child elements -->
  binding+

</visual>

바인딩 요소(binding element)

<binding
  template = tileTemplateNameV3
  fallback? = tileTemplateNameV1
  lang? = string
  baseUri? = anyURI
  branding? = "none" | "logo" | "name" | "nameAndLogo"
  addImageQuery? = boolean
  contentId? = string
  displayName? = string
  hint-textStacking? = "top" | "center" | "bottom"
  hint-overlay? = [0-100] >

  <!-- Child elements -->
  ( image
  | text
  | group
  )*

</binding>

이미지 요소

<image
  src = string
  placement? = "inline" | "background" | "peek"
  alt? = string
  addImageQuery? = boolean
  hint-crop? = "none" | "circle"
  hint-removeMargin? = boolean
  hint-align? = "stretch" | "left" | "center" | "right" />

텍스트 요소

<text
  lang? = string
  hint-style? = textStyle
  hint-wrap? = boolean
  hint-maxLines? = integer
  hint-minLines? = integer
  hint-align? = "left" | "center" | "right" >

  <!-- text goes here -->

</text>

textStyle 값: 캡션 캡션간단한 본문 본문 간단한 베이스 베이스 간단한 자막 자막 자막 제목 제목간단한 제목숫자 부제목 부제목 간단한 부제목숫자 헤더 헤더간단한 헤더숫자

그룹 요소

<group>

  <!-- Child elements -->
  subgroup+

</group>

하위 그룹 요소

<subgroup
  hint-weight? = [0-100]
  hint-textStacking? = "top" | "center" | "bottom" >

  <!-- Child elements -->
  ( text
  | image
  )*

</subgroup>