Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
Infobox>MSGJ do not automatically transclude documentation, per discussion |
Infobox>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|¬}}} | ||
|¬ = <!-- No talk link used --> | |||
|{{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}| More details and relevant discussion can be found on the [[{{TALKPAGENAME}}|talk page]].}} | ||
|{{{date | |#default =  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}}}}}| <small>''({{CURRENTMONTHNAME}} {{CURRENTYEAR}})''</small>}} | |||
|#default =  <small>''({{{date}}})''</small> | |||
}} | }} | ||
}} | }} |