Template:OscillatorSearchbox

From LifeWiki
Jump to navigation Jump to search

This template is now obsolete and should not be used! It is kept here just in case we ever decide to activate it/fix it up in the future. It relies on the SimpleForms extension for MediaWiki, which does not work properly with MediaWiki 1.23 or higher and is no longer maintained.


name = content | value = {{#dpl:{{#ifeq: {{#request:per}} | any | category=Oscillators | categoryregexp={{#ifeq: {{#request:pereq}} | at least | Oscillators_with_period_{{#ifexpr: {{#request:per}} >= 100 | [{{#expr:1+floor({{#request:per}}/100)}}-9][0-9][0-9]{{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/100)}}[{{#expr:1+floor(({{#request:per}}-({{#request:per}} mod 10)-100*floor({{#request:per}}/100))/10)}}-9][0-9]{{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/100)}}{{#expr:floor(({{#request:per}}-({{#request:per}} mod 10)-100*floor({{#request:per}}/100))/10)}}[{{#expr:{{#request:per}} mod 10}}-9] | {{#ifexpr: {{#request:per}} >= 10 | [{{#expr:1+floor({{#request:per}}/10)}}-9][0-9]{{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/10)}}[{{#expr:{{#request:per}} - 10*floor({{#request:per}}/10)}}-9]{{!}}Oscillators_with_period_[1-9][0-9][0-9] | [{{#request:per}}-9]{{!}}Oscillators_with_period_[1-9][0-9] }} }} | {{#ifeq: {{#request:pereq}} | at most | Oscillators_with_period_{{#ifexpr: {{#request:per}} >= 100 | [0-{{#expr:floor({{#request:per}}/100)-1}}][0-9][0-9]{{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/100)}}[0-{{#expr:round((({{#request:per}} mod 100)-({{#request:per}} mod 10))/10)-{{#ifexpr:({{#request:per}} mod 100)-({{#request:per}} mod 10)=0|0|1}} }}][0-{{#ifexpr:({{#request:per}} mod 100)-({{#request:per}} mod 10)=0|0|9}}]{{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/100)}}{{#expr:floor(({{#request:per}}-({{#request:per}} mod 10)-100*floor({{#request:per}}/100))/10)}}[0-{{#expr:{{#request:per}} mod 10}}]{{!}}Oscillators_with_period_[0-9][0-9]{{!}}Oscillators_with_period_[2-9] | {{#ifexpr: {{#request:per}} >= 10 | [0-{{#expr:floor({{#request:per}}/10)-1}}][0-9]${{!}}Oscillators_with_period_{{#expr:floor({{#request:per}}/10)}}[0-{{#expr:{{#request:per}} - 10*floor({{#request:per}}/10)}}]${{!}}Oscillators_with_period_[2-9]$ | [0-{{#request:per}}]$ }} }} | Oscillators_with_period_{{#request:per}}$}}}}}}|{{#ifeq: {{#request:heat}} | any | category=Oscillators | categoryregexp={{#ifeq: {{#request:heateq}} | at least | Oscillators_with_heat_{{#ifexpr: {{#request:heat}} >= 100 | [{{#expr:1+floor({{#request:heat}}/100)}}-9][0-9][0-9]{{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/100)}}[{{#expr:1+floor(({{#request:heat}}-({{#request:heat}} mod 10)-100*floor({{#request:heat}}/100))/10)}}-9][0-9]{{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/100)}}{{#expr:floor(({{#request:heat}}-({{#request:heat}} mod 10)-100*floor({{#request:heat}}/100))/10)}}[{{#expr:{{#request:heat}} mod 10}}-9] | {{#ifexpr: {{#request:heat}} >= 10 | [{{#expr:1+floor({{#request:heat}}/10)}}-9][0-9]{{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/10)}}[{{#expr:{{#request:heat}} - 10*floor({{#request:heat}}/10)}}-9]{{!}}Oscillators_with_heat_[1-9][0-9][0-9] | [{{#request:heat}}-9]{{!}}Oscillators_with_heat_[1-9][0-9] }} }} | {{#ifeq: {{#request:heateq}} | at most | Oscillators_with_heat_{{#ifexpr: {{#request:heat}} >= 100 | [0-{{#expr:floor({{#request:heat}}/100)-1}}][0-9][0-9]{{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/100)}}[0-{{#expr:round((({{#request:heat}} mod 100)-({{#request:heat}} mod 10))/10)-{{#ifexpr:({{#request:heat}} mod 100)-({{#request:heat}} mod 10)=0|0|1}} }}][0-{{#ifexpr:({{#request:heat}} mod 100)-({{#request:heat}} mod 10)=0|0|9}}]{{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/100)}}{{#expr:floor(({{#request:heat}}-({{#request:heat}} mod 10)-100*floor({{#request:heat}}/100))/10)}}[0-{{#expr:{{#request:heat}} mod 10}}]{{!}}Oscillators_with_heat_[0-9][0-9]{{!}}Oscillators_with_heat_[2-9] | {{#ifexpr: {{#request:heat}} >= 10 | [0-{{#expr:floor({{#request:heat}}/10)-1}}][0-9]${{!}}Oscillators_with_heat_{{#expr:floor({{#request:heat}}/10)}}[0-{{#expr:{{#request:heat}} - 10*floor({{#request:heat}}/10)}}]${{!}}Oscillators_with_heat_[2-9]$ | [0-{{#request:heat}}]$ }} }} | Oscillators_with_heat_{{#request:heat}}$}}}}}}|include = {Oscillator}:p:h:c,{Oscillator} dpl|table=,Oscillator,[[Period]],[[Heat]],Minimum # of [[cell]]s,[[Bounding box]]|ordermethod = titlewithoutnamespace|titlemaxlength=35|resultsheader=<h2>Oscillators with {{#ifeq: {{#request:per}} | any | any period | period {{#request:pereq}} {{#request:per}}}} and {{#ifeq: {{#request:heat}} | any | any heat | heat {{#request:heateq}} {{#request:heat}}}}</h2>The following %PAGES% oscillators were found matching the given criteria.\n| oneresultheader = <h2>Oscillators with {{#ifeq: {{#request:per}} | any | any period | period {{#request:pereq}} {{#request:per}}}} and {{#ifeq: {{#request:heat}} | any | any heat | heat {{#request:heateq}} {{#request:heat}}}}</h2>The following oscillator was the only one found matching the given criteria.\n| noresultsheader = <h2>Oscillators with {{#ifeq: {{#request:per}} | any | any period | period {{#request:pereq}} {{#request:per}}}} and {{#ifeq: {{#request:heat}} | any | any heat | heat {{#request:heateq}} {{#request:heat}}}}</h2>No oscillators were found matching the given criteria.}}}}
List oscillators with... 
Period: {{#input: type = select | value = at least | name = pereq |
  • at least
  • equal to
  • at most }}
{{#input: type = select | value = | name = per | *any
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 117
  • 119
  • 120
  • 124
  • 126
  • 127
  • 128
  • 129
  • 130
  • 132
  • 135
  • 138
  • 140
  • 143
  • 144
  • 146
  • 148
  • 150
  • 156
  • 165
  • 166
  • 168
  • 177
  • 184
  • 186
  • 192
  • 196
  • 199
  • 200
  • 217
  • 220
  • 225
  • 226
  • 231
  • 246
  • 256
  • 275
  • 276
  • 280
  • 312
  • 325
  • 384
  • 470
  • 486
  • 550
  • 576
  • 2700
  • 15240
  • 40894 }}
  Heat: {{#input: type = select | value = at least | name = heateq |
  • at least
  • equal to
  • at most }}
{{#input: type = select | value = | name = heat | *any
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 76
  • 78
  • 80
  • 82
  • 83
  • 84
  • 86
  • 87
  • 89
  • 90
  • 91
  • 92
  • 94
  • 96
  • between 100 and 109
  • between 110 and 119
  • between 120 and 129
  • between 130 and 139
  • between 140 and 149
  • between 150 and 159
  • between 160 and 169
  • between 170 and 179
  • between 180 and 189
  • between 190 and 199
  • between 200 and 299
  • between 300 and 399
  • between 400 and 499
  • between 500 and 599
  • between 700 and 799
  • between 800 and 899
  • between 1,000 and 9,999 }}
{{#input: type = ajax | value = Show oscillators | update = mw-pages }}

}}