Difference between revisions of "Module:Main page image/doc"
From CryptoWiki
wiki_crypto>ProcrastinatingReader (remove file prefix) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 08:50, 2 January 2022
This module provides utility for wrappers of {{Main page image}}.
Usage
{{#invoke:Main page image|width|ImageTitle}}
Get image width from ImageTitle.
ImageTitle must not contain the namespace prefix (eg "File:"). You can use {{Remove file prefix}} to strip it, if it exists, when sanitising template params. Example: {{#invoke:Main page image|width|{{Remove file prefix|{{{image}}}}}}}