Template:Ambox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MSGJ
do not automatically transclude documentation, per discussion
meta>MSGJ
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

Template:Ambox/core