Difference between revisions of "Template:Discussion"
(test2) |
(make yellow more pale) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="NavHead" style="padding-left:1em; background:# | + | {{#switch: {{{1|}}} |
+ | | = | ||
+ | | "discussion here" = | ||
+ | | #default = <div class="NavHead" style="padding-left:1em; background:#FFFF99;">Discussion</div> | ||
<div class="NavContent">{{{1|}}}</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:
Discussion
Here is the discussion