Template:Language beta: Difference between revisions

Test values for other params using generic properties
(Using start and end tags now)
(Test values for other params using generic properties)
Line 1:
{{language/Start}}
{{#if:{{{site|test}}}|{{{!}}style="text-align: left; font-size: 75%; background: transparent;"
{{!}}-
![{{{site|http://example.com}}} Official website]
{{!}}}
}}
{|style="text-align: left; font-size: 75%; background: transparent;"
{{#if: {{{exec|test}}}|{{language/Property/Generic|[[:Category:Execution method|Execution method]]:|{{#switch: {{lc:{{{exec|machine}}}}}|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|test}}}|{{language/Property/Generic|[[:Category:Garbage collection|Garbage collected]]:|{{ucfirst:{{{gc|yes}}}}}[[Category:Garbage collection/{{ucfirst:{{{gc|yes}}}}}]]}}
{{!}}-
}}
{{#if: {{{parampass|test}}}|!{{language/Property/Generic|[[:Category:Parameter passing|Parameter passing methods]]:|
{{!}}{{#ifeq: {{{parampass|both}}}|both| By reference, By value[[Category:Parameter passing/By reference]][[Category:Parameter passing/By value]]|
By {{lc:{{{parampass}}}}}[[Category:Parameter passing/By {{lc:{{{parampass}}}}}]]}}}}
{{!}}-
}}
{{#if: {{{safety|test}}}|!{{language/Property/Generic|[[:Category:Typing|Type safety]]:|
{{!}}{{#ifeq: {{{safety|both}}}|both|Safe, Unsafe[[Category:Typing/Safe]][[Category:Typing/Unsafe]]|{{ucfirst:{{{safety}}}}}
[[Category:Typing/{{ucfirst:{{{safety}}}}}]]}}}}
{{!}}-
}}
{{#if: {{{strength|test}}}|!{{language/Property/Generic|[[:Category:Typing|Type strength]]:|
{{!}}{{ucfirst:{{{strength|strong}}}}}<br>[[Category:Typing/{{ucfirst:{{{strength|strong}}}}}]]}}
{{!}}-
}}
{{#if: {{{compat|test}}}|!{{language/Property/Generic|[[:Category:Typing/Compatibility|Type compatibility]]:|
{{!}}{{#ifeq: {{{compat|both}}}|both|Nominative, Structural[[Category:Typing/Compatibility/Nominative]][[Category:Typing/Compatibility/Structural]]|{{ucfirst:{{{compat}}}}}
[[Category:Typing/Compatibility/{{ucfirst:{{{compat}}}}}]]}}}}
{{!}}-
}}
{{#if: {{{express|test}}}|!{{language/Property/Generic|[[:Category:Typing/Expression|Type expression]]:|
{{!}}{{ucfirst:{{{express|test}}}}}[[Category:Typing/Expression/{{ucfirst:{{{express|test}}}}}]]}}
{{!}}-
}}
{{#if: {{{checking|}}}|!{{language/Property/Generic|[[:Category:Typing/Checking|Type checking]]:|
{{!}}{{#ifeq: {{{checking|both}}}|both|Dynamic, Static[[Category:Typing/Checking/Dynamic]][[Category:Typing/Checking/Static]]|
{{ucfirst:{{{checking|}}}}}[[Category:Typing/Checking/{{ucfirst:{{{checking}}}}}]]}}}}
{{!}}-
}}
{{#if: {{{untyped|}}}|!{{language/Property/Generic|{{#ifeq: {{{untyped|yes}}}|yes|Typing:
{{!}}Untyped[[Category:Typing/Untyped]]}}}}
{{!}}-
}}
{{#if: {{{tags|}}}|!{{language/Property/Generic|[[Help:Syntax_Highlighting|Lang tag(s)]]:|
{{!{tags|test1, test2}}{{{tags}}}
{{!}}-
}}
!{{language/Property/Generic|See Also:|
|{{*}}{{HOPL}}
{{#if: {{{bnf|test}}}|{{*}} [{{{bnf|http://example.com}}} BNF Grammar for {{PAGENAME}}]}}
{{#ifeq:{{{LCT|yes}}}|yes|{{*}} [[Language Comparison Table#{{PAGENAME}}|{{PAGENAME}} compared to other languages]]}}}}
|}
Listed below are all of the tasks on Rosetta Code which have been solved using {{PAGENAME}}.{{sharethis}}
{{language/End}}
{{language/End}}<includeonly>[[Category:Programming Languages|{{uc:{{PAGENAME}}}}]]</includeonly><noinclude>This box is primarily used in category pages (click "What links here" in the navbar on the left), not all of which will have much information in them. If a language category page has too little content, but too many articles, the infobox will overlap the article list.
 
Usage:
Anonymous user