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>Primefac
(no followup in a week, and a lack of other discussion means that while the two of us might not directly be the ones fixing the "wrong usage of infobox" templates, it *is* an option)
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|[[Category:Infobox templates|{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}|{{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>

Revision as of 17:05, 1 June 2018