Jump to content

Template:User rollbacker since/doc

From NicheWork
Code Result
{{User rollbacker since|year=2010|month=8|day=24}}
File:Wikipedia Rollbacker.svgThis user has been a rollbacker for 15 years and 5 months. (verify)
{{User rollbacker since|year=2010|month=8|day=24|format=both|dmy=yes}}
File:Wikipedia Rollbacker.svgThis user has been a rollbacker since 24 August 2010 (15 years and 5 months). (verify)
{{User rollbacker since|year=2010|month=8|day=24|format=for}}
File:Wikipedia Rollbacker.svgThis user has been a rollbacker for 15 years and 5 months. (verify)
{{User rollbacker since|year=2010|month=8|day=24|format=since|mdy=yes}}
File:Wikipedia Rollbacker.svgThis user has been a rollbacker since August 24, 2010. (verify)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

User rollbacker since

[[Category:TemplateData documentation{{#translation:}}]]

<templatedata> { "params": { "year": { "label": "Year", "description": "The year the user became a rollbacker", "example": "2010", "type": "number", "required": true }, "month": { "label": "Month", "description": "The month the user became a rollbacker", "example": "8", "type": "number", "required": true }, "day": { "label": "Day", "description": "The day the user became a rollbacker", "example": "24", "type": "number", "required": true }, "format": { "label": "Userbox format", "description": "The format to be used in the userbox", "example": "both", "type": "string" }, "dmy": { "label": "Day first", "description": "When set to 'yes', the date in the template is output in the DMY format", "example": "yes", "type": "boolean", "autovalue": "no" }, "sc": { "label": "Use serial comma", "description": "Whether or not a serial comma should be used when specifying the time interval", "example": "yes", "type": "boolean", "autovalue": "no" } }, "description": "Add this template to your user page, with the year, month, and day you became a rollbacker.", "paramOrder": [ "year", "month", "day", "format", "dmy", "sc" ] } </templatedata>


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

User rollbacker since

[[Category:TemplateData documentation{{#translation:}}]]

<templatedata> { "params": { "format": { "label": "The format for the userbox displayed", "description": "The format which will be used in the userbox", "example": "both", "type": "string" }, "dmy": { "label": "Whether dmy dates should be used", "description": "Specify any yes value to have the dates in the template in the dmy form", "example": "yes", "type": "boolean", "default": "no" }, "day": {}, "month": {}, "year": {}, "sc": {} } } </templatedata>