Template:TgchannelV2: Difference between revisions
No edit summary Tag: 2017 source edit |
add description Tag: 2017 source edit |
||
(7 intermediate revisions by the same user not shown) | |||
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>{{#if:{{{Creation Date|}}}| | </tr>{{#if:{{{Creation Date|}}}|<tr> | ||
<tr> | |||
<th>Creation Date</th> | <th>Creation Date</th> | ||
<td>{{{Creation Date}}}</td> | <td>{{{Creation Date}}}</td> | ||
</tr>}}{{#if:{{{description|}}}| | </tr>}}{{#if:{{{description|}}}|<tr> | ||
<tr> | |||
<th>Description</th> | <th>Description</th> | ||
<td>{{{description}}}</td> | <td>{{{description}}}</td> | ||
</tr>}}|category_name=Telegram channel | </tr>}} | ||
|add_category={{{add_category|}}}}}</includeonly> | |category_name=Telegram channel | ||
<noinclude> | |add_category={{{add_category|}}}}}</includeonly><noinclude> | ||
{{TgchannelV2 | {{TgchannelV2 | ||
| image = Lt three icon.jpg | | image = Lt three icon.jpg | ||
Line 64: | Line 62: | ||
"default": "true" | "default": "true" | ||
} | } | ||
} | }, | ||
"description": "Infobox for telegram channels. Will set provided image as page preview and put page into 'Telegram channel' category unless disabled." | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 23:14, 22 December 2024
меньше чем три
Username | lt_three |
---|---|
Creation Date | 2023-03-11 |
Description | Less than three <3 Safe space for lain pfps, femcels, SciADV fans, pilk drinkers, GregTech enjoyers and other cool internet people. |
text start
Infobox for telegram channels. Will set provided image as page preview and put page into 'Telegram channel' category unless disabled.
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 |
add_preview | add_preview | Whether to set infobox image as OpenGraph preview
| Boolean | optional |
username | username | Telegram username. Will also add link to the channel.
| Line | required |
Creation Date | Creation Date | Creation Date. Prefer Japanese YYYY-MM-DD
| Date | optional |
description | description | Short description displayed inside the infobox | String | optional |
add_category | add_category | Whether to add 'Telegram channel' category tag with this template
| Boolean | optional |