Template:Infobox: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
en>Primefac
(make it a template other)
en>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)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|[[Category:Infobox templates|{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|{{remove first word|{{SUBPAGENAME}}}}|{{SUBPAGENAME}}}}]]|}}</includeonly><noinclude>
{{#invoke:Infobox|infobox}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|{{#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. -->

Revision as of 22:55, 22 May 2018