Template:Header: Difference between revisions

Add initial dart implementation of btc address validation
(try to fix a bug with editing sections defined by this template)
(Add initial dart implementation of btc address validation)
 
(32 intermediate revisions by 9 users not shown)
Line 1:
<includeonly>{{#ifswitch: {{{2|}}}lc: | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]] }} [[Category:{{{1}}}]]
| c sharp
<noinclude>
| c# = [[:Category:C sharp|C#]] [[Category:C sharp]] {{#set:Implemented in language=C sharp}}
This is intended to be used for the header of a programming language solution. It adds the header and a category with the same name. It can be invoked two ways:
| f sharp
| f_sharp
| f# = [[:Category:F Sharp|F#]] [[Category:F Sharp]] {{#set:Implemented in language=F Sharp}}
| javascript = [[:Category:JavaScript|JavaScript]] [[Category:JavaScript]] {{#set:Implemented in language=JavaScript}}
| dart = [[:Category:Dart|Dart]] [[Category:Dart]] {{#set:Implemented in language=Dart}}
| tex
| plaintex = [[:Category:PlainTeX|{{PlainTeX}}]] [[Category:PlainTeX]] {{#set:Implemented in language=PlainTeX}}
| latex = [[:Category:LaTeX|{{LaTeX}}]] [[Category:LaTeX]] {{#set:Implemented in language=LaTeX}}
| #default = [[:Category:{{{1}}}|{{{1}}}]] [[Category:{{{1}}}]] {{#set:Implemented in language={{{1}}} }}
}}</includeonly><noinclude>Usage: <code><nowiki>=={{header|language name}}==</nowiki></code>
 
This template is intended to be used for the header of a programming language solution. ItThe addslanguage's thecategory headeris andadded ato categorythe withtask page and the sameSemantic name.MediaWiki Itproperty can''Implemented bein invokedlanguage'' twois ways:set.
<code><nowiki>
=={{header|Your Language Here}}==
</nowiki></code>
 
For the following languages, any of the listed spellings is ok:
expands to:
* '''C#''': ''C#'', ''C sharp'' or ''C Sharp''
 
* '''F#''': ''F#'', ''F sharp'', ''F Sharp'', ''F_sharp'' or ''F_Sharp''
<code><nowiki>
* '''JavaScript''': ''JavaScript'' or ''Javascript''
==[[Your Language Here]] [[Category:Your Language Here]]==
* '''Dart''': ''Dart'' or ''Dart''
</nowiki></code>
* '''{{PlainTeX}}''': ''PlainTeX'' or ''plaintex'' or ''TeX'' or ''tex''
 
* '''{{LaTeX}}''': ''LaTeX'' or ''latex''
To catch difficult wiki names like C++ and C#:
{{template}}
 
[[Category:Example description templates]]</noinclude>
<code><nowiki>
=={{header|Your Language Here|Display Name}}==
</nowiki></code>
 
expands to:
 
<code><nowiki>
==[[Your Language Here|Display Name]] [[Category:Your Language Here]]==
</nowiki></code>
 
Created by --[[User:IanOsgood|IanOsgood]] 10:53, 17 September 2007 (MDT)
</noinclude>