Examples/Module: dplvar (example 2): Difference between revisions
< Examples
Content deleted Content added
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: {..." |
(No difference)
|
Revision as of 00:07, 11 April 2023
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}}