Jump to content

Template:Default: Difference between revisions

From Joepedia
Created page with "<includeonly>{{#if:{{{1|}}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude> == Examples == <code><nowiki>{{Default||Not Given}}</nowiki></code> {{Default||Not Given}} <code><nowiki>{{Default|Given|Not Given}}</nowiki></code> {{Default|Given|Not Given}} == Template Data == <templatedata>{ "params": { "1": { "label": "Value", "description": "The potential empty value to display.", "type": "content", "required": true }, "2": { "label": "Default", "des..."
 
No edit summary
Line 3: Line 3:


<code><nowiki>{{Default||Not Given}}</nowiki></code>
<code><nowiki>{{Default||Not Given}}</nowiki></code>
{{Default||Not Given}}
{{Default||Not Given}}


<code><nowiki>{{Default|Given|Not Given}}</nowiki></code>
<code><nowiki>{{Default|Given|Not Given}}</nowiki></code>
{{Default|Given|Not Given}}
{{Default|Given|Not Given}}



Revision as of 15:46, 3 March 2025

Examples

{{Default||Not Given}}

Not Given

{{Default|Given|Not Given}}

Given

Template Data

Adds to the featuring category for the given thing, generally used as a part of other templates.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Value1

The potential empty value to display.

Contentrequired
Default2

The default value to use if the main value is empty.

Contentrequired