Module:Main page image/doc

This is the current revision of this page, as edited by imported>Annh07 at 05:58, 20 March 2024 (Reverted edit by 201.175.202.139 (talk) to last version by ProcrastinatingReader). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}}}}}}}