Difference between revisions of "Template:File title/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(sandbox)
imported>Amalthea
(rewrite to use safesubst:)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{template sandbox notice}}
+
{{
 
+
  {{{|safesubst:}}}#if: {{{1|}}}
</noinclude>{{{{{subst|}}}
+
   | {{
  #if: {{{1|}}}
+
      {{{|safesubst:}}}#ifeq: {{{{{|safesubst:}}}NAMESPACE:{{{1|}}}}} | {{{{{|safesubst:}}}ns:File}}
   | {{{{{subst|}}}
+
       | {{{{{|safesubst:}}}FULLPAGENAME:{{{1|}}}}}
      #ifeq: {{{{{subst|}}}NAMESPACE:{{{1|}}}}} | {{{{{subst|}}}ns:File}}
+
       | {{{{{|safesubst:}}}ns:File}}:{{{{{|safesubst:}}}#if:X|{{{1|}}}}}
       | {{{{{subst|}}}FULLPAGENAME:{{{1|}}}}} <!-- File name with namespace, we strip a potential leading column -->
 
       | {{{{{subst|}}}ns:File}}:{{{{{subst|}}}#if:X|{{{1|}}}}}     <!-- File name without namespace -->
 
 
     }}
 
     }}
 
   |  <!-- Empty first parameter -->
 
   |  <!-- Empty first parameter -->
}}
+
}}<noinclude>{{template sandbox notice}}
 +
 
 +
</noinclude>

Latest revision as of 09:34, 23 April 2010