Template:Template sandbox notice: Difference between revisions
Jump to navigation
Jump to search
(Template:Template sandbox notice - first draft; based on wikipedia) |
(correct identification of pages; code cleaning) |
||
Line 1: | Line 1: | ||
{{#ifexpr:0<noinclude>1</noinclude>+{{#ifeq:{{lc:{{ | <includeonly>{{#ifexpr: 0<noinclude>1</noinclude>+{{ | ||
#ifeq: {{#titleparts: {{lc:{{PAGENAME}}}} | | -1 }} | {{lc:{{{subpage-name|sandbox}}}}} | |||
|1 | |||
|0 | |||
}} | |||
|{{Message |message=This is the template sandbox page for {{ | |||
#if: {{{1|}}} | |||
|[[{{{1|}}}]] | |||
|[[:{{#titleparts: {{FULLPAGENAME}} | -1 }}]] | |||
}}.{{ | |||
#ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}} | |||
| <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]]. | |||
}} | |||
}}<noinclude> | }}{{{notice-for-sandbox|}}}{{ | ||
#ifeq: {{#titleparts: {{lc:{{PAGENAME}}}} | | -1 }} | {{lc:{{{testcases-name|testcases}}}}} | |||
| <!-- testcases --> | |||
| <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}} | |||
}} | |||
| <!-- not sandbox -->{{{notice-not-sandbox|}}} | |||
}}</includeonly><noinclude> | |||
For documentation look at [http://en.wikipedia.org/wiki/Template:Template_sandbox_notice]. | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |