Template:TileCenter: Difference between revisions

centering pics too
(moving align=center so it affects the words, not the pictures)
(centering pics too)
Line 1: Line 1:
<includeonly>{{#if: {{{NICKNAME|}}}
<includeonly>{{#if: {{{NICKNAME|}}}
|{{(!}} cellpadding{{=}}"1" cellspacing{{=}}"0" style{{=}}"font-size:x-small; color: white;"
|{{(!}} cellpadding{{=}}"1" cellspacing{{=}}"0" style{{=}}"font-size:x-small; color: white;"
! style{{=}}"background:{{Color|{{{3}}}}}" {{!}}{{Crewimage|{{{1}}}|{{{2}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}{{Crewimage|{{{1}}}|{{{2}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}
{{!-}}
{{!-}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}''{{{4}}}''<br>{{{NICKNAME}}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}''{{{4}}}''<br>{{{NICKNAME}}}
{{!)}}|{{(!}} cellpadding{{=}}"1" cellspacing{{=}}"0" style{{=}}"font-size:x-small; color: white;"
{{!)}}|{{(!}} cellpadding{{=}}"1" cellspacing{{=}}"0" style{{=}}"font-size:x-small; color: white;"
! style{{=}}"background:{{Color|{{{3}}}}}"{{!}}{{Crewimage|{{{1}}}|{{{2}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}{{Crewimage|{{{1}}}|{{{2}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}}}
{{!-}}
{{!-}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}''{{{4}}}''<br>{{{1}}} {{{2}}}
! style{{=}}"background:{{Color|{{{3}}}}}" align{{=}}center{{!}}''{{{4}}}''<br>{{{1}}} {{{2}}}
{{!)}}}}</includeonly><noinclude>Used in [[Template:Crew]] to create officer tiles.
{{!)}}}}</includeonly><noinclude>Used in [[Template:CharSum]] to create officer tiles.
[[Category:Wiki System Templates]]</noinclude>
[[Category:Wiki System Templates]]</noinclude>
8,273

edits