Difference between revisions of "Template:Ambox"

From AIE Wiki
Jump to: navigation, search
m (link)
(from /sandbox per edit request)
Line 1: Line 1:
 
{{#ifeq:{{{subst}}}|SUBST
 
{{#ifeq:{{{subst}}}|SUBST
 
  |{{#if:{{{name|}}}
 
  |{{#if:{{{name|}}}
   |{{error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
+
   |{{Error|Template {{Tlx|{{{name}}}}} has been incorrectly substituted.}}
 
  }}[[Category:Pages with incorrectly substituted templates]]
 
  }}[[Category:Pages with incorrectly substituted templates]]
 
}}{{#ifeq:{{{small}}}|left
 
}}{{#ifeq:{{{small}}}|left
Line 36: Line 36:
 
   }}
 
   }}
 
  }}
 
  }}
}}{{category handler
+
}}{{Category handler
  |main={{ambox/category
+
  |main={{Ambox/category
 
   |cat={{{cat|{{{category|}}}}}}  
 
   |cat={{{cat|{{{category|}}}}}}  
  |date={{{date|}}}
 
 
   |all={{{all|}}}
 
   |all={{{all|}}}
 +
  |cat2={{{cat2|{{{category2|}}}}}}
 +
  |all2={{{all2|}}}
 +
  |cat3={{{cat3|{{{category3|}}}}}}
 +
  |all3={{{all3|}}}
 +
  |date={{{date|}}}
 
  }}
 
  }}
 
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
 
  |template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
Line 49: Line 53:
 
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
 
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
 
  |{{#ifeq:{{{doc}}}|no|
 
  |{{#ifeq:{{{doc}}}|no|
   |{{documentation}}<!-- Transclude documentation on template page -->
+
   |{{Documentation}}<!-- Transclude documentation on template page -->
 
  }}
 
  }}
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 08:40, 30 December 2011

50px Template documentation[view] [edit] [history] [purge]

This is the {{Ambox}} or Article message box meta-template.

Type preview

See also

50px Message box templates {{ambox}}{{asbox}}{{cmbox}}{{dmbox}}{{fmbox}}{{imbox}}{{ombox}}{{tmbox}}

Other pages:


Language: English