Vorlage:Ambox: Unterschied zwischen den Versionen

add talk page link functionality, as proposed on talk page
imported>MSGJ
(do not automatically transclude documentation, per discussion)
imported>MSGJ
(add talk page link functionality, as proposed on talk page)
Zeile 30: Zeile 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>
   }}
   }}
  }}
  }}
Anonymer Benutzer