Difference between revisions of "Template:Asbox/sandbox"
Jump to navigation
Jump to search
blackwiki>MSGJ (spacing) |
blackwiki>MSGJ (add demo parameter) |
||
Line 22: | Line 22: | ||
*** check for valid name parameter and transclude /templatepage on template page *** | *** check for valid name parameter and transclude /templatepage on template page *** | ||
− | -->{{#switch:{{FULLPAGENAME:{{{name|}}}}} | + | -->{{#if:{{{demo|}}} |
− | + | |<!--Demonstration version--> | |
− | + | |{{#switch:{{FULLPAGENAME:{{{name|}}}}} | |
− | + | |{{FULLPAGENAME}}=<!--Template page-->{{Asbox/templatepage | |
− | + | |image = {{{image|}}} | |
− | + | |pix = {{{pix|}}} | |
− | + | |imagealt = {{{imagealt|}}} | |
− | + | |icon = {{{icon|}}} | |
− | + | |subject = {{{subject|}}} | |
− | + | |article = {{{article|}}} | |
− | + | |qualifier = {{{qualifier|}}} | |
− | + | |category = {{{category|}}} | |
− | + | |tempsort = {{{tempsort|}}} | |
− | + | |category1 = {{{category1|}}} | |
− | + | |tempsort1 = {{{tempsort1|}}} | |
− | + | |category2 = {{{category2|}}} | |
− | + | |tempsort2 = {{{tempsort2|}}} | |
+ | |note = {{{note|}}} | ||
+ | |name = {{{name|}}} | ||
+ | }} | ||
+ | |{{#titleparts:{{FULLPAGENAME}}|1}}=<!--Is a subtemplate, e.g. a sandbox version. Don't display documentation.--> | ||
+ | |#default={{#ifeq:{{NAMESPACE}}|Template | ||
+ | |<!--{{ombox | ||
+ | |type=content | ||
+ | |text=It appears that the ''name'' parameter of this template is undefined or incorrect. If this is the stub template, please set {{para|name|{{FULLPAGENAME}}}} | ||
+ | }}-->[[Category:Stub message boxes needing attention|{{#if:{{{name|}}}|E|W}}{{PAGENAME}}]] | ||
+ | }} | ||
}} | }} | ||
− | + | }}<noinclude><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*** Documentation *** | *** Documentation *** |
Revision as of 11:54, 3 September 2009
This article is a stub. You can help Wikipedia by expanding it. |