Difference between revisions of "User:Alf63/P1"

From FollowTheScore
Jump to: navigation, search
m
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* http://semeb.com/dpldemo/index.php?title=DPL_Example_012
 
* http://semeb.com/dpldemo/index.php?title=DPL_Example_012
 
* http://semeb.com/dpldemo/index.php?title=DPL_Example_017
 
* http://semeb.com/dpldemo/index.php?title=DPL_Example_017
 +
* http://semeb.com/dpldemo/index.php?title=Includematch#includematch
  
 
DPL: RP of:
 
DPL: RP of:
 +
* First method:
 
{{#dpl:
 
{{#dpl:
 
  |namespace=User
 
  |namespace=User
  |include={User:Alf63/RP}:1
+
  |includematch=/RP\{{!}}P1/s
|includematch=/{{../RP|P1}}/
+
  |format=,,;
  |table=,,RP
 
 
}}
 
}}
 +
* Second method:
 +
{{#dpl:
 +
|namespace=User
 +
|includenotmatch=//
 +
|format=,,;
 +
}}
 +
* Third method:
 +
{{#dpl:
 +
|uses=User:Alf63/RP
 +
|include={User:Alf63/RP}.dpl
 +
|format=,,;
 +
}}
 +
 +
<!--
 +
{{#arraydefine:inx|
 +
  {{#replace:
 +
    {{#dpl:
 +
      |uses=RP
 +
      |include={RP}.dpl2
 +
      |format=,,;
 +
    }}
 +
    |/;$/
 +
    |
 +
  }}
 +
|;}}
 +
-->
 +
<!-- now we have an array where each element has two parts which are separated by °;
 +
    the first part is the parameter value, the second part is the name of the referring wiki page
 +
    we sort the array and then print an indented list where common first elements are shown only once
 +
-->{{#arraysort:inx|asce}}<!--
 +
--><!--{{#arrayprint:inx|<br/>|%%|{{#vardefine:src|{{#replace:%%|/°.*/|}}}} {{#ifeq:{{#var:src}}|{{#var:srcold}}||'''{{#var:src}}'''<br/>}}{{#replace:[[%%]]|/^(\[\[){{#var:src}}°/|&nbsp; &nbsp; &nbsp;\1}}{{#vardefine:srcold|{{#var:src}}}}}}
 +
-->

Latest revision as of 23:42, 17 November 2009

RP of C1

DPL: RP of:

  • First method:
  • Second method:
  • Third method:
User:Alf63/C1;
User:Alf63/C2;

{{#arraysort:inx|asce}}