Template:Get ArchitectureRequirement Types
Jump to navigation
Jump to search
This template only serves to find all ArchitectureRequirement Types for a given page - it doesn't print them. It is called with only one parameter page:
{{Get ArchitectureRequirement Types|page=}}
After calling this template, there exist two arrays (using extension ArrayExtension):
- Array "Cats", containing all categories that page is a member of;
- Array "ArchitectureRequirements", containing the types of element that the page is a member of (stripped of the prefix "Architecture Requirement type")
Thus, if page AR.Example is a member of categories FooBar, Architecture Requirement type foo, Architecture Requirement type bar, then
Cats=FooBar,Architecture Requirement type foo,Architecture Requirement type bar
ArchitectureRequirementTypes=foo,bar
After calling this template, you can access the categories and Architecture Requirement Types using the #arrayprint function. An example that creates a pretty, comma delimited list:
{{#arrayprint:ArchitectureRequirementTypes||@ |@ |print=pretty}}