Template:Department: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(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>

Revision as of 10:59, 3 August 2020