Difference between revisions of "Template:Process Graph"

From KIproBatt Wiki
m (Text replacement - "Has educt" to "HasInput")
m (Text replacement - "Is a" to "IsA")
 
(8 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
 
  |?HasInput
 
  |?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
 
  |[[-HasInput.-HasPart::{{FULLPAGENAME}}]] OR [[-HasInput.-HasPart.-HasPart::{{FULLPAGENAME}}]];
 
  |[[-HasInput.-HasPart::{{FULLPAGENAME}}]] OR [[-HasInput.-HasPart.-HasPart::{{FULLPAGENAME}}]];
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