틀:Source/doc: 두 판 사이의 차이
Revi HQ
< 틀:Source
내용 추가됨 내용 삭제됨
(→Usage: update) |
(template redirects) |
||
1번째 줄: | 1번째 줄: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{template redirects|sxhl}} |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
258번째 줄: | 259번째 줄: | ||
{{syntaxhighlight|lang=javascript|1=mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template%3AUser_sandbox%2Fpreload&editintro=Template%3AUser_sandbox', 'My sandbox', 'pt-mysandbox', 'Go to my sandbox');}} |
{{syntaxhighlight|lang=javascript|1=mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template%3AUser_sandbox%2Fpreload&editintro=Template%3AUser_sandbox', 'My sandbox', 'pt-mysandbox', 'Go to my sandbox');}} |
||
== |
==See also== |
||
* {{tl|sxhl}} |
|||
=== See also === |
|||
* [[mw:Extension:SyntaxHighlight GeSHi]] |
* [[mw:Extension:SyntaxHighlight GeSHi]] |
||
2012년 2월 18일 (토) 23:18 판
This is a documentation subpage for 틀:Source. It contains usage information, categories and other content that is not part of the original 틀 page. |
Simple wrapper around the 틀:Tag tag to show syntax-highlighted text. Unlike 틀:Tag, text that does not fit on the screen will be wrapped.
Usage
Parameters
- lang:
Examples
mw.util.addPortletLink('p-personal', '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template%3AUser_sandbox%2Fpreload&editintro=Template%3AUser_sandbox', 'My sandbox', 'pt-mysandbox', 'Go to my sandbox');
See also