More actions
m →Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
m 1 revision imported |
(No difference)
| |
Latest revision as of 15:24, 23 October 2022
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| {{#invoke:Message box|mbox}}
}}{{#if: |
| {{#ifexist:Template:Component
| [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
{{#invoke:Lua banner|main}} This template extracts a given component from a given item.
Usage[edit]
{{Component|Item|ParameterName}}
Note: If you need to extract multiple components of a large item, consider using {{Format item}} instead of multiple calls to {{Component}}, because each call to {{Component}} requires unpacking of the entire item, which may be costly.
Examples[edit]
{{#invoke:Automarkup|main}}