Template:Alliance Infobox: Difference between revisions

From SoS Ledger
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
{| 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;"
<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><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>
|-
|-
Line 41: Line 53:
}}
}}
|}
|}
</includeonly>

Revision as of 12:06, 16 July 2025

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

{{#if:Alliance Emblem|
Alliance Name
Alliance Emblem

}} {{#if:[TAG]|

Tag: [TAG]

}} {{#if:Display Name|

Leader: Display Name

}} {{#if:YYYY-MM-DD|

Created: YYYY-MM-DD

}} {{#if:Active|

Status: Active

}} {{#if:1234|

Server: 1234

}} {{#if:Top 10|

Alliance Ranking: Top 10

}} {{#if:50/80|

Members: 50/80

}}