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.

Examples/Parameter: execandexit (example 2): Difference between revisions

m
Move side-by-side for blank producing statement to reduce unintended whitespace
imported>FrozenPlum
(Determine a description that fits this example)
imported>FrozenPlum
m (Move side-by-side for blank producing statement to reduce unintended whitespace)
 
Line 8:
Calling the following page with <code>&DPL_cat=Country examples</code> would list countries, omitting the <code>&cat</code> parameter would trigger the error text message (without DPL3 going to the database):
<pre>
{{#dpl:execandexit=geturlargs}}{{#dplvar:set|DPL_cat|Category:Dessert examples}}
{{#dplvar:set|DPL_cat|Category:Dessert examples}}
{{#dpl:
| execandexit = {{#if:{{#dplvar:DPL_cat}}||please specify a category via &DPL_cat= in the URL!}}
Line 20 ⟶ 19:
 
==Result==
{{#dpl:execandexit=geturlargs}}{{#dplvar:set|DPL_cat|Category:Dessert examples}}
{{#dplvar:set|DPL_cat|Category:Dessert examples}}
{{#dpl:
| execandexit = {{#if:{{#dplvar:DPL_cat}}||please specify a category via &DPL_cat= in the URL!}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.