Home
Random
Log in
Settings
About test1-
Disclaimers
test1-
Search
Editing
Module:Caller title
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local p = {} function p.title(frame) return frame:getParent():getTitle() end function p.lang(frame) local base = frame.args.base local title = p.title(frame) if base ~= title then local parts = mw.text.split(p.title(frame), '/', true) return parts[#parts] else -- weโre on the base page of the translation (directly, itโs not translated from somewhere), -- so we have no subpage language code, but we use PAGELANGUAGE return frame:preprocess('{{PAGELANGUAGE}}') end end return p
Summary:
Please note that all contributions to test1- may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
test1-:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Caller title/doc
(
edit
)