|
|
Line 1: |
Line 1: |
− | <table border cellpadding=5 cellspacing=0 width=100% style=text-align:center>
| + | {{#dpl:category={{#request:cat}}}} |
− | <tr><th>Wikitext</th><th>Rendered link</th><th width=100%>Response</th></tr>
| |
− | <tr>
| |
− | <td><pre style=border:none;background:none;text-align:left;font-size:8pt>
| |
− | {{#input: type = ajax
| |
− | | format = link
| |
− | | update = example1
| |
− | | title = foo
| |
− | | ONE
| |
− | }}
| |
− | </pre></td>
| |
− | <td>{{#input:type=ajax|format=link|update=example1|title=foo|ONE}}</td>
| |
− | <td><div id=example1>''this is a '''div''' with '''id''' set to '''example1'''''</div></td>
| |
− | </tr><tr>
| |
− | <td><pre style=border:none;background:none;text-align:left;font-size:8pt>
| |
− | {{#input: type = ajax
| |
− | | format = link
| |
− | | update = example2
| |
− | | title = no-such-article
| |
− | | TWO
| |
− | }}
| |
− | </pre></td>
| |
− | <td>{{#input:type=ajax|format=link|update=example2|title=no-such-article|TWO}}</td>
| |
− | <td><div id=example2>''this is a '''div''' with '''id''' set to '''example2'''''</div></td>
| |
− | </tr><tr>
| |
− | <td><pre style=border:none;background:none;text-align:left;font-size:8pt>
| |
− | {{#input: type = ajax
| |
− | | format = link
| |
− | | update = example3
| |
− | | content = <nowiki>[[foo]]</nowik1>
| |
− | | THREE
| |
− | }}
| |
− | </pre></td>
| |
− | <td>{{#input:type=ajax|format=link|update=example3|content=<nowiki>[[foo]]</nowiki>|THREE}}</td>
| |
− | <td><div id=example3>''this is a '''div''' with '''id''' set to '''example3'''''</div></td>
| |
− | </tr>
| |
− | </table>
| |
− | | |
− | {{#form:
| |
− | | |
− | {{#input: type = hidden
| |
− | | name = content
| |
− | | value = <nowiki> {{#dpl:category=Cities}} </nowiki>
| |
− | }}
| |
− | | |
− | {{#input: type = select
| |
− | | name = cat
| |
− | | *Select category {{#dpl: namespace = Category | format = ,\n*%TITLE%,, }}
| |
− | }}
| |
− | | |
− | {{#input: type = ajax
| |
− | | value = List members
| |
− | | update = listcat-result
| |
− | }}
| |
− | | |
− | <div id="listcat-result">''No results to display...''</div>
| |
− | }} | |
Revision as of 06:59, 22 October 2007
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:cat}}' for parameter 'category'.
Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants
Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.