Template:TgchannelV2: Difference between revisions

From <3 wiki
Define tgchannel template with generic infobox template
Tag: 2017 source edit
 
remove accidentally placed brace
Tag: 2017 source edit
Line 21: Line 21:
|category_name=Telegram channel
|category_name=Telegram channel
|add_category={{{add_category|}}}
|add_category={{{add_category|}}}
}}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 22:29, 22 December 2024


No description.

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
add_previewadd_preview

Whether to set infobox image as OpenGraph preview

Default
true
Booleanoptional
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_categoryadd_category

Whether to add 'Telegram channel' category tag with this template

Default
true
Booleanoptional