Difference between revisions of "Template:Example needed/doc"

From blackwiki
Jump to navigation Jump to search
imported>Daviddwd
imported>Danski454
(added documentation for date, moved cats)
Line 2: Line 2:
 
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 
===Usage===
 
===Usage===
{{tbullet |Example needed}}
+
*{{tlx |Example needed |date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}&nbsp;→&nbsp;{{Example needed |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{tbullet |Example needed |s}}{{nbsp|3}}(or {{code|{{!}}plural}} or {{code|{{!}}pl}})
+
*{{tlx |Example needed |s |date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}&nbsp;→&nbsp;{{Example needed |s |date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}{{nbsp|3}}(or {{code|{{!}}plural}} or {{code|{{!}}pl}})
 +
 
  
 
===Redirects===
 
===Redirects===
Line 11: Line 12:
  
 
===See also===
 
===See also===
<includeonly>
 
 
{{Inline tags |collapsed}}
 
{{Inline tags |collapsed}}
  
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!------CATEGORIES BELOW THIS LINE, PLEASE:------->
 
[[Category:Inline cleanup templates]]
 
[[Category:Templates needing substitution checking]]
 
 
[[mk:Шаблон:Се бара пример]]
 
}}
 
</includeonly>
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 28: Line 20:
 
"label": "plural",
 
"label": "plural",
 
"example": "s",
 
"example": "s",
"type": "string"
+
"type": "string",
 +
"description": "Specifies whether multiple examples are needed"
 +
},
 +
"date": {
 +
"description": "Provides a month and year for categorisation",
 +
"type": "string",
 +
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 +
"suggested": true
 
}
 
}
 
},
 
},
"description": "Indicates one or more examples are needed"
+
"description": "Indicates one or more examples are needed",
 +
"format": "inline"
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
<includeonly>
 +
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!------CATEGORIES BELOW THIS LINE, PLEASE:------->
 +
[[Category:Inline cleanup templates]]
 +
[[Category:Templates needing substitution checking]]
 +
 +
[[mk:Шаблон:Се бара пример]]
 +
}}
 +
</includeonly>

Revision as of 12:11, 8 December 2018

Usage


Redirects

See also

Indicates one or more examples are needed

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
plural1

Specifies whether multiple examples are needed

Example
s
Stringoptional
Datedate

Provides a month and year for categorisation

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested