Sorry about the ugly code, MediaWiki's handling of linebreaks isn't very good, leaving gratuitous whitespace all over the place. I'm sure some can be added in here somewhere to increase readability that won't adversely affect articles using this template, but I'm not sure where that may be
{{ {{page.unprefixedpath}} | globalObject | inheritType | inherited1 | inherited2 | . . . | inherited30 }}
Properties or Methods. Make sure you capitalize it and use the plural.
This automatically links to the method or property of the prototype of the specified global object. Due to the way it's written, this template takes up to 30 properties or methods, which can be easily extended, but this should suffice. It might be possible to take indefinite parameters, but I don't know how or if there is a way to do this. -- Sevenspade
If you don't specify any inherited properties/methods, the template does not show up.
To see how this looks, check for {{mediawiki.external('http://developer.mozilla.org/en/docs/Special:Whatlinkshere/' .. mediawiki.variable('FULLPAGENAME') .. ' pages that use this template')}}.
{{string.trim(($2 ?? '')) !== '' ? web.html('<div style=\"border: solid #ccc 1px; background: #eee; padding: 0px 10px 0px 10px; margin: 10px 0px 10px 0px;\">\n<p><b>' .. $1 .. ' inherited from ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':prototype|' .. $0 .. '.prototype', "en") .. '</b><br/>\n<small>\n' .. (string.trim(($2 ?? '')) !== '' ? web.html(mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $2 .. '|' .. $2, "en")) : '') .. (string.trim(($3 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $3 .. '|' .. $3, "en")) : '') .. (string.trim(($4 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $4 .. '|' .. $4, "en")) : '') .. (string.trim(($5 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $5 .. '|' .. $5, "en")) : '') .. (string.trim(($6 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $6 .. '|' .. $6, "en")) : '') .. (string.trim(($7 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $7 .. '|' .. $7, "en")) : '') .. (string.trim(($8 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $8 .. '|' .. $8, "en")) : '') .. (string.trim(($9 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $9 .. '|' .. $9, "en")) : '') .. (string.trim(($10 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $10 .. '|' .. $10, "en")) : '') .. (string.trim(($11 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $11 .. '|' .. $11, "en")) : '') .. (string.trim(($12 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $12 .. '|' .. $12, "en")) : '') .. (string.trim(($13 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $13 .. '|' .. $13, "en")) : '') .. (string.trim(($14 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $14 .. '|' .. $14, "en")) : '') .. (string.trim(($15 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $15 .. '|' .. $15, "en")) : '') .. (string.trim(($16 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $16 .. '|' .. $16, "en")) : '') .. (string.trim(($17 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $17 .. '|' .. $17, "en")) : '') .. (string.trim(($18 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $18 .. '|' .. $18, "en")) : '') .. (string.trim(($19 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $19 .. '|' .. $19, "en")) : '') .. (string.trim(($20 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $20 .. '|' .. $20, "en")) : '') .. (string.trim(($21 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $21 .. '|' .. $21, "en")) : '') .. (string.trim(($22 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $22 .. '|' .. $22, "en")) : '') .. (string.trim(($23 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $23 .. '|' .. $23, "en")) : '') .. (string.trim(($24 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $24 .. '|' .. $24, "en")) : '') .. (string.trim(($25 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $25 .. '|' .. $25, "en")) : '') .. (string.trim(($26 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $26 .. '|' .. $26, "en")) : '') .. (string.trim(($27 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $27 .. '|' .. $27, "en")) : '') .. (string.trim(($28 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $28 .. '|' .. $28, "en")) : '') .. (string.trim(($29 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $29 .. '|' .. $29, "en")) : '') .. (string.trim(($30 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $30 .. '|' .. $30, "en")) : '') .. (string.trim(($31 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $31 .. '|' .. $31, "en")) : '') .. '</small>\n</p>\n</div>') : ''}}Sorry about the ugly code, MediaWiki's handling of linebreaks isn't very good, leaving gratuitous whitespace all over the place. I'm sure some can be added in here somewhere to increase readability that won't adversely affect articles using this template, but I'm not sure where that may be
{{ {{page.unprefixedpath}} | globalObject | inheritType | inherited1 | inherited2 | . . . | inherited30 }}
Properties or Methods. Make sure you capitalize it and use the plural.
This automatically links to the method or property of the prototype of the specified global object. Due to the way it's written, this template takes up to 30 properties or methods, which can be easily extended, but this should suffice. It might be possible to take indefinite parameters, but I don't know how or if there is a way to do this. -- Sevenspade
If you don't specify any inherited properties/methods, the template does not show up.
To see how this looks, check for {{mediawiki.external('http://developer.mozilla.org/en/docs/Special:Whatlinkshere/' .. mediawiki.variable('FULLPAGENAME') .. ' pages that use this template')}}.
{{string.trim(($2 ?? '')) !== '' ? web.html('<div style=\"border: solid #ccc 1px; background: #eee; padding: 0px 10px 0px 10px; margin: 10px 0px 10px 0px;\">\n<p><b>' .. $1 .. ' inherited from ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':prototype|' .. $0 .. '.prototype', "en") .. '</b><br/>\n<small>\n' .. (string.trim(($2 ?? '')) !== '' ? web.html(mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $2 .. '|' .. $2, "en")) : '') .. (string.trim(($3 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $3 .. '|' .. $3, "en")) : '') .. (string.trim(($4 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $4 .. '|' .. $4, "en")) : '') .. (string.trim(($5 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $5 .. '|' .. $5, "en")) : '') .. (string.trim(($6 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $6 .. '|' .. $6, "en")) : '') .. (string.trim(($7 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $7 .. '|' .. $7, "en")) : '') .. (string.trim(($8 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $8 .. '|' .. $8, "en")) : '') .. (string.trim(($9 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $9 .. '|' .. $9, "en")) : '') .. (string.trim(($10 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $10 .. '|' .. $10, "en")) : '') .. (string.trim(($11 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $11 .. '|' .. $11, "en")) : '') .. (string.trim(($12 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $12 .. '|' .. $12, "en")) : '') .. (string.trim(($13 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $13 .. '|' .. $13, "en")) : '') .. (string.trim(($14 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $14 .. '|' .. $14, "en")) : '') .. (string.trim(($15 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $15 .. '|' .. $15, "en")) : '') .. (string.trim(($16 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $16 .. '|' .. $16, "en")) : '') .. (string.trim(($17 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $17 .. '|' .. $17, "en")) : '') .. (string.trim(($18 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $18 .. '|' .. $18, "en")) : '') .. (string.trim(($19 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $19 .. '|' .. $19, "en")) : '') .. (string.trim(($20 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $20 .. '|' .. $20, "en")) : '') .. (string.trim(($21 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $21 .. '|' .. $21, "en")) : '') .. (string.trim(($22 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $22 .. '|' .. $22, "en")) : '') .. (string.trim(($23 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $23 .. '|' .. $23, "en")) : '') .. (string.trim(($24 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $24 .. '|' .. $24, "en")) : '') .. (string.trim(($25 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $25 .. '|' .. $25, "en")) : '') .. (string.trim(($26 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $26 .. '|' .. $26, "en")) : '') .. (string.trim(($27 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $27 .. '|' .. $27, "en")) : '') .. (string.trim(($28 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $28 .. '|' .. $28, "en")) : '') .. (string.trim(($29 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $29 .. '|' .. $29, "en")) : '') .. (string.trim(($30 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $30 .. '|' .. $30, "en")) : '') .. (string.trim(($31 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $31 .. '|' .. $31, "en")) : '') .. '</small>\n</p>\n</div>') : ''}}Sorry about the ugly code, MediaWiki's handling of linebreaks isn't very good, leaving gratuitous whitespace all over the place. I'm sure some can be added in here somewhere to increase readability that won't adversely affect articles using this template, but I'm not sure where that may be
{{ {{page.unprefixedpath}} | globalObject | inheritType | inherited1 | inherited2 | . . . | inherited30 }}
Properties or Methods. Make sure you capitalize it and use the plural.
This automatically links to the method or property of the prototype of the specified global object. Due to the way it's written, this template takes up to 30 properties or methods, which can be easily extended, but this should suffice. It might be possible to take indefinite parameters, but I don't know how or if there is a way to do this. -- Sevenspade
If you don't specify any inherited properties/methods, the template does not show up.
To see how this looks, check for {{mediawiki.external('http://developer.mozilla.org/fr/docs/Special:Whatlinkshere/' .. mediawiki.variable('FULLPAGENAME') .. ' pages that use this template')}}.
{{string.trim(($2 ?? '')) !== '' ? web.html('<div style=\"border: solid #ccc 1px; background: #eee; padding: 0px 10px 0px 10px; margin: 10px 0px 10px 0px;\">\n<p><b>' .. $1 .. ' héritées de ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':prototype|' .. $0 .. '.prototype', "fr") .. '</b><br/>\n<small>\n' .. (string.trim(($2 ?? '')) !== '' ? web.html(mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $2 .. '|' .. $2, "fr")) : '') .. (string.trim(($3 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $3 .. '|' .. $3, "fr")) : '') .. (string.trim(($4 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $4 .. '|' .. $4, "fr")) : '') .. (string.trim(($5 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $5 .. '|' .. $5, "fr")) : '') .. (string.trim(($6 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $6 .. '|' .. $6, "fr")) : '') .. (string.trim(($7 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $7 .. '|' .. $7, "fr")) : '') .. (string.trim(($8 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $8 .. '|' .. $8, "fr")) : '') .. (string.trim(($9 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $9 .. '|' .. $9, "fr")) : '') .. (string.trim(($10 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $10 .. '|' .. $10, "fr")) : '') .. (string.trim(($11 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $11 .. '|' .. $11, "fr")) : '') .. (string.trim(($12 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $12 .. '|' .. $12, "fr")) : '') .. (string.trim(($13 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $13 .. '|' .. $13, "fr")) : '') .. (string.trim(($14 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $14 .. '|' .. $14, "fr")) : '') .. (string.trim(($15 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $15 .. '|' .. $15, "fr")) : '') .. (string.trim(($16 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $16 .. '|' .. $16, "fr")) : '') .. (string.trim(($17 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $17 .. '|' .. $17, "fr")) : '') .. (string.trim(($18 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $18 .. '|' .. $18, "fr")) : '') .. (string.trim(($19 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $19 .. '|' .. $19, "fr")) : '') .. (string.trim(($20 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $20 .. '|' .. $20, "fr")) : '') .. (string.trim(($21 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $21 .. '|' .. $21, "fr")) : '') .. (string.trim(($22 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $22 .. '|' .. $22, "fr")) : '') .. (string.trim(($23 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $23 .. '|' .. $23, "fr")) : '') .. (string.trim(($24 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $24 .. '|' .. $24, "fr")) : '') .. (string.trim(($25 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $25 .. '|' .. $25, "fr")) : '') .. (string.trim(($26 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $26 .. '|' .. $26, "fr")) : '') .. (string.trim(($27 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $27 .. '|' .. $27, "fr")) : '') .. (string.trim(($28 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $28 .. '|' .. $28, "fr")) : '') .. (string.trim(($29 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $29 .. '|' .. $29, "fr")) : '') .. (string.trim(($30 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $30 .. '|' .. $30, "fr")) : '') .. (string.trim(($31 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Référence de JavaScript 1.5 Core:Objets globaux:' .. $0 .. ':' .. $31 .. '|' .. $31, "fr")) : '') .. '</small>\n</p>\n</div>') : ''}}{{ {{page.unprefixedpath}} | globalObject | inheritType | inherited1 | inherited2 | . . . | inherited30 }}
Sorry about the ugly code, MediaWiki's handling of linebreaks isn't very good, leaving gratuitous whitespace all over the place. I'm sure some can be added in here somewhere to increase readability that won't adversely affect articles using this template, but I'm not sure where that may be
{{ {{page.unprefixedpath}} | obiektGlobalny | typDziedziczenia | dziedziczona1 | dziedziczona2 | . . . | dziedziczona30 }}
Własności lub Metody. Upewnij się, że wartość została zapisana wielką literą oraz w liczbie mnogiej.
Komentarz z angielskiego MDC: This automatically links to the method or property of the prototype of the specified global object. Due to the way it's written, this template takes up to 30 properties or methods, which can be easily extended, but this should suffice. It might be possible to take indefinite parameters, but I don't know how or if there is a way to do this. -- {{mediawiki.internal('User:Sevenspade|Sevenspade', "pl")}}
Jeśli nie określisz żadnej dziedziczonej własności/metody, szablon nie pojawi się na stronie.
Aby zobaczyć jak to wygląda, sprawdź {{mediawiki.external('http://developer.mozilla.org/pl/docs/Special:Whatlinkshere/' .. mediawiki.variable('FULLPAGENAME') .. ' strony, które używają tego szablonu')}}.
{{string.trim(($2 ?? '')) !== '' ? web.html('<div style=\"border: solid #ccc 1px; background: #eee; padding: 0px 10px 0px 10px; margin: 10px 0px 10px 0px;\">\n<p><b>' .. $1 .. ' dziedziczone z ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':prototype|' .. $0 .. '.prototype', "pl") .. '</b><br/>\n<small>\n' .. (string.trim(($2 ?? '')) !== '' ? web.html(mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $2 .. '|' .. $2, "pl")) : '') .. (string.trim(($3 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $3 .. '|' .. $3, "pl")) : '') .. (string.trim(($4 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $4 .. '|' .. $4, "pl")) : '') .. (string.trim(($5 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $5 .. '|' .. $5, "pl")) : '') .. (string.trim(($6 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $6 .. '|' .. $6, "pl")) : '') .. (string.trim(($7 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $7 .. '|' .. $7, "pl")) : '') .. (string.trim(($8 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $8 .. '|' .. $8, "pl")) : '') .. (string.trim(($9 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $9 .. '|' .. $9, "pl")) : '') .. (string.trim(($10 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $10 .. '|' .. $10, "pl")) : '') .. (string.trim(($11 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $11 .. '|' .. $11, "pl")) : '') .. (string.trim(($12 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $12 .. '|' .. $12, "pl")) : '') .. (string.trim(($13 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $13 .. '|' .. $13, "pl")) : '') .. (string.trim(($14 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $14 .. '|' .. $14, "pl")) : '') .. (string.trim(($15 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $15 .. '|' .. $15, "pl")) : '') .. (string.trim(($16 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $16 .. '|' .. $16, "pl")) : '') .. (string.trim(($17 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $17 .. '|' .. $17, "pl")) : '') .. (string.trim(($18 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $18 .. '|' .. $18, "pl")) : '') .. (string.trim(($19 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $19 .. '|' .. $19, "pl")) : '') .. (string.trim(($20 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $20 .. '|' .. $20, "pl")) : '') .. (string.trim(($21 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $21 .. '|' .. $21, "pl")) : '') .. (string.trim(($22 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $22 .. '|' .. $22, "pl")) : '') .. (string.trim(($23 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $23 .. '|' .. $23, "pl")) : '') .. (string.trim(($24 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $24 .. '|' .. $24, "pl")) : '') .. (string.trim(($25 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $25 .. '|' .. $25, "pl")) : '') .. (string.trim(($26 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $26 .. '|' .. $26, "pl")) : '') .. (string.trim(($27 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $27 .. '|' .. $27, "pl")) : '') .. (string.trim(($28 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $28 .. '|' .. $28, "pl")) : '') .. (string.trim(($29 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $29 .. '|' .. $29, "pl")) : '') .. (string.trim(($30 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $30 .. '|' .. $30, "pl")) : '') .. (string.trim(($31 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Dokumentacja języka JavaScript 1.5:Obiekty:' .. $0 .. ':' .. $31 .. '|' .. $31, "pl")) : '') .. '</small>\n</p>\n</div>') : ''}}Sorry about the ugly code, MediaWiki's handling of linebreaks isn't very good, leaving gratuitous whitespace all over the place. I'm sure some can be added in here somewhere to increase readability that won't adversely affect articles using this template, but I'm not sure where that may be
{{ {{page.unprefixedpath}} | globalObject | inheritType | inherited1 | inherited2 | . . . | inherited30 }}
Properties or Methods. Make sure you capitalize it and use the plural.
This automatically links to the method or property of the prototype of the specified global object. Due to the way it's written, this template takes up to 30 properties or methods, which can be easily extended, but this should suffice. It might be possible to take indefinite parameters, but I don't know how or if there is a way to do this. -- Sevenspade
If you don't specify any inherited properties/methods, the template does not show up.
To see how this looks, check for {{mediawiki.external('http://developer.mozilla.org/en/docs/Special:Whatlinkshere/' .. mediawiki.variable('FULLPAGENAME') .. ' pages that use this template')}}.
{{string.trim(($2 ?? '')) !== '' ? web.html('<div style=\"border: solid #ccc 1px; background: #eee; padding: 0px 10px 0px 10px; margin: 10px 0px 10px 0px;\">\n<p><b>' .. $1 .. ' inherited from ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':prototype|' .. $0 .. '.prototype', "zh-cn") .. '</b><br/>\n<small>\n' .. (string.trim(($2 ?? '')) !== '' ? web.html(mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $2 .. '|' .. $2, "zh-cn")) : '') .. (string.trim(($3 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $3 .. '|' .. $3, "zh-cn")) : '') .. (string.trim(($4 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $4 .. '|' .. $4, "zh-cn")) : '') .. (string.trim(($5 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $5 .. '|' .. $5, "zh-cn")) : '') .. (string.trim(($6 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $6 .. '|' .. $6, "zh-cn")) : '') .. (string.trim(($7 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $7 .. '|' .. $7, "zh-cn")) : '') .. (string.trim(($8 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $8 .. '|' .. $8, "zh-cn")) : '') .. (string.trim(($9 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $9 .. '|' .. $9, "zh-cn")) : '') .. (string.trim(($10 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $10 .. '|' .. $10, "zh-cn")) : '') .. (string.trim(($11 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $11 .. '|' .. $11, "zh-cn")) : '') .. (string.trim(($12 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $12 .. '|' .. $12, "zh-cn")) : '') .. (string.trim(($13 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $13 .. '|' .. $13, "zh-cn")) : '') .. (string.trim(($14 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $14 .. '|' .. $14, "zh-cn")) : '') .. (string.trim(($15 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $15 .. '|' .. $15, "zh-cn")) : '') .. (string.trim(($16 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $16 .. '|' .. $16, "zh-cn")) : '') .. (string.trim(($17 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $17 .. '|' .. $17, "zh-cn")) : '') .. (string.trim(($18 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $18 .. '|' .. $18, "zh-cn")) : '') .. (string.trim(($19 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $19 .. '|' .. $19, "zh-cn")) : '') .. (string.trim(($20 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $20 .. '|' .. $20, "zh-cn")) : '') .. (string.trim(($21 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $21 .. '|' .. $21, "zh-cn")) : '') .. (string.trim(($22 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $22 .. '|' .. $22, "zh-cn")) : '') .. (string.trim(($23 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $23 .. '|' .. $23, "zh-cn")) : '') .. (string.trim(($24 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $24 .. '|' .. $24, "zh-cn")) : '') .. (string.trim(($25 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $25 .. '|' .. $25, "zh-cn")) : '') .. (string.trim(($26 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $26 .. '|' .. $26, "zh-cn")) : '') .. (string.trim(($27 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $27 .. '|' .. $27, "zh-cn")) : '') .. (string.trim(($28 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $28 .. '|' .. $28, "zh-cn")) : '') .. (string.trim(($29 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $29 .. '|' .. $29, "zh-cn")) : '') .. (string.trim(($30 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $30 .. '|' .. $30, "zh-cn")) : '') .. (string.trim(($31 ?? '')) !== '' ? web.html(', ' .. mediawiki.internal('Core JavaScript 1.5 Reference:Global Objects:' .. $0 .. ':' .. $31 .. '|' .. $31, "zh-cn")) : '') .. '</small>\n</p>\n</div>') : ''}}Page last modified 22:15, 14 Jul 2008 by BenoitL