Module:Main page image/doc explained

This module provides utility for wrappers of .

Usage

<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|width|''ImageTitle''}} Get image width from ImageTitle.

ImageTitle must not contain the namespace prefix (eg "File:"). You can use to strip it, if it exists, when sanitising template params. Example: <nowiki>{{#invoke:Main page image|width|{{Remove file prefix|{{{image}}}}}}}</nowiki>