Difference between revisions of "Test"
From Organic Design wiki
m |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{pdf}} |
− | * | + | This is an example which shows how to use the [[MW:Extension:Pdf Book|Pdf Book extension]] to generate a book from the results of a [[MW:DPL|DPL query]]. The results of the query are the list of articles below which will be used by Pdf Book in constructing the output, the query used to generate this list is as follows: |
− | * | + | <pre> |
− | [[Category: | + | {{#dpl:titleregexp=\.php$|category=Extensions|format=,\n*[[%NAMESPACE%:%TITLE%]],,}} |
+ | </pre> | ||
+ | The ''format'' parameter is required because Pdf Book uses only title-links which are part of wikitext bullet lists in the page as its content for generating the book, but the DPL extension by default returns its results as HTML bullet list format, not wikitext. | ||
+ | |||
+ | {{#dpl:titleregexp=\.php$|category=Extensions|format=,\n*[[%NAMESPACE%:%TITLE%]],,}} | ||
+ | [[Category:Examples]] |
Revision as of 22:08, 12 October 2011
This is an example which shows how to use the Pdf Book extension to generate a book from the results of a DPL query. The results of the query are the list of articles below which will be used by Pdf Book in constructing the output, the query used to generate this list is as follows:
{{#dpl:titleregexp=\.php$|category=Extensions|format=,\n*[[%NAMESPACE%:%TITLE%]],,}}
The format parameter is required because Pdf Book uses only title-links which are part of wikitext bullet lists in the page as its content for generating the book, but the DPL extension by default returns its results as HTML bullet list format, not wikitext.