Module:Main page image/doc
MyWikiBiz, Author Your Legacy — Thursday December 26, 2024
Jump to navigationJump to searchThis 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 Template:T to strip it, if it exists, when sanitising template params. Example: {{#invoke:Main page image|width|{{Remove file prefix|{{{image}}}}}}}