Difference between revisions of "Template:Catgraph"
From FollowTheScore
(One intermediate revision by the same user not shown) | |||
Line 104: | Line 104: | ||
==== {{{name}}} ==== | ==== {{{name}}} ==== | ||
|}} | |}} | ||
− | {{#wgraph:name=Catgraph | + | {{#wgraph:name=Catgraph|svg| |
{{Wgraph defaults}} | {{Wgraph defaults}} | ||
{{#dpl: | {{#dpl: | ||
|debug=1 | |debug=1 | ||
− | |{{#ifeq:{{#DPLvar:namespace1}}|all||{{#if:{{#DPLvar:namespace1}}|{{#ifeq:{{#DPLvar:namespace1}}|main|namespace=|namespace=#DPLvar: | + | |{{#ifeq:{{#DPLvar:namespace1}}|all||{{#if:{{#DPLvar:namespace1}}|{{#ifeq:{{#DPLvar:namespace1}}|main|namespace=|namespace={{#DPLvar:namespace1}}}}}}}} |
|{{#ifeq:{{#DPLvar:category1}}|?||{{#if:{{#DPLvar:category1}}|category={{#DPLvar:category1}}}}}} | |{{#ifeq:{{#DPLvar:category1}}|?||{{#if:{{#DPLvar:category1}}|category={{#DPLvar:category1}}}}}} | ||
|{{#ifeq:{{#DPLvar:uses1}}|?||{{#if:{{#DPLvar:uses1}}|uses=Template:{{#DPLvar:uses1}}}}}} | |{{#ifeq:{{#DPLvar:uses1}}|?||{{#if:{{#DPLvar:uses1}}|uses=Template:{{#DPLvar:uses1}}}}}} |
Latest revision as of 18:54, 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 = }}}}