Template:Tgchannel: Difference between revisions
Make description field optional and put it at the bottom of infobox Tag: 2017 source edit |
wrap template content into includeonly Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<templatestyles src="Tgchannel/styles.css" /> | <includeonly><templatestyles src="Tgchannel/styles.css" /> | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div><center>Telegram channel</center>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div><center>Telegram channel</center>{{#if:{{{image|}}}| | ||
Line 20: | Line 20: | ||
</table> | </table> | ||
</div> | </div>[[Category:Telegram channel]]</includeonly> | ||
[[Category:Telegram channel]] | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<templatedata>{ | <templatedata>{ |
Revision as of 21:41, 22 December 2024
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 |