Difference between revisions of "User:SciWhiz12/sandbox/codetabs"

From Forge Community Wiki
(try another route)
(adjust other route)
Line 1: Line 1:
 +
<tabs>
 +
{{#if:{{{java|}}}| {{#tab:Java|{{{java}}}}} | {{#tab:Java}}}}
 +
{{#if:{{{groovy|}}}| {{#tab:Groovy|{{{groovy}}}}} | {{#tab:Groovy}}}}
 +
{{#if:{{{kotlin|}}}| {{#tab:Kotlin|{{{kotlin}}}}} | {{#tab:Kotlin}}}}
 +
{{#if:{{{scala|}}}| {{#tab:Scala|{{{scala}}}}} | {{#tab:Scala}}}}
 +
</tabs>
 +
 
{{#tag:tabs|
 
{{#tag:tabs|
 
{{#if:{{{java|}}}|{{#tag:tab|{{{java|''Empty Java tab contents...''}}}|name=Java}}}}
 
{{#if:{{{java|}}}|{{#tag:tab|{{{java|''Empty Java tab contents...''}}}|name=Java}}}}
Line 5: Line 12:
 
{{#if:{{{scala|}}}|{{#tag:tab|{{{scala|''Empty Scala tab contents...''}}}|name=Scala}}}}
 
{{#if:{{{scala|}}}|{{#tag:tab|{{{scala|''Empty Scala tab contents...''}}}|name=Scala}}}}
 
}}
 
}}
 
<tabs>
 
<tab name="Java"/>
 
<tab name="Groovy"/>
 
<tab name="Kotlin"/>
 
<tab name="Scala"/>
 
{{#if:{{{java|}}}| {{#tab:Java|{{{java}}}}} }}
 
{{#if:{{{groovy|}}}| {{#tab:Groovy|{{{groovy}}}}} }}
 
{{#if:{{{kotlin|}}}| {{#tab:Kotlin|{{{kotlin}}}}} }}
 
{{#if:{{{scala|}}}| {{#tab:Scala|{{{scala}}}}} }}
 
</tabs>
 
  
 
{{#tag:tabs|
 
{{#tag:tabs|

Revision as of 17:28, 7 April 2021





Foo
Bar