Template:Update span/doc: Difference between revisions

From CAPipedia
en>Tom.Reding
m →‎top: {{High-use}}
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:10, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

Usage

Markup Renders as
{{Update span|date=January 2025}}
{{Update span|?=yes|date=January 2025}}
{{Update span|reason=But they never mentioned it again...|date=January 2025}}
{{Update span|reason=Does this still hold after so many years?|?=yes|date=January 2025}}

Example

Input:

  • {{Update span|Lorem ipsum dolor sit amet.|reason=But they never mentioned it again...|date=January 2025}}

Result:

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Update span in articles based on its TemplateData.

TemplateData for Update span

<TemplateData> {

       "description": "This template should only be added to indicate a sentence that needs to be updated based on recent events.",
       "params": {

"text": { "aliases": [ "1" ],

                       "label": "Text",

"description": "The text needing update", "type": "content",

                       "suggested": true

},

               "date": {
                       "label": "Month and year",
                       "description": "The date this template was added to the page",
                       "type": "string",
                       "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",

"example": "January 2013",

                       "suggested": true
               },
               "reason": {
                       "label": "Reason",
                       "description": "Brief explanation of the reason why this template is placed, e.g. the event that renders accuracy of the claim questionable",
                       "default": "The date of the event predicted near this tag has passed.",
                       "type": "string",
                       "required": false
               },
               "?": {
                       "label": "?",
                       "description": "Adds '?' to the end of template text and changes wording of caption to denote uncertainty. (Input: anything)",
                       "type": "string",

"autovalue": "yes", "example": "yes",

                       "required": false
               }
       }

} </TemplateData>

See also