Difference between revisions of "Template:JavaRLE"

From LifeWiki
Jump to navigation Jump to search
(removing java link until applet is up again)
(moving conwaylife URLs to https to get around issue with http links not working)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|<!-- '''Java:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/?rle={{{rle|}}} here]|[http://www.conwaylife.com/?p={{{1|}}} here]}}<br /> -->'''[[RLE]]:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/patterns/{{{rle|}}} here]|[http://www.conwaylife.com/patterns/{{{1|}}}.rle here]}} |<!-- '''Manipulate via Java:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/?rle={{{rle|}}} click here]|[http://www.conwaylife.com/?p={{{1|}}} click here]}}<br /> -->'''Download [[RLE]]:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/patterns/{{{rle|}}} click here]|[http://www.conwaylife.com/patterns/{{{1|}}}.rle click here]}} }}</includeonly>
<includeonly>{{#if:{{{2|}}}|<!-- '''Java:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/?rle={{{rle|}}} here]|[http://www.conwaylife.com/?p={{{1|}}} here]}}<br /> -->'''[[RLE]]:''' {{#if:{{{rle|}}}|[https://www.conwaylife.com/patterns/{{{rle|}}} here]|[https://www.conwaylife.com/patterns/{{{1|}}}.rle here]}} |<!-- '''Manipulate via Java:''' {{#if:{{{rle|}}}|[http://www.conwaylife.com/?rle={{{rle|}}} click here]|[http://www.conwaylife.com/?p={{{1|}}} click here]}}<br /> -->'''Download [[RLE]]:''' {{#if:{{{rle|}}}|[https://www.conwaylife.com/patterns/{{{rle|}}} click here]|[https://www.conwaylife.com/patterns/{{{1|}}}.rle click here]}} }}</includeonly>
<noinclude>This is a template for including a Java and [[RLE]] link to a pattern below its image. To use, place <nowiki>{{JavaRLE|patternname}}</nowiki> in the page where you want the Java and RLE links to appear, replacing patternname by the name of the pattern. You may also include another parameter to make the links shorter as follows: <nowiki>{{JavaRLE|patternname|brief}}</nowiki>.
<noinclude>This is a template for including a Java and [[RLE]] link to a pattern below its image. To use, place <nowiki>{{JavaRLE|patternname}}</nowiki> in the page where you want the Java and RLE links to appear, replacing patternname by the name of the pattern. You may also include another parameter to make the links shorter as follows: <nowiki>{{JavaRLE|patternname|brief}}</nowiki>.


To link directly to an [[RLE]] encoding of a pattern without that pattern having to be included in the pattern database, do something like the following: <nowiki>{{JavaRLE|rle=bo$2bo$3o||brief}}</nowiki> -- but please only do this for small or relatively unimportant patterns. Important patterns should be added to the official database.</noinclude>
To link directly to an [[RLE]] encoding of a pattern without that pattern having to be included in the pattern database, do something like the following: <nowiki>{{JavaRLE|rle=bo$2bo$3o||brief}}</nowiki> -- but please only do this for small or relatively unimportant patterns. Important patterns should be added to the official database.</noinclude>

Revision as of 18:46, 25 July 2020

This is a template for including a Java and RLE link to a pattern below its image. To use, place {{JavaRLE|patternname}} in the page where you want the Java and RLE links to appear, replacing patternname by the name of the pattern. You may also include another parameter to make the links shorter as follows: {{JavaRLE|patternname|brief}}.

To link directly to an RLE encoding of a pattern without that pattern having to be included in the pattern database, do something like the following: {{JavaRLE|rle=bo$2bo$3o||brief}} -- but please only do this for small or relatively unimportant patterns. Important patterns should be added to the official database.