Last edited 2 days ago

CategoryAssignment

1. Usage[edit source]

The ApplicableFor/CategoryAssignment template is used to format the applicability infobox that indicates for which microprocessor device(s) a page is applicable. This template is called by the ApplicableFor template

Usage: {{ApplicableFor/CategoryAssignment | <MPU>}}

Where:

  • <MPU> is the mandatory microprocessor device for which the page is applicable. The possible values for this parameter are the allowed values for the Has applicability specified for property. The page is automatically added to the transversal category associated to the microprocessor device (for example, Category:STM32MP15x).

The returned value is a link to the transversal category associated to the microprocessor device for which the page is applicable.

2. Basic examples[edit source]

You type You get
A specific MPU
{{ApplicableFor/CategoryAssignment | STM32MP13x}}<br>
{{ApplicableFor/CategoryAssignment | STM32MP15x}}<br>
{{ApplicableFor/CategoryAssignment | STM32MP21x}}<br>
{{ApplicableFor/CategoryAssignment | STM32MP23x}}<br>
{{ApplicableFor/CategoryAssignment | STM32MP25x}}

STM32MP13x lines
STM32MP15x lines
STM32MP21x lines
STM32MP23x lines
STM32MP25x lines

3. More examples[edit source]

You type You get
Unknown MPU
{{ApplicableFor/CategoryAssignment | STM32MP0x}}

Unknown MPU

Unspecified MPU
{{ApplicableFor/CategoryAssignment}}<br>
{{ApplicableFor/CategoryAssignment | }}<br>
{{ApplicableFor/CategoryAssignment | 1=}}

Unknown MPU
Unknown MPU
Unknown MPU

Check the spaces before and after the text
BEFORE{{ApplicableFor/CategoryAssignment| STM32MP13x}}AFTER<br>
BEFORE{{ApplicableFor/CategoryAssignment | STM32MP1x}}AFTER

BEFORE STM32MP13x linesAFTER
BEFOREUnknown MPUAFTER

4. Code[edit source]

Unknown MPU