Template:JavaRLE: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
fix RLE links
m →top: AutoWikiBrowser, replaced: http://www.conwaylife → https://www.conwaylife (4)
 
(5 intermediate revisions by 2 users not shown)
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/pattern.asp?rle={{{rle|}}} here]|[http://www.conwaylife.com/pattern.asp?p={{{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|}}}|[https://www.conwaylife.com/?rle={{{rle|}}} here]|[https://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|}}}|[https://www.conwaylife.com/?rle={{{rle|}}} click here]|[https://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>
[[Category:Internal link templates]]
 
<!-- 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>

Latest revision as of 20:37, 3 November 2021

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}}.