Template:Update span/doc

From Pantonian Republic Wiki
Jump to navigation Jump to search

Usage

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

Example

Input:

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

Result:

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this 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