Jump to content

Template:Script doc auto/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Davidgothberg (talk | contribs) at 02:27, 21 December 2009 (Updating code due to move of this template.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The "+ +" used here is to make it visible when this template outputs an empty string.

+{{script doc auto/core2}}+

{{script doc auto/core2
| pagetype   = js
| docpage    = User:Davidgothberg/clock
}}

{{script doc auto/core2
| pagetype   = js
| sisterpage = User:Davidgothberg/clock.css
| sistertype = css
}}

{{script doc auto/core2
| pagetype   = css
| docpage    = User:Davidgothberg/clock
| sisterpage = User:Davidgothberg/clock.js
| sistertype = js
}}

+Template:Script doc auto/core2+

Template:Script doc auto/core2

Template:Script doc auto/core2

Template:Script doc auto/core2


+{{script doc auto/sandbox}}+

{{script doc auto/sandbox| page = User:Davidgothberg/clock.css }}

{{script doc auto/sandbox| page = User:Davidgothberg/clock.js }}

{{script doc auto/sandbox| page = User:Davidgothberg/monobook.js }}

++

Lua error in Module:Script_doc_auto/sandbox at line 16: attempt to index local 'content' (a boolean value).


Testing {{script doc auto}}

+{{script doc auto}}+

{{script doc auto| page = User:Davidgothberg/clock.css }}

{{script doc auto| page = User:Davidgothberg/clock.js }}

{{script doc auto| page = User:Davidgothberg/monobook.js }}

++

Lua error in Module:Script_doc_auto at line 17: attempt to index local 'content' (a boolean value).