Difference between revisions of "User:Alf63/P1"
From FollowTheScore
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 | ||
| − | | | + | |includematch=/RP\{{!}}P1/s |
| − | + | |format=,,; | |
| − | | | ||
}} | }} | ||
| + | * 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}}°/| \1}}{{#vardefine:srcold|{{#var:src}}}}}} | ||
| + | --> | ||
Latest revision as of 22:42, 17 November 2009
RP of C1
- 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=Includematch#includematch
DPL: RP of:
- First method:
- Second method:
- Third method:
{{#arraysort:inx|asce}}