Template talk:Table example with optional row

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

help[edit]

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)