Difference between revisions of "Template:Ambox"

From ChoralWiki
Jump to navigation Jump to search
(free text)
m
Line 23: Line 23:
 
  |talk = {{#switch:{{{talk|¬}}}
 
  |talk = {{#switch:{{{talk|¬}}}
 
   |¬        = <!-- No talk link used -->
 
   |¬        = <!-- No talk link used -->
   |        = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
+
   |        = {{#ifeq:{{FULLBASEPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
 
   |#default = {{{talk}}}
 
   |#default = {{{talk}}}
 
  }}
 
  }}
Line 30: Line 30:
 
  |date = {{#switch:{{{date|¬}}}
 
  |date = {{#switch:{{{date|¬}}}
 
   |¬        = <!-- No date used -->
 
   |¬        = <!-- No date used -->
   |        = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
   |        = {{#ifeq:{{FULLBASEPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
   |#default = {{{date}}}
 
   |#default = {{{date}}}
 
  }}
 
  }}

Revision as of 19:55, 28 January 2013