Template:Tgchannel: Difference between revisions
remove deprecated url_image parameter Tag: 2017 source edit |
Make description field optional and put it at the bottom of infobox Tag: 2017 source edit |
||
Line 7: | Line 7: | ||
<th>Username</th> | <th>Username</th> | ||
<td>[https://t.me/{{{username}}} {{{username}}}]</td> | <td>[https://t.me/{{{username}}} {{{username}}}]</td> | ||
</tr> | </tr> | ||
{{#if:{{{Creation Date|}}}| | {{#if:{{{Creation Date|}}}| | ||
Line 16: | Line 12: | ||
<th>Creation Date</th> | <th>Creation Date</th> | ||
<td>{{{Creation Date}}}</td> | <td>{{{Creation Date}}}</td> | ||
</tr> | </tr>}} | ||
}} | {{#if:{{{description|}}}| | ||
<tr> | |||
<th>Description</th> | |||
<td>{{{description}}}</td> | |||
</tr>}} | |||
</table> | </table> | ||
</div> | </div> | ||
Line 49: | Line 50: | ||
"description": { | "description": { | ||
"label": "Description", | "label": "Description", | ||
"description": "short description displayed inside the infobox", | |||
"description": "short description displayed inside the infobox" | "type": "content", | ||
"suggested": true | |||
}, | }, | ||
"Creation Date": { | "Creation Date": { |
Revision as of 00:08, 21 December 2024
Page Template:Tgchannel/styles.css has no content.
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 | Image to be used in infobox. Will also be used in page preview. | File | suggested |
Username | username | telegram username
| Unknown | required |
Description | description | short description displayed inside the infobox | Content | suggested |
Creation Date | Creation Date | no description | Line | optional |