Form:Module questionnaire: Difference between revisions

From CSDMS
Line 154: Line 154:
<tr><td></td><td>{{#input:type=checkbox|name=Other}} Other:</td><td>{{#input:type=text|name=otherprogramlanguage|size=20 }}</td></tr>
<tr><td></td><td>{{#input:type=checkbox|name=Other}} Other:</td><td>{{#input:type=text|name=otherprogramlanguage|size=20 }}</td></tr>


<tr><td>Start year development</td<td>{{#input:name=start_year|type=select|value={{{start_year|}}}|
<tr><td>Start year development</td><td>{{#input:name=start_year|type=select|value={{{start_year|}}}|
*Choose year:
*Choose year:
*1960
*1960
Line 207: Line 207:
}}</td></tr>
}}</td></tr>


<tr><td>Does model development still take place?</td><td>YES?NO</td><td></td></tr>


<tr><td>If above answer is no, provide end year model development:</td><td>{{#input:name=start_year|type=select|value={{{start_year|}}}|
*Choose year:
*1960
*1961
*1962
*1963
*1964
*1965
*1966
*1967
*1968
*1969
*1970
*1971
*1972
*1973
*1974
*1975
*1976
*1977
*1978
*1979
*1980
*1981
*1982
*1983
*1984
*1985
*1986
*1987
*1988
*1989
*1990
*1991
*1992
*1993
*1994
*1995
*1996
*1997
*1998
*1999
*2000
*2001
*2002
*2003
*2004
*2005
*2006
*2007
*2008
}}</td></tr>
<tr><td>To what degree will the model become available:<br><i>More options possible</i></td><td>{{#input:type=checkbox|name=As code}} As code</td><td></td></tr>


<tr><td></td><td>{{#input:type=checkbox|name=As teaching tool}} As teaching tool</td><td></td></tr>


<tr><td></td><td>
<tr><td></td><td>{{#input:type=checkbox|name=As executable}} As executable</td><td></td></tr>
        {{#input:type=submit|value=Submit}}
</td></tr>
}}
</table>


<tr><td></td><td>{{#input:type=checkbox|name=Other}} Other:</td><td>{{#input:type=text|name=otherprogramlanguage|size=20 }}</td></tr>


<tr><td>Current license type:</td><td>{{#input:name=license|type=select|value={{{license|}}}|
*Choose license:
*BSD or MIT X11
*Apache public license
*GPL v.2
*GPL v.3
*LGPL
*MPL
*CPL
*CDDL
*Eclipse public license
*CCAN
*Other
}}<td>Other:</td><td>{{#input:type=text|name=other lisence|size=20 }}</td></tr>




{{#form:  name= demo      |action=/index.php|
<tr><td></td><td>
{{#input: name= title    |type= hidden | value = Special:Call/Catlist }}
        {{#input:type=submit|value=Submit}}
<table cellpadding=0 cellspacing=0 margins=0>
</td></tr>
<tr bgcolor="#ddddff">
<td align="right"> namespace </td>
<td>&nbsp; {{#input: name= namespace |type= select | value = {{{namespace|}}} |
*January
*February
*March
*April
*May
*Image
*User
*DPL
*Wgraph
}}</td>
<td align="right"> but not </td>
<td> &nbsp; {{#input: name= notnamespace |type= select | value = {{{notnamespace|}}} |
*-
*main
*Talk
*Template
*Category
*Image
*User
*DPL
*Wgraph
}}
}}
</td>
</tr>
<tr bgcolor="#ddffff">
<td align="right"> category </td>
<td> &nbsp; {{#input: name= category | value = {{{category|}}} |type= select
                                    | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }}
</td>
<td align="right"> but not </td>
<td> &nbsp; {{#input: name= notcategory | value = {{{notcategory|}}} |type= select
                                        | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }}
</td>
</tr>
<tr bgcolor="#ddffff">
<td align="right"> and category </td>
<td> &nbsp; {{#input: name= category2 | value = {{{category2|}}} |type= select
                                      | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }}
</td>
<td align="right"> and not </td>
<td> &nbsp; {{#input: name= notcategory2 | value = {{{notcategory2|}}} |type= select
                                        | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }}
</td>
</tr>
<tr bgcolor="#ffddff">
<td align="right"> uses </td>
<td> &nbsp; {{#input: name= uses | value = {{{uses|}}} |type= select
                                | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}
</td>
<td align="right"> but not </td>
<td> &nbsp; {{#input: name= notuses | value = {{{notuses|}}} |type= select
                                    | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}
</td>
</tr>
<tr bgcolor="#ffffdd">
<td align="right"> links to </td>
<td> &nbsp; {{#input: name= linksto | value = {{{linksto|}}} }}
</td>
<td align="right"> but not to </td>
<td> &nbsp; {{#input: name= notlinksto | value = {{{notlinksto|}}} }}
</td>
</tr>
<tr bgcolor="#ffeedd">
<td align="right"> created by </td>
<td> &nbsp; {{#input: name= createdby | value = {{{createdby|}}} |type= select
                                      | *? {{#dpl: namespace=User |titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
</td>
<td align="right">&nbsp; modified by </td>
<td> &nbsp; {{#input: name= modifiedby | value = {{{modifiedby|}}} |type= select
                                      | *? {{#dpl: namespace=User | titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }}
</td>
</tr>
<tr bgcolor="#ddeeff">
<td align="right"> last rev. before </td>
<td> &nbsp; {{#input: name= lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}} }}</td>
<td align="right"> first rev. since </td>
<td> &nbsp; {{#input: name= firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}} }}</td>
</tr>
<tr bgcolor="#ddeeff">
<td align="right"> ''all revs.'' before </td>
<td> &nbsp; {{#input: name= allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}} }}</td>
<td align="right"> ''all revs.'' since </td>
<td> &nbsp; {{#input: name= allrevisionssince  | value =  {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}} }}</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 margins=0>
</table>
</table>
show: namespace {{#input: name= shownamespace
  |type= select | value = {{{shownamespace|}}} |
*yes
*no
}}categories {{#input: name= addcategories
  |type= select | value = {{{addcategories|}}} |
*no
*yes
}}visits {{#input: name= addpagecounter
  |type= select | value = {{{addpagecounter|}}} |
*no
*yes
}}size {{#input: name= addpagesize
  |type= select | value = {{{addpagesize|}}} |
*no
*yes
}}user {{#input: name= adduser
  |type= select | value = {{{adduser|}}} |
*no
*yes
}}editdate {{#input: name= addeditdate
  |type= select | value = {{{addeditdate|}}} |
*no
*yes
}}touch date: {{#input: name= addpagetoucheddate
  |type= select | value = {{{addpagetoucheddate|}}} |
*no
*yes
}}
ordermethod: {{#input: name= ordermethod |type= select | value = {{{ordermethod|}}} |
*-
*category,firstedit
*category,lastedit
*category,pagetouched
*category,sortkey
*categoryadd
*counter
*firstedit
*lastedit
*pagetouched
*size
*title
*titlewithoutnamespace
*user,firstedit
*user,lastedit
}}order: {{#input: name= order
  |type= select | value = {{{order|}}} |
*ascending
*descending
}}escapelinks: {{#input: name= escapelinks
  |type= select | value = {{{escapelinks|}}} |
*true
*false
}}randomcount: {{#input: name= randomcount
  |type= select | value = {{{randomcount|}}} |
*-
*1
*3
*5
*10
}}export: {{#input: name= export
  |type= select | value = {{{export|}}} |
*no
*yes
}}
<table cellpadding=0 cellspacing=0 margins=0>
<tr bgcolor="#eeffee">
<td> title(%) {{#input: name= titlematch | value = {{{titlematch|}}} }} columns {{#input: name= columns |type= select | value = {{{columns|}}} |
*3
*1
*2
*3
*4
*5
}}maxrecords {{#input: name= count | value = {{{count|}}} | size = 2
}}offset {{#input: name= offset | value = {{{offset|}}} | size = 2
}} &nbsp; &nbsp; {{#input: type = submit | value = List members }}
&nbsp; <small>[[:Template:Catlist|reset]] &nbsp; [[:Template:Catgraph|graph]]</small>
</td></tr></table>
}}
<!------------------------------------------------------------------------------------------------------------->
<includeonly>
{{#if:{{{name|}}}|
==== {{{name}}} ====
|}}
{{#dpl: resultsheader=<small>%PAGES% members found.<br><hr></small>\n
|noresultsheader=<small>There are no results for your query.<br><hr></small>\n
|oneresultheader=<small>1 member found.<br><hr></small>\n
|{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=|namespace={{{namespace|}}}}}}}}}
|{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}}
|{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}}}}}
|{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}}}}}
|{{#ifeq:{{{category2|}}}|?||{{#if:{{{category2|}}}|category={{{category2|}}}}}}}
|{{#ifeq:{{{notcategory2|}}}|?||{{#if:{{{notcategory2|}}}|notcategory={{{notcategory2|}}}}}}}
|{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}}}}}
|{{#ifeq:{{{notuses|}}}|?||{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}}}}}
|{{#ifeq:{{{createdby|}}}|?||{{#if:{{{createdby|}}}|createdby={{{createdby|}}}}}}}
|{{#ifeq:{{{modifiedby|}}}|?||{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}}}}}
|titlematch={{{titlematch|}}}
|nottitlematch={{{nottitlematch|}}}
|linksto={{{linksto|}}}
|notlinksto={{{notlinksto|}}}
|{{#if:{{{columns|}}}|columns={{{columns|}}}|columns=3}}
|{{#ifeq:{{{export|}}}|yes|columns=1}}
|order={{{order|}}}
|{{#ifeq:{{{ordermethod|}}}|-||ordermethod={{{ordermethod|}}}}}
|escapelinks={{{escapelinks|}}}
|{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}}}
|{{#if:{{{count|}}}|count={{{count|}}}}}
|{{#if:{{{offset|}}}|offset={{{offset|}}}}}
|shownamespace={{{shownamespace|}}}
|addcategories={{{addcategories|}}}
|addpagecounter={{{addpagecounter|}}}
|addpagesize={{{addpagesize|}}}
|addeditdate={{{addeditdate|}}}
|addpagetoucheddate={{{addpagetoucheddate|}}}
|adduser={{{adduser|}}}
|{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}}}
|{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}}}
|{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}}}
|{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}}}
|{{#ifeq:{{{export|}}}|yes|include={export.dpl} }}
|{{#ifeq:{{{export|}}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}}
}}
----
<small><u>Your query used the following parameters</u><br/>
{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=<br>|namespace={{{namespace|}}}<br>}}}}}}<!--
-->{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!--
-->{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}<br>}}}}<!--
-->{{#ifeq:{{{category2|}}}|?||{{#if:{{{category2|}}}|category={{{category2|}}}<br>}}}}<!--
-->{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}<br>}}}}<!--
-->{{#ifeq:{{{notcategory2|}}}|?||{{#if:{{{notcategory2|}}}|notcategory={{{notcategory2|}}}<br>}}}}<!--
-->{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}<br>}}}}<!--
-->{{#ifeq:{{{notuses|}}}|?||{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}<br>}}}}<!--
-->{{#ifeq:{{{createdby|}}}|?||{{#if:{{{createdby|}}}|createdby={{{createdby|}}}<br>}}}}<!--
-->{{#ifeq:{{{modifiedby|}}}|?||{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}<br>}}}}<!--
-->{{#if:{{{titlematch|}}}|titlematch={{{titlematch|}}}<br>}}<!--
-->{{#if:{{{nottitlematch|}}}|nottitlematch={{{nottitlematch|}}}<br>}}<!--
-->{{#if:{{{linksto|}}}|linksto={{{linksto|}}}<br>}}<!--
-->{{#if:{{{notlinksto|}}}|notlinksto={{{notlinksto|}}}<br>}}<!--
-->{{#if:{{{columns|}}}|columns={{{columns|}}}<br>|columns=3<br>}}<!--
-->{{#ifeq:{{{export|}}}|yes|columns=1<br>}}<!--
-->{{#ifeq:{{{order|}}}|ascending||order={{{order|}}}<br>}}<!--
-->{{#ifeq:{{{ordermethod|}}}|-||ordermethod={{{ordermethod|}}}<br>}}<!--
-->{{#ifeq:{{{escapelinks|}}}|true||escapelinks={{{escapelinks|}}}<br>}}<!--
-->{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}<br>}}<!--
-->{{#if:{{{count|}}}|count={{{count|}}}<br>}}<!--
-->{{#if:{{{offset|}}}|offset={{{offset|}}}<br>}}<!--
-->{{#ifeq:{{{shownamespace|}}}|no||shownamespace={{{shownamespace|}}}<br>}}<!--
-->{{#ifeq:{{{addcategories|}}}|no||addcategories={{{addcategories|}}}<br>}}<!--
-->{{#ifeq:{{{addpagecounter|}}}|no||addpagecounter={{{addpagecounter|}}}<br>}}<!--
-->{{#ifeq:{{{addpagesize|}}}|no||addpagesize={{{addpagesize|}}}<br>}}<!--
-->{{#ifeq:{{{addeditdate|}}}|no||addeditdate={{{addeditdate|}}}<br>}}<!--
-->{{#ifeq:{{{addpagetoucheddate}}}|no||addpagetoucheddate={{{addpagetoucheddate|}}}<br>}}<!--
-->{{#ifeq:{{{adduser|}}}|no||adduser={{{adduser|}}}<br>}}<!--
-->{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}<br>}}<!--
-->{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}<br>}}<!--
-->{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}<br>}}<!--
-->{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}<br>}}<!--
--></small><br></includeonly>

Revision as of 18:21, 7 March 2008

Model Questionnaire

STILL WORKING ON THIS (ALBERT)

{{#form:method=POST|



}}
{{#input:type=hidden|name=formmailer}}{{#input:type=hidden|name=title|value=:Organization}}
First Name:{{#input:type=text|name=First name|size=20 }}
Last Name:{{#input:type=text|name=Last name|size=20}} {{#input:name=typecontact|type=select|value=|
  • Type of contact:
  • Technical contact
  • Project manager
  • Model developer
}}
Institute / Organization: {{#input:type=text|name=Institute|size=30}}
Postal address 1:{{#input:type=text|name=Postal address 1|size=30}}
Postal address 2:{{#input:type=text|name=Postal address 2|size=30}}
Town/City: {{#input:type=text|name=Town/City}}
Postal code:{{#input:type=text|name=Postal code|size=15}}
State:{{#input:name=State|type=select|value=|
  • State:
  • NO STATE
  • Alabama
  • Alaska
  • Arizona
  • Arkansas
  • California
  • Colorado
  • Connecticut
  • D.C.
  • Delaware
  • Florida
  • Georgia
  • Hawaii
  • Idaho
  • Illinois
  • Indiana
  • Iowa
  • Kansas
  • Kentucky
  • Louisiana
  • Maine
  • Maryland
  • Massachusetts
  • Michigan
  • Minnesota
  • Mississippi
  • Missouri
  • Montana
  • Nebraska
  • Nevada
  • New Hampshire
  • New Jersey
  • New Mexico
  • New York
  • North Carolina
  • North Dakota
  • Ohio
  • Oklahoma
  • Oregon
  • Pennsylvania
  • Rhode Island
  • South Carolina
  • South Dakota
  • Tennessee
  • Texas
  • Utah
  • Vermont
  • Virginia
  • Washington
  • West Virginia
  • Wisconsin
  • Wyoming
}}
Country:{{#input:type=text|name=Country|size=20}}
Email address:{{#input:type=text|name=Email address|size=30}}
Phone: {{#input:type=text|name=Phone|size=15}}
Fax: {{#input:type=text|name=Fax|size=15}}
2nd developer first name:{{#input:type=text|name=2nd_First name|size=20 }}
2nd developer last name:{{#input:type=text|name=2nd_Last name|size=20}}{{#input:name=typecontact2|type=select|value=|
  • Type of contact:
  • Technical contact
  • Project manager
  • Model developer
}}
3nd developer first name:{{#input:type=text|name=3nd_First name|size=20 }}
3nd developer last name:{{#input:type=text|name=3nd_Last name|size=20}}{{#input:name=typecontact3|type=select|value=|
  • Type of contact:
  • Technical contact
  • Project manager
  • Model developer
}}
Model name:{{#input:type=text|name=modelname|size=20 }}
{{#input:name=modeltype|type=select|value=|
  • Choose a type:
  • Tool
  • Single model
  • Modular model
}}
Model domain:
More options possible
{{#input:type=checkbox|name=terrestrial}} Terrestrial
{{#input:type=checkbox|name=Coastal}} Coastal
{{#input:type=checkbox|name=Marine}} Marine
Model description:
(max 300 characters)
{{#input:type=textarea|name=modeldescription|size=560|rows=5}}
Supported computer platforms:
More options possible
{{#input:type=checkbox|name=UNIX}} Unix
{{#input:type=checkbox|name=Linux}} Linux
{{#input:type=checkbox|name=Mac OS X}} Mac OS X
{{#input:type=checkbox|name=Windows}} Windows
{{#input:type=checkbox|name=Other}} Other:{{#input:type=text|name=otherplatform|size=20 }}
Programming language:
More options possible
{{#input:type=checkbox|name=Fortran77}} Fortran77
{{#input:type=checkbox|name=Fortran90}} Fortran90
{{#input:type=checkbox|name=C}} C
{{#input:type=checkbox|name=C_plus}} C++
{{#input:type=checkbox|name=Python}} Python
{{#input:type=checkbox|name=Java}} Java
{{#input:type=checkbox|name=Idl}} Idl
{{#input:type=checkbox|name=Matlab}} Matlab
{{#input:type=checkbox|name=Other}} Other:{{#input:type=text|name=otherprogramlanguage|size=20 }}
Start year development{{#input:name=start_year|type=select|value=|
  • Choose year:
  • 1960
  • 1961
  • 1962
  • 1963
  • 1964
  • 1965
  • 1966
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • 1974
  • 1975
  • 1976
  • 1977
  • 1978
  • 1979
  • 1980
  • 1981
  • 1982
  • 1983
  • 1984
  • 1985
  • 1986
  • 1987
  • 1988
  • 1989
  • 1990
  • 1991
  • 1992
  • 1993
  • 1994
  • 1995
  • 1996
  • 1997
  • 1998
  • 1999
  • 2000
  • 2001
  • 2002
  • 2003
  • 2004
  • 2005
  • 2006
  • 2007
  • 2008
}}
Does model development still take place?YES?NO
If above answer is no, provide end year model development:{{#input:name=start_year|type=select|value=|
  • Choose year:
  • 1960
  • 1961
  • 1962
  • 1963
  • 1964
  • 1965
  • 1966
  • 1967
  • 1968
  • 1969
  • 1970
  • 1971
  • 1972
  • 1973
  • 1974
  • 1975
  • 1976
  • 1977
  • 1978
  • 1979
  • 1980
  • 1981
  • 1982
  • 1983
  • 1984
  • 1985
  • 1986
  • 1987
  • 1988
  • 1989
  • 1990
  • 1991
  • 1992
  • 1993
  • 1994
  • 1995
  • 1996
  • 1997
  • 1998
  • 1999
  • 2000
  • 2001
  • 2002
  • 2003
  • 2004
  • 2005
  • 2006
  • 2007
  • 2008
}}
To what degree will the model become available:
More options possible
{{#input:type=checkbox|name=As code}} As code
{{#input:type=checkbox|name=As teaching tool}} As teaching tool
{{#input:type=checkbox|name=As executable}} As executable
{{#input:type=checkbox|name=Other}} Other:{{#input:type=text|name=otherprogramlanguage|size=20 }}
Current license type:{{#input:name=license|type=select|value=|
  • Choose license:
  • BSD or MIT X11
  • Apache public license
  • GPL v.2
  • GPL v.3
  • LGPL
  • MPL
  • CPL
  • CDDL
  • Eclipse public license
  • CCAN
  • Other
}}
Other:{{#input:type=text|name=other lisence|size=20 }}
       {{#input:type=submit|value=Submit}}