Template:Department: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(align center added, the ability to set the text color is added.)
(it's text-align, not align. OK.)
Line 1: Line 1:
<includeonly>{|cellpadding="1" cellspacing="0" style="align: center; font-size:9pt; font-family: Arial, Helvetica, sans-serif; font-weight: normal; color: white; width: 110px; height: 120px; background-color:{{Color|{{{2}}}}};"
<includeonly>{|cellpadding="1" cellspacing="0" style="align: center; font-size:9pt; font-family: Arial, Helvetica, sans-serif; font-weight: normal; color: white; width: 110px; height: 120px; background-color:{{Color|{{{2}}}}};"
|{{#if:{{{NOIMAGE|}}}||[[File:{{#if:{{{4|}}}|{{{4}}}|UFOPgrayseal.png}}|100px|alt={{{3}}}|link={{{1}}}]]}}
|{{#if:{{{4|}}}|[[File:{{{4}}}|100px|alt={{{3}}}|link={{{1}}}]]|}}
|-
|-
| style="background:{{Color|{{{2}}}}}; align: center;"|[[{{{1}}}|<span style="color:{{#if:{{{TEXTCOLOR|}}}|{{{TEXTCOLOR}}}|white}};">{{{3}}}</span>]]
| style="background:{{Color|{{{2}}}}}; text-align: center;"|[[{{{1}}}|<span style="color:{{#if:{{{TEXTCOLOR|}}}|{{{TEXTCOLOR}}}|white}};">{{{3}}}</span>]]
|}</includeonly>
|}</includeonly>

Revision as of 11:02, 3 August 2020