Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

General usage and invocation syntax: Difference between revisions

m
TOC to the top where it belongs
imported>FrozenPlum
m (putting things back where they were before un-privating again)
imported>FrozenPlum
m (TOC to the top where it belongs)
Line 1:
{{note|This page is in development, some content may be incorrect, outdated or otherwise misleading.|warn}}
{{DPL manual|section=General usage and invocation syntax}}
{{tocright}}
 
'''DynamicPageList3 (DPL3)''' can be used as a '''parser extension''' (<small><code><nowiki><DPL> .... </DPL></nowiki></code></small>) or as a '''parser function''' (<small><code><nowiki>{{#dpl: .... }}</nowiki></code></small>). There is no general rule which one is better. If in doubt, you may want to use the parser function syntax, as it is more powerful.
 
Line 10:
:* [[Page 2]]
:* [[Another Page]]
 
{{tocright}}
==Parser extension method==
The following example would probably be used directly on an article page, but could also be included as part of a template. Parser extensions define a specific tag (in this case <code><nowiki><DPL></nowiki></code>) and a corresponding end tag (<code><nowiki></DPL></nowiki></code>). '''The text between these tags is handed over to the extension module ''just as it is''.'''
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.