Template:Department: Difference between revisions

align center added, the ability to set the text color is added.
(Let's see how this fails.)
(align center added, the ability to set the text color is added.)
Line 2: Line 2:
|{{#if:{{{NOIMAGE|}}}||[[File:{{#if:{{{4|}}}|{{{4}}}|UFOPgrayseal.png}}|100px|alt={{{3}}}|link={{{1}}}]]}}
|{{#if:{{{NOIMAGE|}}}||[[File:{{#if:{{{4|}}}|{{{4}}}|UFOPgrayseal.png}}|100px|alt={{{3}}}|link={{{1}}}]]}}
|-
|-
| style="background:{{Color|{{{2}}}}};"|[[{{{1}}}|<span style="color:white;">{{{3}}}</span>]]
| style="background:{{Color|{{{2}}}}}; align: center;"|[[{{{1}}}|<span style="color:{{#if:{{{TEXTCOLOR|}}}|{{{TEXTCOLOR}}}|white}};">{{{3}}}</span>]]
|}</includeonly>
|}</includeonly>
7,850

edits