# Type-F

Type-F는 ox 퀴즈, 퀴즈 골든벨에서 자주 사용되는 Custom Label로 본문 text를 길게 넣을 수 있습니다.

### 이미지

<figure><img src="https://2461137890-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiW553XSGeKCAPpImxXi3%2Fuploads%2Fw3rsVFJ4LyCeAjMfo39H%2FMask%20group-5.png?alt=media&#x26;token=26807934-ebb6-4a18-977f-6b3a54000c17" alt=""><figcaption></figcaption></figure>

### 예제 코드

```javascript
function showLabelTypeF(player, key, text1, text2) {
    const isMobile = player.isMobile;
    const topGap = isMobile ? 10 : -2; // 60px from the top on mobile and 48px on PC.
    /**
     * size-based @labelPercentWidth
     * XL: isMobile ? 90 : 50;
     * L: isMobile ? 80 : 40;
     * M: isMobile ? 70 : 28;
     * S: isMobile ? 60 : 20
     */
    const labelPercentWidth = isMobile ? 90 : 50;
    const labelDisplayTime = 300000;

    const parentStyle = `
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    `;

    const firstRowStyle = `
    font-size: ${isMobile ? "16px" : "18px"};
    font-weight: 700; 
    color: #FFEB3A;`;

    const secondRowStyle = `
    font-size: ${isMobile ? "16px" : "18px"};
    font-weight: 700;
    color: white;`;

    const thirdRowStyle = `
    font-size: ${isMobile ? "11px" : "13px"};
    font-weight: 700;
    color: #D5D9E0;
    margin-top: 18px;
    `;

    const customLabelOption = {
        key: key,
        borderRadius: '12px',
        fontOpacity: false,
        padding: '8px',
    }

    let htmlStr = `<span style="${parentStyle}">
        <span style="${firstRowStyle}">${text1}</span>
        <span style="${secondRowStyle}">${text2}</span>
    </span>`;

    player.showCustomLabel(htmlStr, 0xffffff, 0x27262e, topGap, labelPercentWidth, 0.64, labelDisplayTime, customLabelOption);
}

```
