Difference between revisions of "DPL Example 030"

From FollowTheScore
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
pages linking to  {{#input: name=DPL_arg1  | value={{#if:{{#var:target}}|{{#var:target}}|Extension DPL}} }}
 
pages linking to  {{#input: name=DPL_arg1  | value={{#if:{{#var:target}}|{{#var:target}}|Extension DPL}} }}
 
starting with name {{#input: name=DPL_arg2 | value={{#if:{{#var:pattern}}|{{#var:pattern}}|D}} }}
 
starting with name {{#input: name=DPL_arg2 | value={{#if:{{#var:pattern}}|{{#var:pattern}}|D}} }}
and using template {{#input: name=DPL_arg3 | value={{#var:tpl}} }}<br>
+
and using template {{#input: name=DPL_arg3 | value={{#if:{{#var:tpl}}|{{#var:tpl}}|Example}} }}<br>
 
{{#input: type=submit | value=search }}
 
{{#input: type=submit | value=search }}
 
}}<!--
 
}}<!--

Latest revision as of 09:31, 25 June 2009

back to list of examples

Generic Search Dialogue - links and template use

This page demonstrates how easy it is to create a search dialogue. We want to look for pages that link to a given page and use a certain template.

{{#vardefine:target| }}{{#vardefine:pattern| }}{{#vardefine:tpl| }}{{#form: action=/dpldemo/index.php |{{#input: type=hidden | name=title | value=DPL Example 030 }} pages linking to {{#input: name=DPL_arg1 | value={{#var:target}} }} starting with name {{#input: name=DPL_arg2 | value={{#var:pattern}} }} and using template {{#input: name=DPL_arg3 | value={{#var:tpl}} }}
{{#input: type=submit | value=search }}

}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template:' for parameter 'uses'.

execution time: 0.004 sec. (2024/11/27 05:18:01)

Seiten, die auf [[{{#var:target}}]] verweisen die Vorlage {{#var:tpl}} benutzen und mit A beginnen