Template:Works with: Difference between revisions

From Rosetta Code
Content added Content deleted
(remove extra whitespace)
(specify use only when needed)
Line 1: Line 1:
'''Works with''': {{#if: {{{3|}}} | [[{{{1}}}|{{{2}}}]] version {{{3}}} | {{#if: {{{2|}}} | [[{{{1}}}]] version {{{2}}} | [[{{{1}}}]] }} }}<noinclude>
'''Works with''': {{#if: {{{3|}}} | [[{{{1}}}|{{{2}}}]] version {{{3}}} | {{#if: {{{2|}}} | [[{{{1}}}]] version {{{2}}} | [[{{{1}}}]] }} }}<noinclude>
This template replaces '''Compiler''', '''Interpreter''', '''Standard''', and the like (except for Library which is covered by <nowiki>{{libheader}}</nowiki>


'''Usage''':
'''Usage''':
Line 7: Line 6:


The version info can be numbers or mixed text. Preview to make sure it looks the way you want.
The version info can be numbers or mixed text. Preview to make sure it looks the way you want.

Do not use this template to merely indicate what language implementation you used, but only if the example ''relies on features only a particular implementation/variant has''.

(This template replaces '''Compiler''', '''Interpreter''', '''Standard''', and the like (except for Library which is covered by <nowiki>{{libheader}}</nowiki>.)


{{template}}</noinclude>
{{template}}</noinclude>

Revision as of 19:04, 16 May 2009

Works with: [[{{{1}}}]]

Usage:

{{works with|wikiname}} or {{works with|wikiname|version info}} or {{works with|wikiname|display name|version info}}

The version info can be numbers or mixed text. Preview to make sure it looks the way you want.

Do not use this template to merely indicate what language implementation you used, but only if the example relies on features only a particular implementation/variant has.

(This template replaces Compiler, Interpreter, Standard, and the like (except for Library which is covered by {{libheader}}.)



This is a template. There are many others. See Category:RCTemplates for a complete list of templates.