Template:Tgchannel: Difference between revisions

From <3 wiki
move category into includeonly
Tag: 2017 source edit
put whole template inside includeonly
Tag: 2017 source edit
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
|title={{{title|}}}
|title={{{title|}}}
|subtitle=Telegram channel
|subtitle=Telegram channel
Line 14: Line 14:
   <td>{{{description}}}</td>
   <td>{{{description}}}</td>
</tr>}}
</tr>}}
}}<includeonly>[[Category:Telegram channel]]</includeonly><noinclude>
}}[[Category:Telegram channel]]</includeonly><noinclude>
text start
text start
<templatedata>
<templatedata>

Revision as of 00:14, 23 December 2024

text start

Infobox for telegram channels

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

Title shown at the top of the template. Defaults to page title.

Lineoptional
imageimage

Image to be used in infobox. Will also be used in page preview.

Filesuggested
usernameusername

Telegram username. Will also add link to the channel.

Example
lt_three
Linerequired
Creation DateCreation Date

Creation Date. Prefer Japanese YYYY-MM-DD

Example
2024-01-01
Dateoptional
descriptiondescription

Short description displayed inside the infobox

Stringoptional
add_previewadd_preview

Whether to set infobox image as OpenGraph preview. You usually do not want to touch this.

Default
true
Booleanoptional
add_categoryadd_category

Whether to add 'Telegram channel' category tag with this template. You usually do not want to touch this.

Default
true
Booleanoptional