Template:Main page image
Revision as of 16:54, 9 October 2017 by test>MusikAnimal (Protected "Template:Main page image": Highly visible template; thousands of transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require administrator access] (indefinite)))
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}}}}}}}
| The above documentation is transcluded from Template:Main page image/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
