Template:Template sandbox notice: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Template:Template sandbox notice - first draft; based on wikipedia)
 
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifexpr:0<noinclude>1</noinclude>+{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{subpage-name|sandbox}}}}}
<includeonly>{{#ifexpr: 0<noinclude>1</noinclude>+{{
  |1
    #ifeq: {{#titleparts: {{lc:{{PAGENAME}}}} | | -1}} | {{lc:{{{subpage-name|sandbox}}}}}
  |0
    |1
}}
    |0
|{{Message
  }}
  |message=This is the template sandbox page for {{#if:{{{1|}}}|[[{{{1|}}}]]|[[:{{NAMESPACE}}:{{BASEPAGENAME}}]]}}.{{#ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
  |{{Message |message=This is the template sandbox page for {{
  | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
      #if: {{{1|}}}  
  }}  
      |[[{{{1|}}}]]
}}{{{notice-for-sandbox|}}}{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{lc:{{{testcases-name|testcases}}}}}
      |[[:{{#titleparts: {{FULLPAGENAME}} | -1 }}]]
  | <!-- testcases -->
    }}.{{
  | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
      #ifexist:{{#rel2abs: ../{{{testcases-name|testcases}}}}}
}}
      | <br> See also the companion subpage for [[../{{{testcases-name|testcases}}}|test cases]].
| <!-- not sandbox -->{{{notice-not-sandbox|}}}
    }}  
}}<noinclude>
  }}{{{notice-for-sandbox|}}}{{
{{documentation}}
    #ifeq: {{#titleparts: {{lc:{{PAGENAME}}}} | | -1 }} | {{lc:{{{testcases-name|testcases}}}}}
    | <!-- testcases -->
    | <!-- not testcases -->{{{category|[[Category:Template sandboxes]]}}}
  }}
  | <!-- not sandbox -->{{{notice-not-sandbox|}}}
}}</includeonly><noinclude>
{{Documentation|content=For documentation look at [[wikipedia:en:Template:Template_sandbox_notice|Wikipedia]].}}
[[Category:Testing]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 20:52, 21 August 2017

Template documentation

For documentation look at Wikipedia.