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

From Forge Community Wiki
(maybe the tags will work?)
(try the tabs tag)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#tag:tabs|
+
<tabs>
{{#if:{{{java|}}}|{{#tag:tab|{{{java|''Empty Java tab contents...''}}}|name=Java}}}}
+
{{#if:{{{java|}}}|{{#tab:Java|{{{java|}}}}}}}
{{#if:{{{groovy|}}}|{{#tag:tab|{{{groovy|''Empty Groovy tab contents...''}}}|name=Groovy}}}}
+
{{#if:{{{groovy|}}}|{{#tab:Groovy|{{{groovy|}}}}}}}
{{#if:{{{kotlin|}}}|{{#tag:tab|{{{kotlin|''Empty Kotlin tab contents...''}}}|name=Kotlin}}}}
+
{{#if:{{{kotlin|}}}|{#tab:Kotlin|{{{kotlin|}}}}}}}
{{#if:{{{scala|}}}|{{#tag:tab|{{{scala|''Empty Scala tab contents...''}}}|name=Scala}}}}
+
{{#if:{{{scala|}}}|{{#tab:Scala|{{{scala|}}}}}}}
}}
+
</tabs>
  
 
<tabs>
 
<tabs>
{{#if:{{{java|}}}|<tab name="Java">{{{java|''Empty Java tab contents...''}}}</tab>}}
+
{{#if:{{{java|}}}|{{#tag:tab|{{{java|''Empty Java tab contents...''}}}|name=Java|nested=true|index=1}}}}
{{#if:{{{groovy|}}}|<tab name="Groovy">{{{groovy|''Empty Groovy tab contents...''}}}</tab>}}
+
{{#if:{{{groovy|}}}|{{#tag:tab|{{{groovy|''Empty Groovy tab contents...''}}}|name=Groovy|nested=true|index=2}}}}
{{#if:{{{kotlin|}}}|<tab name="Kotlin">{{{kotlin|''Empty Kotlin tab contents...''}}}</tab>}}
+
{{#if:{{{kotlin|}}}|{{#tag:tab|{{{kotlin|''Empty Kotlin tab contents...''}}}|name=Kotlin|nested=true|index=3}}}}
{{#if:{{{scala|}}}|<tab name="Scala">{{{scala|Empty Scala tab contents...''}}}</tab>}}
+
{{#if:{{{scala|}}}|{{#tag:tab|{{{scala|''Empty Scala tab contents...''}}}|name=Scala|nested=true|index=4}}}}
 
</tabs>
 
</tabs>
  

Latest revision as of 17:43, 7 April 2021


}}



Foo
Bar