Template:Infobox: Difference between revisions

Jump to navigation Jump to search
imported>Headbomb
(Undid revision 842469519 by Primefac (talk) that does not behave the same way, test it on say Template:Music_of_sidebar your code categorizes it, the old one didn't)
imported>PineApple1298
m (1 revision imported)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}</includeonly><noinclude>
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 21:07, 27 January 2021