imported>ProcrastinatingReader (remove file prefix) |
(No difference)
|
Latest revision as of 22:22, 31 July 2020
This module provides utility for wrappers of {{Main page image}}.
UsageEdit
{{#invoke:Main page image|width|ImageTitle}}
Get image width from ImageTitle.
ImageTitle must not contain the namespace prefix (eg "File:"). You can use Template:T to strip it, if it exists, when sanitising template params. Example: {{#invoke:Main page image|width|{{Remove file prefix|{{{image}}}}}}}