Template

ItemOrNot: Difference between revisions

(Copied from Mediawiki.org)
 
mNo edit summary
Line 1: Line 1:
{{#if: {{{2|}}} | * {{{1}}}: {{{2|}}} | }}<noinclude>
{{#if: {{{2|}}} | * {{{1}}}: {{{2|}}} | }}
{{documentation|content=
 
<templatedata>
{
"params": {
"1": {
"label": "List item name",
"type": "string",
"required": true
},
"2": {
"description": "List item contents",
"type": "string"
}
},
"description": "Displays list item if second argument is not empty, otherwise nothing",
"format": "block"
}
</templatedata>
 
}}
</noinclude>

Revision as of 12:24, 31 May 2023