Examples/Module: dplvar (example 2)

From DynamicPageList3 Manual
Revision as of 00:07, 11 April 2023 by imported>FrozenPlum (Created page with "<noinclude>{{noedit}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This sets <pre> {{#dplvar:set|a|x|b|y|c|<!--empty-->}} {{#dplvar:default|a|aaaa}} {{#dplvar:default|c|cccc}} {{#dplvar:default|d|dddd}} * a: {{#dplvar:a}} * b: {{#dplvar:b}} * c: {{#dplvar:c}} * d: {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This sets

{{#dplvar:set|a|x|b|y|c|<!--empty-->}} {{#dplvar:default|a|aaaa}} {{#dplvar:default|c|cccc}} {{#dplvar:default|d|dddd}}

* a: {{#dplvar:a}}
* b: {{#dplvar:b}}
* c: {{#dplvar:c}}
* d: {{#dplvar:d}}

Result

{{#dplvar:set|a|x|b|y|c|}} {{#dplvar:default|a|aaaa}} {{#dplvar:default|c|cccc}} {{#dplvar:default|d|dddd}}

  • a: {{#dplvar:a}}
  • b: {{#dplvar:b}}
  • c: {{#dplvar:c}}
  • d: {{#dplvar:d}}