Difference between pages "Template:Main talk other flex" and "Template:Main talk other flex/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (12 revisions imported)
 
m (4 revisions imported)
 
Line 1: Line 1:
{{#switch:
+
<noinclude>{{Template sandbox notice}}
 +
</noinclude>{{#switch:
 
   {{lc:              <!--Lower case the result-->
 
   {{lc:              <!--Lower case the result-->
     <!--If no or empty "demospace" parameter then use NAMESPACE-->
+
     <!--If no or empty "demospace" parameter then use x+NAMESPACE-->
 
     {{#if:{{{demospace|}}}  
 
     {{#if:{{{demospace|}}}  
 
     | {{{demospace}}}
 
     | {{{demospace}}}
Line 7: Line 8:
 
     }}  
 
     }}  
 
   }}
 
   }}
 +
| main
 +
| {{lc:{{ns:0}}}} =  <!--Parameter "main" or main (article) space-->
  
<!-- "demospace=main" or main (article) space -->
+
<!--If any parameter, then don't return the "main" string-->
| main
+
{{#if:{{{1|}}}{{{2|}}}{{{3|}}} | {{{1|}}} | main }}
| {{lc:{{ns:0}}}} = {{{1|}}}
 
  
<!-- "demospace=talk" or any talk space -->
 
 
| talk
 
| talk
 
| user talk
 
| user talk
 
| wikipedia talk
 
| wikipedia talk
| file talk
+
| image talk
 
| mediawiki talk
 
| mediawiki talk
 
| template talk
 
| template talk
 
| help talk
 
| help talk
 
| category talk  
 
| category talk  
| portal talk  
+
| portal talk =      <!--Parameter "talk" or any talk space-->
| book talk      = {{{2|}}}
+
 
 +
{{#if:{{{1|}}}{{{2|}}}{{{3|}}} | {{{2|}}} | talk }}
  
<!-- "demospace=other" or other space -->
 
 
| other
 
| other
 
| user
 
| user
 
| wikipedia
 
| wikipedia
| file
+
| image
 
| mediawiki
 
| mediawiki
 
| template
 
| template
Line 34: Line 35:
 
| category
 
| category
 
| portal
 
| portal
| book
+
| #default =         <!--Parameter "other" or other space-->
| #default = {{{3|}}}
+
 
 +
{{#if:{{{1|}}}{{{2|}}}{{{3|}}} | {{{3|}}} | other }}
  
 
}}<!--End switch--><noinclude>
 
}}<!--End switch--><noinclude>
  
{{documentation}}
+
<!-- {{pp-template|small=yes}}
 +
{{Documentation}} -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>