Difference between revisions of "Template:Ambox"

From AIE Wiki
Jump to: navigation, search
(do not automatically transclude documentation, per discussion)
(add talk page link functionality, as proposed on talk page)
Line 30: Line 30:
 
   |style      = {{{style|}}}
 
   |style      = {{{style|}}}
 
   |textstyle  = {{{textstyle|}}}
 
   |textstyle  = {{{textstyle|}}}
   |text      = {{{text}}}
+
   |text      = {{{text}}}{{#switch:{{{talk|¬}}}
  |date      = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
+
  |¬        = <!-- No talk link used -->
   |{{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
  |        = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|&#32;More details and relevant discussion can be found on the [[{{TALKPAGENAME}}|talk page]].}}
   |{{{date|}}}
+
   |#default = &#32;More details and relevant discussion can be found on {{#ifeq:{{TALKPAGENAME:{{{talk}}}}}|{{FULLPAGENAME:{{{talk}}}}}
 +
    |[[{{{talk}}}|{{FULLPAGENAME:{{{talk}}}}}]]
 +
    |the [[{{TALKPAGENAME}}#{{{talk}}}|talk page]]
 +
  }}.
 +
  }}{{#switch:{{{date|¬}}}
 +
        = <!-- No date used -->
 +
  |         = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|&#32;<small>''({{CURRENTMONTHNAME}} {{CURRENTYEAR}})''</small>}}
 +
   |#default = &#32;<small>''({{{date}}})''</small>
 
   }}
 
   }}
 
  }}
 
  }}

Revision as of 19:52, 11 June 2012

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