Template:Alliance Infobox: Difference between revisions

From SoS Ledger
No edit summary
Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates an infobox for Alliance pages.
It should be used within a page like this:
{{Alliance Infobox
| name = Alliance Name
| tag = [TAG]
| image = Example.png
| leader = Leader Name
| creation_date = YYYY-MM-DD
| status = Active
| state = 1234
| alliance_ranking = Top 10
| members = 50/80
}}</noinclude>
<includeonly>{| class="infobox" style="width: 250px; border: 1px solid #aaa; background-color: #f9f9f9; font-size: 95%; margin: 0 0 0.5em 1em; float: right; clear: right; padding: 0.2em;"
<includeonly>{| class="infobox" style="width: 250px; border: 1px solid #aaa; background-color: #f9f9f9; font-size: 95%; margin: 0 0 0.5em 1em; float: right; clear: right; padding: 0.2em;"
|+ <big>'''{{{name|}}}'''</big>
|+ <big>'''{{{name|}}}'''</big>
{{#if:{{{image|}}}|
| colspan="2" style="text-align: center;"|[[File:{{{image}}}|200px|alt={{{tag}}} Alliance Emblem]]
|-
|-
! colspan="2" style="text-align: center;" | {{{image}}}
}}
{{#if:{{{tag|}}}|
|-
|-
! Tag:
! Tag:
| {{{tag}}}
| {{{tag}}}
}}
|-
{{#if:{{{leader|}}}|
|-
|-
! Leader:
! Leader:
| {{{leader}}}
| [[Player:{{{leader}}}|{{{leader}}}]]
}}
|-
{{#if:{{{creation_date|}}}|
|-
|-
! Created:
! Created:
| {{{creation_date}}}
| {{{creation_date}}}
}}
|-
{{#if:{{{status|}}}|
|-
|-
! Status:
! Status:
| {{{status}}}
| {{{status}}}
}}
{{#if:{{{server|}}}|
|-
|-
! Server:
|-
| {{{server}}}
! State:
}}
| {{{state}}}
{{#if:{{{alliance_ranking|}}}|
|-
|-
|-
! Alliance Ranking:
! Alliance Ranking:
| {{{alliance_ranking}}}
| {{{alliance_ranking}}}
}}
|-
{{#if:{{{members|}}}|
|-
|-
! Members:
! Members:
| {{{members}}}
| {{{members}}}
}}
|-
|}
|}
</includeonly>
</includeonly>
<noinclude>This template creates an infobox for Alliance pages.
It should be used within a page like this:
{{Alliance Infobox
| name = Alliance Name
| tag = [TAG]
| image = [[File:Example.png|200px|alt=Alliance Emblem]]
| leader = [[Player:LeaderName|Display Name]]
| creation_date = YYYY-MM-DD
| status = Active
| server = 1234
| alliance_ranking = Top 10
| members = 50/80
}}</noinclude>

Latest revision as of 10:44, 20 July 2025

This template creates an infobox for Alliance pages. It should be used within a page like this:


Alliance Name
[TAG] Alliance Emblem
Tag: [TAG]
Leader: Leader Name
Created: YYYY-MM-DD
Status: Active
State: 1234
Alliance Ranking: Top 10
Members: 50/80