CategoryAssignment

Revision as of 17:15, 19 May 2021 by Registered User

le

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 defined 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}}

le STM32MP13x lines
le STM32MP15x lines

3. More examples[edit source]

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

leUnknown MPU

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

leUnknown MPU
leUnknown MPU
leUnknown MPU

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

BEFOREle STM32MP13x linesAFTER
BEFOREleUnknown MPUAFTER

4. Code[edit source]

Unknown MPU