Hello,
I need a template that receives a parameter, and if it is setted, then show
a table in my page.If not, then nothing shoulb be displayed.
I try to acomplish it like this:
<includeonly>
{{#if:{{{parameter|}}}|
{| style="width: 30%; font-size: 90%; border: 1px solid #aaaaaa;
background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left:
1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2"
|<big>Table Title</big>
|-
| {{{parameter|}}}
|}
|}}
</includeonly>
But when I call my template with
{{template|parameter=}}
my page shows the text "style="width: 30%; font-size: 90%; border: 1px
solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom:
0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;
text-align:left;" ! style="text-align: center; background-color:#ccccff;"
colspan="2" "
Any help please?
many thanks in advance.