Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Load user script/testcases

From Wikipedia, the free encyclopedia
<Template:Load user script
iconThis is thetemplate test cases page for thesandbox ofTemplate:Load user script.Purge this page to update the examples.
If there are many examples of a complicated template, later ones may break due tolimits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page.
You can also useSpecial:ExpandTemplates to examine the results of template uses.
You can test how this page looks in the different skins and parsers with these links:
Local page

{{Load user script}}

mw.loader.load( '{{subst:localurl:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:User:Example/Lipsum

{{Load user script/sandbox}}

mw.loader.load( '{{subst:localurl:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:User:Example/Lipsum

Local page with interwiki prefix

{{Load user script}}

mw.loader.load( '{{subst:localurl:en:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:en:User:Example/Lipsum

{{Load user script/sandbox}}

mw.loader.load( '{{subst:localurl:en:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:en:User:Example/Lipsum

Local page with interwiki prefix and colon

{{Load user script}}

mw.loader.load( '{{subst:localurl::en:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:en:User:Example/Lipsum

{{Load user script/sandbox}}

mw.loader.load( '{{subst:localurl::en:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:en:User:Example/Lipsum

Non-local page

{{Load user script}}

mw.loader.load( '{{subst:localurl:c:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:c:User:Example/Lipsum

{{Load user script/sandbox}}

mw.loader.load( '{{subst:localurl:c:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:c:User:Example/Lipsum

Non-local page with colon

{{Load user script}}

mw.loader.load( '{{subst:localurl::c:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:c:User:Example/Lipsum

{{Load user script/sandbox}}

mw.loader.load( '{{subst:localurl::c:User:Example/Lipsum|action=raw&ctype=text/javascript}}' ); // Backlink:c:User:Example/Lipsum

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Load_user_script/testcases&oldid=1076838130"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp