Template:Infobox: Difference between revisions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 7: | Line 7: | ||
|<!--else -->[[File:{{{image}}}|{{{infobox_image_size|300px}}}]]}}</div>}} | |<!--else -->[[File:{{{image}}}|{{{infobox_image_size|300px}}}]]}}</div>}} | ||
<table class="infobox-table">{{{infobox_items}}}</table> | <table class="infobox-table">{{{infobox_items}}}</table> | ||
</div>{{#ifeq: {{{add_category|true}}}|true|[[Category:{{{category_name}}}]]}}</includeonly> | </div>{{#ifeq: {{{add_category|true}}}|true|[[Category:{{{category_name}}}]]}}</includeonly><noinclude> | ||
<noinclude> | |||
<templatedata>{ | <templatedata>{ | ||
"description": "Infobox for telegram channel", | "description": "Infobox for telegram channel", |
Revision as of 23:04, 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 |
subtitle | subtitle | Text shown below title and above image | Unknown | optional |
Image | image | Image to be used in infobox. Will also be used in page preview. | File | suggested |
infobox_image_size | infobox_image_size | Size of image in infobox
| Unknown | optional |
add_preview | add_preview | Whether to set infobox image as OpenGraph preview
| Boolean | optional |
infobox_items | infobox_items | Content shown inside infobox. Each entry should be enclosed in <tr> | String | optional |
add_category | add_category | Whether to add category tag with this template
| Boolean | optional |
category_name | category_name | Name of the category to put the page into. Provide if your infobox allows specifying category. | Page name | suggested |