Template:Ambox: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Infobox>MSGJ
move category code to subtemplate and remove undated
Infobox>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