Difference between revisions of "User:Sokwe/Sandbox"

From LifeWiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
 
No results:
 
No results:
 
{{User:Sokwe/Template:pagecount|category=notcat}}
 
{{User:Sokwe/Template:pagecount|category=notcat}}
 +
 +
Number of glider syntheses:
 +
{{#expr:{{#dpl:uses=Template:PatternDownload|namespace=Template|format=,{{,pagecount{{!}}uses=%TITLE%{{!}}template=%TITLE%{{!}}param=synthesisRLE{{!}}value=true}}+,0}}}}
 +
 +
Another (better) method: {{#dpl:categorymatch=Patterns_that_can_be_constructed_with%|resultsheader=%TOTALPAGES%|format={{#if,:,,:|}}}}
  
 
==oscillator navigator==
 
==oscillator navigator==
Line 29: Line 34:
  
 
{{User:Sokwe/Template:osc_num|p=144}}
 
{{User:Sokwe/Template:osc_num|p=144}}
 +
 +
<code><nowiki>{{User:Sokwe/Template:osc_num2|p=144}}</nowiki></code>
 +
 +
{{User:Sokwe/Template:osc_num2|p=3}}

Latest revision as of 20:10, 7 June 2009

Main article template test

Normal

Main article: spaceship

Alternate title

Main article: Alternate title

Broken link

Main article: Broken Link

Empty second parameter

Main article: Spaceship

No parameters

you must specify an article title


Template information check

{{#form:{{#input: type = hidden | name = content | value = <h2>{{#request:cat}}s without parameter: {{#request:param}}</h2>{{#dpl:uses=Template:{{#request:cat}}|include={{User:Sokwe/Template:btest}}{{#request:cat}}}:%PAGE%|includenotmatch = /s*{{#request:param}}*/s|format = ,\n*[[,]]|noresultsheader=No patterns match these criteria.}} }}

Search for...
Patterns in:{{#input: type = select| name = cat|
  • Wick
  • Agar
  • InductionCoil
  • Fuse
  • MovingBreeder
  • Pattern
  • Wickstretcher
  • GrowingSpaceship
  • Crawler
  • UnitCell
  • Gun
  • Sawtooth
  • Methuselah
  • Puffer
  • Rotor
  • Wave
  • Stilllife
  • Reflector
  • Spaceship
  • Oscillator
  • Conduit}}
 Without parameter:{{#input: type = select |name=param|*bx
  • by
  • c
  • dir
  • discoverer
  • discoveryear
  • h
  • l
  • p
  • s
  • animated
  • life105
  • life106
  • plaintext
  • rle
  • synthesis
  • synthesisRLE
  • }}
    {{#input: type = ajax | value = Search | update = search}}

    }}


    Page count

    {{User:Sokwe/Template:pagecount|category=Spaceships|template=Spaceship|param=c|value=5[^0-z]}}

    Extension:DynamicPageList (DPL), version 3.3.3: Warning: Skipping bad option '505' for parameter 'count'.

    1

    This is the number of spaceships:

    Extension:DynamicPageList (DPL), version 3.3.3: Warning: Skipping bad option '505' for parameter 'count'.

    126
    This is the number of spaceships that have a glider synthesis:

    Extension:DynamicPageList (DPL), version 3.3.3: Warning: Skipping bad option '505' for parameter 'count'.

    37

    No results:

    Extension:DynamicPageList (DPL), version 3.3.3: Warning: Skipping bad option '505' for parameter 'count'.

    0

    Number of glider syntheses: 439

    Another (better) method: 735

    oscillator navigator

    {{User:Sokwe/Template:osc_num|p=144}}

    Period 312 - Period 312 - Period 312Expression error: Unexpected < operator.Expression error: Unexpected < operator.

    {{User:Sokwe/Template:osc_num2|p=144}}


    Period 312 - Period 312 Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".