ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:SourceCode"

From ModEnc
Jump to: navigation, search
(Created)
 
m (Correcting...)
Line 1: Line 1:
 
<includeonly>{{BigHorizontalBar|Source Code Available| Original code for this functionality has been reverse-engineered and is available [{{{1|http://www.example.com}}} here].
 
<includeonly>{{BigHorizontalBar|Source Code Available| Original code for this functionality has been reverse-engineered and is available [{{{1|http://www.example.com}}} here].
{{#ifeq:{{{tr=0|}}}|0|If you can, please transcribe the relevant bits into pseudocode and add them to this page. [[Category:Needs Transcribing]]|[[Category:Source Code]]}}}}</includeonly>
+
{{#ifeq:{{{tr|1}}}|0|If you can, please transcribe the relevant bits into pseudocode and add them to this page. [[Category:Needs Transcribing]]|[[Category:Source Code]]}}}}</includeonly>
 
<noinclude>'''Usage''':<pre>{{SourceCode|url}}</pre> Creates a simple box linking to the source code and include the page in [[:Category:Contains Source Code]], <pre>{{SourceCode|url|tr=0}}</pre> Creates a box and add the page to [[:Category:Needs Transcribing]].</noinclude>
 
<noinclude>'''Usage''':<pre>{{SourceCode|url}}</pre> Creates a simple box linking to the source code and include the page in [[:Category:Contains Source Code]], <pre>{{SourceCode|url|tr=0}}</pre> Creates a box and add the page to [[:Category:Needs Transcribing]].</noinclude>

Revision as of 15:21, 11 May 2008

Usage:
{{SourceCode|url}}
Creates a simple box linking to the source code and include the page in Category:Contains Source Code,
{{SourceCode|url|tr=0}}
Creates a box and add the page to Category:Needs Transcribing.