User:Anonguy9

From FollowTheScore
Revision as of 06:03, 25 March 2009 by Anonguy9 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cut-and-paste documentation

SIMPLE instructions for everyday usage.

I use DPL for only one thing right now, so I have complete documentation for that one activity.

Displaying notes from pages

Problem to solve:

  • Many pages are tagged with a template.
  • Each page's template-tag also has a note in the form of {{template|my note}}
  • I want to create a list of those pages and their notes.


1. Create your template Template:DynamicPageList-test:

(arbitrary content/functionality)


2. In any article(s), add your template with a parameter:

<code>
(arbitrary content)

{{DynamicPageList-test|hey there!}}
</code>


3. In your list article, add this code:

<code>
{{#dpl:
 |namespace=
 |uses=Template:DynamicPageList-test
 |include={DynamicPageList-test}:1
 |table=,,Text
}}
</code>


Your output will become:

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

NOTE: To avoid cluttering the DPL wiki, I have not created the template nor have I created test pages which use that template. So this example is kindof empty. =)

NOTE2: Consider this DPL use case to be supported. Any questions/comments are welcomed. Edit this page or my discussion page to email me.

Notes / Todo