Toggle menu
15
237
100
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 06:40, 19 February 2025 by Prd (talk | contribs) (Created page with "{{documentation subpage}} {{cascade-protected template|page=module}} This module provides utility for wrappers of {{t|Main page image}}. == Usage == <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|width|''ImageTitle''}}</code> Get image width from ImageTitle. ''ImageTitle'' must not contain the namespace prefix (eg "File:"). You can use {{t|Remove file prefix}} to strip it, if it exists, when sanitising template params. Example: <code><nowiki>{{#invoke:Main page ima...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Main page image

Template:Cascade-protected template 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}}}}}}}


Contents