Difference between revisions of "Template:Process Graph"

From KIproBatt Wiki
Tag: 2017 source edit
m (Text replacement - "Is a" to "IsA")
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
==Graph==
 
==Graph==
 
<!-- Version 1 -->
 
<!-- Version 1 -->
<!-- {{#ask: [[-Has part::{{FULLPAGENAME}}]] OR [[-Has part.-Has part::{{FULLPAGENAME}}]]
+
<!-- {{#ask: [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
 
{{#ifeq: {{{root|true}}}|true|OR [[{{FULLPAGENAME}}]]|}}
 
{{#ifeq: {{{root|true}}}|true|OR [[{{FULLPAGENAME}}]]|}}
  |?Has predecessor
+
  |?HasPredecessor
  |?Has successor
+
  |?HasSuccessor
  |?Has educt
+
  |?HasInput
  |?Has product
+
  |?HasOutput
  |?Has part
+
  |?HasPart
 
  |format=graph
 
  |format=graph
 
  |graphcolor=yes
 
  |graphcolor=yes
Line 18: Line 18:
 
}} -->
 
}} -->
 
<!-- Version 2 -->
 
<!-- Version 2 -->
<!-- {{#compound_query: [[{{FULLPAGENAME}}]] OR [[-Has part::{{FULLPAGENAME}}]] OR [[-Has part.-Has part::{{FULLPAGENAME}}]]
+
<!-- {{#compound_query: [[{{FULLPAGENAME}}]] OR [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
  ;?Has predecessor
+
  ;?HasPredecessor
  ;?Has successor
+
  ;?HasSuccessor
  ;?Is a
+
  ;?IsA
  ;?Has product
+
  ;?HasOutput
  ;?Has part
+
  ;?HasPart
  |[[-Has educt.-Has part::{{FULLPAGENAME}}]] OR [[-Has educt.-Has part.-Has part::{{FULLPAGENAME}}]];
+
  |[[-HasInput.-HasPart::{{FULLPAGENAME}}]] OR [[-HasInput.-HasPart.-HasPart::{{FULLPAGENAME}}]];
  ;?-Has educt=Is educt of (inv)
+
  ;?-HasInput=Is educt of (inv)
 
  |format=graph
 
  |format=graph
 
  |graphcolor=yes
 
  |graphcolor=yes
Line 36: Line 36:
 
}} -->
 
}} -->
 
<!-- Version 2 -->
 
<!-- Version 2 -->
{{#ask: [[has successor.-has part::{{FULLPAGENAME}}]] OR  [[has predecessor.-has part::{{FULLPAGENAME}}]] OR [[has successor.-has part.-has part::{{FULLPAGENAME}}]] OR  [[has predecessor.-has part.-has part::{{FULLPAGENAME}}]]
+
{{#ask: [[-HasPart::{{FULLPAGENAME}}]] OR [[has successor.-HasPart::{{FULLPAGENAME}}]] OR  [[has predecessor.-HasPart::{{FULLPAGENAME}}]] OR [[has successor.-HasPart.-HasPart::{{FULLPAGENAME}}]] OR  [[has predecessor.-HasPart.-HasPart::{{FULLPAGENAME}}]]
 
   |?NOThas label=haslabel
 
   |?NOThas label=haslabel
 
   |?Display title of=haslabel
 
   |?Display title of=haslabel
   |?has OrSuccessor=hasorsuccessor  
+
   |?Has OrSuccessor=hasorsuccessor  
   |?has successor=hassuccessor  
+
   |?HasSuccessor=hassuccessor  
   |?has ConTrueSuccessor=hascontruesuccessor  
+
   |?Has ConTrueSuccessor=hascontruesuccessor  
   |?has ConFalseSuccessor =hasconfalsesuccessor  
+
   |?Has ConFalseSuccessor =hasconfalsesuccessor  
   |?has Condition=hascondition  
+
   |?Has Condition=hascondition  
   |?has role=hasrole  
+
   |?Has role=hasrole  
   |?has educt=usesresource
+
   |?HasInput=usesresource
   |?has product=producesresource
+
   |?HasOutput=producesresource
   |?has status=hasstatus
+
   |?HasStatus=hasstatus
 
   |format=process
 
   |format=process
 
   |graphname={{{graphname|{{#replace:{{SUBPAGENAME}}ProcessGraph|<nowiki> </nowiki>|}}}}}
 
   |graphname={{{graphname|{{#replace:{{SUBPAGENAME}}ProcessGraph|<nowiki> </nowiki>|}}}}}

Latest revision as of 05:49, 4 September 2022

Graph