CategoryAssignment

Revision as of 11:02, 8 September 2021 by Registered User

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


3. More examples[edit source]

You type You get
Unknown MPU
{{ApplicableFor/CategoryAssignment | STM32MP0x}}
Unspecified MPU
{{ApplicableFor/CategoryAssignment}}<br>
{{ApplicableFor/CategoryAssignment | }}<br>
{{ApplicableFor/CategoryAssignment | 1=}}



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

BEFOREAFTER
BEFOREAFTER

4. Code[edit source]

Unknown MPU

No categories assignedEdit