跳至內容

「MediaWiki:TemplateCard.js」:修訂間差異

创建页面,内容为“→‎* * This script interacts with [[Template:Card]] * [[Category:Template script pages]]:​ var TemplateCard = { init: function () { $( '#mw-content-text' ).find( '.card-content' ).each( TemplateCard.trimList ); }, →‎* * Trim lists of more than 10 items * Example: [[Appropedia:Admin panel]]:​ trimList: function ( event ) { var $button = $( '<span>more</span>' ).css( 'cursor', 'pointer' ).on( 'click', function () { $( this ).hide().sibling…”
Tbpedia>Sophivorus
無編輯摘要
 
(创建页面,内容为“→‎* * This script interacts with [[Template:Card]] * [[Category:Template script pages]]:​ var TemplateCard = { init: function () { $( '#mw-content-text' ).find( '.card-content' ).each( TemplateCard.trimList ); }, →‎* * Trim lists of more than 10 items * Example: [[Appropedia:Admin panel]]:​ trimList: function ( event ) { var $button = $( '<span>more</span>' ).css( 'cursor', 'pointer' ).on( 'click', function () { $( this ).hide().sibling…”
(無差異)
Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。