Module:Main page image/doc
< Module:Main page image
Jump to navigation
Jump to search
Revision as of 17:22, 31 July 2020 by Wikipedia>ProcrastinatingReader (remove file prefix)
This is the documentation page for Module:Main page image
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}}}}}}}