Template:Tgchannel: Difference between revisions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{Infobox | ||
|title={{{title|}}} | |||
|subtitle=Telegram channel | |||
|image={{{image|}}} | |||
|add_preview=true | |||
|infobox_items=<tr> | |||
<tr> | |||
<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|}}}|<tr> | ||
{{#if:{{{Creation Date|}}}| | |||
<tr> | |||
<th>Creation Date</th> | <th>Creation Date</th> | ||
<td>{{{Creation Date}}}</td> | <td>{{{Creation Date}}}</td> | ||
</tr>}} | </tr>}}{{#if:{{{description|}}}|<tr> | ||
{{#if:{{{description|}}}| | |||
<tr> | |||
<th>Description</th> | <th>Description</th> | ||
<td>{{{description}}}</td> | <td>{{{description}}}</td> | ||
</tr>}} | </tr>}} | ||
}}{{#if:{{{skip_category|}}}| |[[Category:Telegram channel]]}}</includeonly><noinclude> | |||
<noinclude> | |||
{{Tgchannel | {{Tgchannel | ||
|image= | | title = меньше чем три | ||
|username= | | image = Lt three icon.jpg | ||
|description= | | username = lt_three | ||
|Creation Date= | | description = Less than three <3 | ||
| | Safe space for lain pfps, femcels, SciADV fans, pilk drinkers, GregTech enjoyers and other cool internet people. | ||
| Creation Date = 2023-03-11 | |||
| skip_category = true <!-- this is set only to avoid placing template itself into category, you do not need this parameter --> | |||
}} | }} | ||
<pre> | |||
{{Tgchannel | |||
| title = меньше чем три | |||
| image = Lt three icon.jpg | |||
| username = lt_three | |||
| description = Less than three <3 | |||
Safe space for lain pfps, femcels, SciADV fans, pilk drinkers, GregTech enjoyers and other cool internet people. | |||
| Creation Date = 2023-03-11 | |||
}} | |||
</pre> | |||
<templatedata> | |||
{ | |||
"params": { | "params": { | ||
"title": { | "title": { | ||
" | "description": "Title shown at the top of the template", | ||
"type": "line", | "type": "line", | ||
" | "default": "page title" | ||
}, | }, | ||
"image": { | "image": { | ||
" | "description": "Image to be used in infobox. Will also be used in page preview.", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | |||
"suggested": true | |||
}, | }, | ||
"username": { | "username": { | ||
"description": "Telegram username. Will also add link to the channel.", | |||
"example": "lt_three", | |||
"description": " | "type": "line", | ||
"example": "lt_three | "required": true | ||
"type": " | |||
" | |||
}, | }, | ||
"Creation Date": { | "Creation Date": { | ||
" | "description": "Creation Date. Prefer Japanese YYYY-MM-DD", | ||
"type": " | "example": "2024-01-01", | ||
"type": "date" | |||
}, | }, | ||
" | "description": { | ||
"description": " | "description": "Short description displayed inside the infobox", | ||
"type": "string" | |||
"type": " | |||
} | } | ||
} | }, | ||
"description": "Infobox for telegram channels" | |||
} | } | ||
</templatedata> | </templatedata></noinclude> | ||
</noinclude> |
Latest revision as of 00:32, 23 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. |
{{Tgchannel | title = меньше чем три | image = Lt three icon.jpg | username = lt_three | description = Less than three <3 Safe space for lain pfps, femcels, SciADV fans, pilk drinkers, GregTech enjoyers and other cool internet people. | Creation Date = 2023-03-11 }}
Infobox for telegram channels
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Title shown at the top of the template
| Line | optional |
image | image | Image to be used in infobox. Will also be used in page preview. | File | suggested |
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 |