Template:Language: Difference between revisions

I think I got rid of the whitespace
(The ! template seems to work for getting rid of the site table whitespace, but I can't get it to work for the other tables)
(I think I got rid of the whitespace)
Line 8:
}}
{|style="text-align: left; font-size: 75%; background-color: #f9f9f9;"
|{{#if: {{{tagsexec|}}}|{{{tags}}}!}}-
|-
!{{#if: {{{exec|}}}|[[:Category:Execution method|Execution method]]:}}
|{{!}}{{#switch: {{lc:{{{exec|}}}}}|machine = Compiled (machine code) [[Category:Execution method/Compiled/Machine code]]|interpreted = Interpreted [[Category:Execution method/Interpreted]]|bytecode = Compiled (bytecode) [[Category:Execution method/Compiled/Bytecode]]}}
{{!}}-
|-
}}
!{{#if: {{{gc|}}}|[[:Category:Garbage collection|Garbage collected]]:}}
|{{#if: {{{gc|}}}|{{ucfirst:{{{gc}}}}}![[:Category:Garbage collection/{{ucfirst:{{{gc}}}}}|Garbage collected]]}}:
{{!}}{{#ifucfirst: {{{gc|}}}|}}[[:Category:Garbage collection|Garbage collected]]/{{ucfirst:{{{gc}}}}}]]
|-
{{!}}-
!{{#if: {{{parampass|}}}|[[:Category:Parameter passing|Parameter passing methods]]:}}
}}
|{{#if: {{{parampass|}}}|{{#ifeq: {{{parampass}}}|both| By reference, By value[[Category:Parameter passing/By reference]][[Category:Parameter passing/By value]]|
By {{lc#if: {{{parampass|}}}}}|![[:Category:Parameter passing/By|Parameter {{lc:{{{parampass}}}}}passing methods]]}}}}:
{{!}}{{#ififeq: {{{parampass|}}}|both| By reference, By value[[:Category:Parameter passing|/By reference]][[Category:Parameter passing/By methodsvalue]]:}}|
|-
! By {{#iflc: {{{safety|parampass}}}}}|[[:Category:Typing|TypeParameter safetypassing/By {{lc:{{{parampass}}}}}]]:}}
{{!}}-
|{{#if: {{{safety|}}}|{{#ifeq: {{{safety}}}|both|Safe, Unsafe[[Category:Typing/Safe]][[Category:Typing/Unsafe]]|{{ucfirst:{{{safety}}}}}
}}
[[Category:Typing/{{ucfirst:{{{safety}}}}}]]}}}}
!{{#if: {{{checkingsafety|}}}|![[:Category:Typing/Checking|Type checkingsafety]]:}}
|-
{{!}}{{#ififeq: {{{strength|safety}}}|both|Safe, Unsafe[[Category:Typing/Safe]][[Category:Typing|Type strength/Unsafe]]|{{ucfirst:{{{safety}}}}}
|{{#if: {{{strength|}}}|{{ucfirst:{{{strength}}}}}<br>[[Category:Typing/{{ucfirst:{{{strengthsafety}}}}}]]}}
{{!}}-
|-
}}
!{{#if: {{{compat|}}}|[[:Category:Typing/Compatibility|Type compatibility]]:}}
!{{#if: {{{expressstrength|}}}|![[:Category:Typing/Expression|Type expressionstrength]]:}}
|{{#if: {{{compat|}}}|{{#ifeq: {{{compat}}}|both|Nominative, Structural[[Category:Typing/Compatibility/Nominative]][[Category:Typing/Compatibility/Structural]]|{{ucfirst:{{{compat}}}}}
{{!}}{{ucfirst:{{{strength}}}}}<br>[[Category:Typing/Compatibility/{{ucfirst:{{{compatstrength}}}}}]]}}}}
{{!}}-
|-
}}
!{{#if: {{{express|}}}|[[:Category:Typing/Expression|Type expression]]:}}
|{{#if: {{{expresscompat|}}}|{{ucfirst:{{{express}}}}}![[:Category:Typing/Expression/{{ucfirst:{{{express}}}}}Compatibility|Type compatibility]]}}:
|{{#if: {{{safety|!}}}|{{#ifeq: {{{safetycompat}}}|both|SafeNominative, UnsafeStructural[[Category:Typing/SafeCompatibility/Nominative]][[Category:Typing/UnsafeCompatibility/Structural]]|{{ucfirst:{{{safetycompat}}}}}
|-
[[Category:Typing/Compatibility/{{ucfirst:{{{safetycompat}}}}}]]}}}}
!{{#if: {{{checking|}}}|[[:Category:Typing/Checking|Type checking]]:}}
{{!}}-
|{{#if: {{{checking|}}}|{{#ifeq: {{{checking}}}|both|Dynamic, Static[[Category:Typing/Checking/Dynamic]][[Category:Typing/Checking/Static]]|
}}
{{ucfirst:{{{checking|}}}}}[[Category:Typing/Checking/{{ucfirst:{{{checking}}}}}]]}}}}
!{{#if: {{{compatexpress|}}}|![[:Category:Typing/CompatibilityExpression|Type compatibilityexpression]]:}}
|-
{{!}}{{#ifucfirst: {{{untyped|express}}}|}}[[Category:Typing/Expression/{{#ifequcfirst: {{{untypedexpress}}}|yes|Untyped:}}}}]]
{{!}}-
|{{#if: {{{untyped|}}}|{{#ifeq: {{{untyped}}}|yes|yes[[Category:Typing/Untyped]]}}}}
}}
|-
!{{#if: {{{tagschecking|}}}|![[Help:Syntax_HighlightingCategory:Typing/Checking|LangType tag(s)checking]]:}}
|{{#if: {{{checking|}!}}|{{#ifeq: {{{checking}}}|both|Dynamic, Static[[Category:Typing/Checking/Dynamic]][[Category:Typing/Checking/Static]]|
|{{#if: {{{tags|}}}|{{{tags}}}}}
{{ucfirst:{{{checking|}}}}}[[Category:Typing/Checking/{{ucfirst:{{{checking}}}}}]]}}}}
|-
{{!}}-
}}
{{#if: {{{untyped|}}}|!{{#ifeq: {{{untyped}}}|yes|Untyped:}}
|{{#if: {{{untyped|!}}}|{{#ifeq: {{{untyped}}}|yes|yes[[Category:Typing/Untyped]]}}}}
{{!}}-
}}
{{#if: {{{tags|}}}|![[Help:Syntax_Highlighting|Lang tag(s)]]:
{{!}}{{{tags}}}
{{!}}-
}}
!See Also:
|{{HOPL}}{{#if:{{{LCT|}}}|<br>[[Language Comparison Table#{{PAGENAME}}|{{PAGENAME}} compared to other languages]]}}
Anonymous user