Template:Main page image

From blackwiki
Revision as of 16:11, 7 September 2020 by Blackwikiadmin (talk | contribs) (41 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Example image not to be used in article namespace.jpg
Caption goes here.
Template documentation[view] [edit] [history] [purge]

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