Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
Ezoiar (talk | contribs)
mNo edit summary
Tag: Reverted
Ezoiar (talk | contribs)
mNo edit summary
Tag: Reverted
Line 1: Line 1:
Apologies for the oversight. Let's correct that. Here's the fixed template:
```wiki
<div class="infobox" style="float: right; margin-left: 15px; margin-bottom: 15px; border: 1px solid #aaa; background-color: #f9f9f9;">
<div class="infobox" style="float: right; margin-left: 15px; margin-bottom: 15px; border: 1px solid #aaa; background-color: #f9f9f9;">
{| class="infobox"
{| class="infobox"
Line 30: Line 33:
|-
|-
! colspan="2" style="background-color: #eeeeff; text-align: center;" | Other Attributes
! colspan="2" style="background-color: #eeeeff; text-align: center;" | Other Attributes
{{#if: {{{fourth|}}} |
|-
|-
{{#if: {{{fourth|}}} |
! style="background-color: #f2f2f2; width: 30%;" | Fourth
! style="background-color: #f2f2f2; width: 30%;" | Fourth
| {{{fourth}}}
| {{{fourth}}}
|-
}}
}}
{{#if: {{{fifth|}}} |
{{#if: {{{fifth|}}} |
|-
! style="background-color: #f2f2f2; width: 30%;" | Fifth
! style="background-color: #f2f2f2; width: 30%;" | Fifth
| {{{fifth}}}
| {{{fifth}}}
|-
}}
}}
{{#if: {{{sixth|}}} |
{{#if: {{{sixth|}}} |
|-
! style="background-color: #f2f2f2; width: 30%;" | Sixth
! style="background-color: #f2f2f2; width: 30%;" | Sixth
| {{{sixth}}}
| {{{sixth}}}
|-
}}
}}
|}
|}
</div>
</div>
```
I've adjusted the conditional statements to ensure that the unwanted code is not displayed. This should resolve the issue.

Revision as of 20:33, 26 February 2024

Apologies for the oversight. Let's correct that. Here's the fixed template:

```wiki

[[File:{{{image}}}|210px|alt=]] {{{imagecaption}}}
Unknown
Clan Information
Name Unknown
Position Unknown
Age Unknown
Status Unknown
Home Country Unknown
Other Attributes

-

style="background-color: #f2f2f2; width: 30%;"

-

style="background-color: #f2f2f2; width: 30%;"

-

style="background-color: #f2f2f2; width: 30%;"

```

I've adjusted the conditional statements to ensure that the unwanted code is not displayed. This should resolve the issue.