Difference between revisions of "Template:Discussion"

(simplify in the consensus poll itself)
 
(make yellow more pale)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="NavHead" style="padding-left:1em; background:#F5E10F;">Discussion</div>
+
{{#switch: {{{1|}}}
<div class="NavContent">
+
| =
{{{1|}}}
+
| "discussion here" =
</div>
+
| #default = <div class="NavHead" style="padding-left:1em; background:#FFFF99;">Discussion</div>
 +
<div class="NavContent">{{{1|}}}</div>
 +
}}<noinclude>
 +
== If there is no discussion ==
 +
<nowiki>{{Discussion|}}</nowiki> and <nowiki>{{Discussion|"discussion here"}}</nowiki>
 +
 
 +
return blank:
 +
 
 +
{{Discussion|}} {{Discussion|"discussion here"}}
 +
 
 +
== If there is discussion ==
 +
 
 +
<nowiki>{{Discussion|Here is the discussion}}</nowiki> returns:
 +
 
 +
{{Discussion|Here is the discussion}}
 +
 
 +
</noinclude>

Latest revision as of 09:55, 19 November 2007

If there is no discussion

{{Discussion|}} and {{Discussion|"discussion here"}}

return blank:


If there is discussion

{{Discussion|Here is the discussion}} returns: