Template talk:Table example with optional row
From Meta
| Name | Bob | ||
|---|---|---|---|
| Place of birth | Amsterdam | ||
| Name | Bob | ||
|---|---|---|---|
[edit] help
how do you put a background in this code:
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{!}}'''Gender'''
{{!}}{{{gender}}}
{{!}}-
}}
i'd like colspan="2" style="font-size:125%;text-align:center; background:#95fa97;-moz-border-radius:20px;" to be in there plz. —unsigned by 24.109.218.172 22:52, 18 June 2007.
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{!}}'''Gender'''
{{!}} colspan="2" style="..."{{!}} {{{gender}}}
{{!}}-
}}
- Alternatively, use HTML <table> syntax, so you don't need to use the {{!}} workaround. —{admin} Pathoschild 23:48:56, 18 June 2007 (UTC)

