Difference between revisions of "Template:Main page image"
Jump to navigation
Jump to search
test>Primefac m (Changed protection level for "Template:Main page image": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (41 revisions imported) |
(No difference)
| |
Latest revision as of 16:11, 7 September 2020
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. |
