Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Size: Difference between revisions

Template page
(Added known issue of leading whitespace)
Tag: 2017 source edit
(Start on param to add page to size category)
Tag: 2017 source edit
Line 21: Line 21:
],
],
"required": true
"required": true
},
"Add Category": {
"label": "Add to size category?",
"description": "If true, this article will be added to the selected size's category",
"type": "boolean"
}
}
},
},

Revision as of 20:02, 8 September 2024

Known issue: This template creates a leading whitespace. Use without adding a whitespace as a workaround, e.g., "This engine is{{Size|LG}} and quite shiny."

Use this template to include a stylized part size string in an article. Requires the Size parameter, selected from a provided list.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SizeSize size

Part size

Suggested values
XS SM MD LG XL 2X
Example
SM, LG, etc.
Stringrequired
Add to size category?Add Category

If true, this article will be added to the selected size's category

Booleanoptional

The part size will appear on the article as per: XS SM MD LG XL 2X


MediaWiki Appliance - Powered by TurnKey Linux