Difference between revisions of "Template:Importance inline/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Mdaniels5757
(improve docs)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Improve documentation|date=August 2017}}
+
{{Nosubst}}
  
An inline variant of {{Tlx|Importance section}}.
+
== Usage ==
 +
{{Tlx|Importance inline}} or {{Tlx|Importance inline|reason{{=}}A good reason}} or {{Tlx|Importance inline|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.
 +
 
 +
== TemplateData ==
 +
{{Format TemplateData|JSON={
 +
"params": {
 +
"reason": {
 +
"type": "string"
 +
},
 +
"date": {
 +
"label": "Month and year",
 +
"type": "string",
 +
"autovalue": "May 2020",
 +
"suggested": true
 +
}
 +
},
 +
"description": "An inline cleanup tag questioning a statement's importance. Variant of \"Importance section\"."
 +
}
 +
}}
  
 
== See also ==
 
== See also ==
Line 16: Line 34:
  
 
[[fr:Modèle:Passage non pertinent|{{PAGENAME}}]]
 
[[fr:Modèle:Passage non pertinent|{{PAGENAME}}]]
}}</includeonly>
+
}}</includeonly>
<templatedata>
 
{
 
"params": {
 
"reason": {
 
"type": "string"
 
},
 
"date": {
 
"label": "Month and year",
 
"type": "string",
 
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 
"suggested": true
 
}
 
},
 
"description": "An inline cleanup tag questioning a statement's importance"
 
}
 
</templatedata>
 

Revision as of 15:21, 4 May 2020

Usage

{{Importance inline}} or {{Importance inline|reason=A good reason}} or {{Importance inline|date=December 2025}}.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Importance inline

An inline cleanup tag questioning a statement's importance. Variant of "Importance section".
ParameterDescriptionTypeStatus
reasonreasonStringoptional
Month and yeardate
Auto value
May 2020
Stringsuggested

See also