Difference between revisions of "Template:Process Graph"

From KIproBatt Wiki
m (Text replacement - "Has successor" to "HasSuccessor")
m (Text replacement - "Is a" to "IsA")
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<!-- {{#ask: [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
 
<!-- {{#ask: [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
 
{{#ifeq: {{{root|true}}}|true|OR [[{{FULLPAGENAME}}]]|}}
 
{{#ifeq: {{{root|true}}}|true|OR [[{{FULLPAGENAME}}]]|}}
  |?Has predecessor
+
  |?HasPredecessor
 
  |?HasSuccessor
 
  |?HasSuccessor
  |?Has educt
+
  |?HasInput
  |?Has product
+
  |?HasOutput
 
  |?HasPart
 
  |?HasPart
 
  |format=graph
 
  |format=graph
Line 19: Line 19:
 
<!-- Version 2 -->
 
<!-- Version 2 -->
 
<!-- {{#compound_query: [[{{FULLPAGENAME}}]] OR [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
 
<!-- {{#compound_query: [[{{FULLPAGENAME}}]] OR [[-HasPart::{{FULLPAGENAME}}]] OR [[-HasPart.-HasPart::{{FULLPAGENAME}}]]
  ;?Has predecessor
+
  ;?HasPredecessor
 
  ;?HasSuccessor
 
  ;?HasSuccessor
  ;?Is a
+
  ;?IsA
  ;?Has product
+
  ;?HasOutput
 
  ;?HasPart
 
  ;?HasPart
  |[[-Has educt.-HasPart::{{FULLPAGENAME}}]] OR [[-Has educt.-HasPart.-HasPart::{{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 part::{{FULLPAGENAME}}]] OR [[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