Difference between revisions of "Template:QuickCat"

From Organic Design wiki
m
m
Line 1: Line 1:
{{#form:
 
{{#input:name=cat|type=select|
 
{{#if:{{{1|}}}|*{{{1}}}|}}
 
{{#if:{{{2|}}}|*{{{2}}}|}}
 
{{#if:{{{3|}}}|*{{{3}}}|}}
 
{{#if:{{{4|}}}|*{{{4}}}|}}
 
{{#if:{{{5|}}}|*{{{5}}}|}}
 
}}{{#input:type=ajax|value=QuickCat|update=catlinks}}
 
{{#input:type=hidden|name=content|value=foobar}}
 
}}
 
 
{{#form:
 
{{#form:
  
 
{{#input: type  = hidden
 
{{#input: type  = hidden
 
| name  = content
 
| name  = content
| value  = <nowiki> {{#dpl:category={{#request:cat}}}} </nowiki>
+
| value  = foo
 
}}
 
}}
  
 
{{#input: type  = select
 
{{#input: type  = select
 
| name  = cat
 
| name  = cat
| *Select category {{#dpl: namespace = Category | mode = userformat | listseparators = ,\n*%TITLE%,, }}
+
|
 +
*foo
 +
*bar
 +
*baz
 
}}
 
}}
  
 
{{#input: type  = ajax
 
{{#input: type  = ajax
| value  = List members
+
| value  = QuickCat
 
| update = catlinks
 
| update = catlinks
 
}}
 
}}
 
}}
 
}}

Revision as of 09:38, 24 July 2007

{{#form:

{{#input: type = hidden | name = content | value = foo }}

{{#input: type = select | name = cat |

  • foo
  • bar
  • baz

}}

{{#input: type = ajax | value = QuickCat | update = catlinks }} }}