Template talk:Technique/sandbox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

To avoid ugly "adj" parameters, parentheses could probably by used with something like that (does not currently work)

<!--
I shortcurts for better translation and increased efficiency
-->{{#switch: {{lc: {{{1|}}}{{{and|}}}{{{2|}}}{{{mounted|}}} }}
     |                = 
     | oilcanvas      = {{oil on canvas|lang={{{lang|}}}}}
     | frescocanvas   = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|fresco transferred to canvas}}
     | engravingwood  = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|wood engraving}}
     | engravingcopper= {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|copper engraving}}
     | engravingsteel = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|steel engraving}}
     | colorprint     = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|color print}}
     | marble         = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|marble}}
     | bronze         = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|bronze}}
     | drawing        = {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|drawing}}
<!--     | {{title without diambig | {{{1|}}} }}   =  {{technique/{{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}|{{lc:{{{1|}}}}}}}
--><!--

   
II full template for more complex cases
--> |#default        = {{Technique/core
 |lang   = {{Fallback|Technique/sandbox|{{{lang|{{int:lang}}}}}}}
 |1      = {{lc: {{Title without disambig| {{{1|}}} }} }} 
 |2      = {{lc: {{Title without disambig| {{{and|}}} }} }}
 |3      = {{lc: {{Title without disambig| {{{and2|}}} }} }}
 |4      = {{lc: {{Title without disambig| {{{and3|}}} }} }}
 |5      = {{lc: {{Title without disambig| {{{and4|}}} }} }}
 |on     = {{lc: {{Title without disambig| {{{2|}}} }} }}
 |mounted= {{lc: {{Title without disambig| {{{mounted|}}} }} }}
 |adj1   = {{lc: {{Title disambig text |{{{1|}}} }} }}
 |adj2   = {{lc: {{Title disambig text|{{{and|}}} }} }}
 |adj3   = {{lc: {{Title disambig text|{{{and2|}}} }} }}
 |adj4   = {{lc: {{Title disambig text|{{{and3|}}} }} }}
 |adj5   = {{lc: {{Title disambig text|{{{and4|}}} }} }}
 |adjon  = {{lc: {{Title disambig text|{{{2|}}} }} }}
 |adjmounted = {{lc: {{Title disambig text|{{{mounted|}}} }} }}
 }}
}}

Start a discussion about Template:Technique/sandbox

Start a discussion