Template:Default: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Displays a given value, or a default if that value is empty.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 15:47, 3 March 2025
Examples
{{Default||Not Given}}
Not Given
{{Default|Given|Not Given}}
Given
Template Data
Displays a given value, or a default if that value is empty.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Value | 1 | The potential empty value to display. | Content | required |
Default | 2 | The default value to use if the main value is empty. | Content | required |