Template:Main page image

From blackwiki
Revision as of 11:18, 26 July 2015 by test>Edokter (Fix trimming)
Jump to navigation Jump to search
Example.png
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}}}}}}}