Template:Plinkt

Template page
Revision as of 22:40, 5 May 2024 by TesaGivens (talk | contribs) (Created page with "<includeonly><!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" class="plinkt-image" | [[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}]] ||<!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" class="plinkt-link" | [[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#invoke:Documentation|doc}} The picture link table template is a variant of {{#invoke:T|main}} used to created image-and-text links within tables.

Usage

{{#invoke:T|main}}

Examples

Code Produces Standard syntax
{{plinkt|Abyssal whip}} [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]

See also

Parameters

<templatedata> { "description": "A variant of the \"Picture Link\" (plink) template, \"Picture Link Table\" (plinkt) is used to display an item image and text link across two table cells.", "params": { "1": { "label": "Item", "description": "The item to link to and display.", "type": "wiki-page-name", "required": true }, "pic": { "label": "Picture", "description": "The name of the image file. ", "type": "wiki-file-name",

           "default": "First parameter."
       },

"txt": { "label": "Text", "description": "Override the displayed link text.", "type": "string",

           "default": "First parameter."

}, "rowspan": { "label": "Rowspan",

           "description": "Change the rowspan.",
           "type": "number",
           "default": "1"

}, "colspan": { "label": "Colspan",

           "description": "Change the colspan.",
           "type": "number",
           "default": "1"

} } } </templatedata>