查看“︁使用方法/$wgRawHtml”︁的源代码
来自康健生活
←
使用方法/$wgRawHtml
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== html == 使用方法: * <nowiki><html><标签></标签></html></nowiki> * <nowiki>{{#tag:html|<标签></标签>}}</nowiki> == 示例 == <nowiki><html><iframe width="100%" height="300" src="https://kangkk.com" frameborder="0"></iframe></html></nowiki> == 效果 == <html><iframe width="100%" height="300" src="https://kangkk.com" frameborder="0"></iframe></html> == 示例2 == <nowiki>{{#tag:html|<iframe width="100%" height="300" src="https://kangkk.com" frameborder="0"></iframe>}}</nowiki> == 效果2 == {{#tag:html|<iframe width="100%" height="300" src="https://kangkk.com" frameborder="0"></iframe>}} == other == Extension:Widgets wfLoadExtension( 'Widgets' ); Usage To add a widget to your MediaWiki installation, just create a page in the Widget: namespace and then use the <nowiki>{{#widget:...}}</nowiki> parser function to include it in the pages of the wiki. <nowiki>{{#widget}}</nowiki> parser function To add a defined widget to pages, users can use the <nowiki>{{#widget}}</nowiki> parser function. The syntax is as follows: <nowiki>{{#widget:WidgetName|param1=value1|param2=value2}}</nowiki> Example Widget:AssocTest might look like this: <nowiki><includeonly><ul> <!--{foreach from=$arg key=key item=item}--> <li><!--{$key|escape:'html'}-->: set to <!--{$item|escape:'html'}--></li> <!--{/foreach}--> </ul></includeonly></nowiki> ...and you might call this Widget as follows: <nowiki>{{#widget:AssocTest|arg.foo=bar|arg.bar=oni}}</nowiki>
返回
使用方法/$wgRawHtml
。
导航菜单
康健生活
搜索
user-page
通知
user-interface-preferences
个人工具
登录
五一
多读书,多运动,多到远处走走,再看看不一样的世界。