Difference between revisions of "Template:Catgraph"
From FollowTheScore
Line 1: | Line 1: | ||
''As an example try and select 'DPL Manual' in both category boxes ...''<br> | ''As an example try and select 'DPL Manual' in both category boxes ...''<br> | ||
or select namespace 'main' and 'category', use algorithm 'forcedir' and add "attraction=200" as a manual parameter. | or select namespace 'main' and 'category', use algorithm 'forcedir' and add "attraction=200" as a manual parameter. | ||
− | {{#form: name= demo |action=/dpldemo/index.php| | + | {{#dpl:execandexit=geturlargs}} |
− | {{#input: name= title |type= hidden | value = | + | {{#form: name= demo |method=get |action=/dpldemo/index.php| |
+ | {{#input: name= title |type= hidden | value = Template:Catgraph }} | ||
<table cellpadding=0 cellspacing=0 margins=0> | <table cellpadding=0 cellspacing=0 margins=0> | ||
<tr><td> '''select'''</td><td> '''from'''</td><td> '''to'''</td></tr> | <tr><td> '''select'''</td><td> '''from'''</td><td> '''to'''</td></tr> | ||
<tr bgcolor="#ddddff"> | <tr bgcolor="#ddddff"> | ||
<td align="right"> namespace </td> | <td align="right"> namespace </td> | ||
− | <td> {{#input: name= namespace1 |type= select | value = {{ | + | <td> {{#input: name= namespace1 |type= select | value = {{#DPLvar:namespace1}} | |
*all | *all | ||
*main | *main |
Revision as of 18:37, 19 August 2012
As an example try and select 'DPL Manual' in both category boxes ...
or select namespace 'main' and 'category', use algorithm 'forcedir' and add "attraction=200" as a manual parameter.
{{#form: name= demo |method=get |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = Template:Catgraph }}
select | from | to |
namespace | {{#input: name= namespace1 |type= select | value = |
|
{{#input: name= namespace2 |type= select | value = |
|
category | {{#input: name= category1 | value = |type= select
| *?
|
{{#input: name= category2 | value = |type= select
| *?
|
uses | {{#input: name= uses1 | value = |type= select
| *?
|
{{#input: name= uses2 | value = |type= select
| *?
|
title like | {{#input: name= titlematch1 | value = }} | {{#input: name= titlematch2 | value = }} |
links from | {{#input: name= linksfrom1 | value = }} | {{#input: name= linksfrom2 | value = }} |
links to | {{#input: name= linksto1 | value = }} | {{#input: name= linksto2 | value = }} |
show: namespace {{#input: name= shownamespace
|type= select | value = |
- yes
- no
}}graph {{#input: name= graph
|type= select | value = |
- svg
- png
- wgl
- gdl
}}catlinks {{#input: name= catlinks
|type= select | value = |
- no
- yes
}}{{#input: type = submit | value = create graph }}
reset list layout
layout {{#input: name= layout
|type= select | value = |
- normal
- forcedir
- dfs
- minbackward
- maxdepth
- mindepth
- maxdegree
- maxindegree
- maxoutdegree
- mindegree
- minindegree
- minoutdegree
- tree
}}userparm {{#input: name= userparm | size=80 | value = }}}}