Template:Tgchannel: Difference between revisions
No edit summary Tag: 2017 source edit |
add templatedata Tag: 2017 source edit |
||
Line 13: | Line 13: | ||
</table> | </table> | ||
</div> | </div> | ||
<templatedata>{ | |||
"description": "Infobox for telegram channel", | |||
"format": "block", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"type": "line", | |||
"required": false, | |||
"description": "Title shown at the top of the template. Defaults to page title" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"username": { | |||
"label": "Username", | |||
"required": true, | |||
"description": "telegram username", | |||
"example": "lt_three" | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"required": true, | |||
"description": "short description displayed inside the infobox" | |||
} | |||
} | |||
} | |||
</templatedata> |
Revision as of 20:59, 17 December 2024
Tgchannel
Username | {{{username}}} |
---|---|
Description | {{{description}}} |
Infobox for telegram channel
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title shown at the top of the template. Defaults to page title | Line | optional |
Image | image | no description | File | suggested |
Username | username | telegram username
| Unknown | required |
Description | description | short description displayed inside the infobox | Unknown | required |