Jump to content

Template:Language: Difference between revisions

Undo revision 337588 by Tigerofdarkness (talk) Change didn't work
(Correct inline/ usage.)
(Undo revision 337588 by Tigerofdarkness (talk) Change didn't work)
Tag: Undo
 
(17 intermediate revisions by 6 users not shown)
Line 8:
{{#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]]|both = Interpreted or compiled [[Category:Execution method/Interpreted]][[Category:Execution method/Compiled]]}}
{{!}}-
}}
Line 52:
{{!}}-
}}
{{#ifeq: {{#expr: {{{LCT|0}}} or {{{bnf|0}}} or {{#ifeq: {{{hopl|yes}}} | yes | 1 | 0}} }}|0||!See Also:}}
!See Also:
|{{#ifeq: {{{hopl|yes}}}|yes|{{*}}{{#if: {{{hopl id|}}}|{{HOPL|id={{{hopl id}}} }}|{{HOPL}} }}|}}
|{{*}}{{HOPL}}
{{#if: {{{bnf|}}}|{{*}} [{{{bnf}}} BNF Grammar for {{PAGENAME}}]}}
{{#ifeq:{{{LCT|}}}|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 {{infobox_endPAGENAME}}.{{Impl neededinfobox_end}}<includeonly>[[Category:Programming Languages|{{uc:{{PAGENAME}}}}]]{{#set:is language=true}}</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.
'''Sampling of Users:'''<br/>
{{#ask:[[knows language::{{{PAGENAME}}}]]
|format=list
|limit=5
|offset=0
|default=''(none [[Template:Mylang|registered]])''
}}<br/>
'''Sampling of Implementations:'''<br/>
{{#ask:[[implementation of::{{{PAGENAME}}}]]
|format=list
|limit=5
|offset=0
|default=''(none [[Template:implementation|documented]])''
}}<br/>
'''Sampling of Broken Examples:'''<br/>
{{#ask:[[example requires attention::{{{PAGENAME}}}]]
|format=list
|limit=3
|offset=0
|default=''(none [[Template:incorrect|flagged]])''
}}{{infobox_end}}{{Impl needed}}<includeonly>[[Category:Programming Languages|{{uc:{{PAGENAME}}}}]]{{#set:is language=true}}</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:
{|class="wikitable" style="text-align: center;"
!Param name
!values
Line 86 ⟶ 66:
|-
|exec
|"machine", "interpreted", "bytecode", or "bytecodeboth"
|execution method
|-
Line 128 ⟶ 108:
|a list of lang tag arguments
|this language's corresponding lang tag argument
|-
|hopl
|"yes" or undefined are the same, any other value is essentially "no"
|whether there should be a link to the HOPL from this language page. If defined and non-"yes" there will be no link. If undefined there will be a link.
|-
|hopl id
|id number like "1558"
|id number from HOPL. If defined, link to HOPL bypasses search page.
|-
|LCT
|"yes" or "no"
|whether this language has an entry in the [[Language Comparison Table]]. '''Only use "yes" if you have added it to the LCT or plan to add it shortly.'''
|-
|bnf
|(URL)
|Where the BNF grammar for this language is located or may be found. This should remain undefined if there is no BNF.
|}
{{template}}</noinclude>
3,021

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.