Template:Cabal Legion infobox: Difference between revisions

I’d like feedback on the changes I made to try and make it work better. I’m going to make a few examples on Destinypedia:Sandbox
(Removing these as these do not work nor look well on the pages.)
Tags: Manual revert Mobile edit
(I’d like feedback on the changes I made to try and make it work better. I’m going to make a few examples on Destinypedia:Sandbox)
Tag: Mobile edit
Line 50: Line 50:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{ally}}}
{{{ally}}}
}}
|-
{{#switch:{{#if:{{{preceded|}}} | 1}}{{#if:{{{succeeded|}}} | 2}}
| 12 = {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}; text-align: center; line-height: 1.1; padding-left: 5px;" {{!}}
{{#if:{{{preceded|}}}|
'''Preceded by'''
<br>
{{{preceded}}}
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}; text-align:center; line-height: 1.1; padding-right: 5px;" {{!}}
{{#if:{{{succeeded|}}}|
'''Succeeded by'''
<br>
{{{succeeded}}}
}}
| 1 = {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{preceded-title|Preceded by:}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{preceded}}}
| 2 = {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{succeeded-title|Succeeded by:}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{succeeded}}}
}}
}}
|-
|-
3,555

edits