Template:Ambox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
move category code to subtemplate and remove undated
meta>MSGJ
do not transclude doc if doc=no, to prevent template loops
Line 42: Line 42:
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message boxes]]}}
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message boxes]]}}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
  |{{documentation}}<!-- Transclude documentation on template page -->
  |{{#ifeq:{{{doc}}}|no|
  |{{documentation}}<!-- Transclude documentation on template page -->
}}
}}<noinclude>
}}<noinclude>



Revision as of 15:24, 15 March 2011

Template:Ambox/coreTemplate:Cat handler