Template:Alliance Infobox: Difference between revisions

From SoS Ledger
No edit summary
Tags: Manual revert Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
<noinclude>This template creates an infobox for Alliance pages.
<noinclude>This template creates an infobox for Alliance pages.
It should be used within a page like this:
It should be used within a page like this:
{{Alliance Infobox
{{Alliance Infobox
| name = Alliance Name
| name = Alliance Name
Line 12: Line 11:
| alliance_ranking = Top 10
| alliance_ranking = Top 10
| members = 50/80
| members = 50/80
}}
}}</noinclude>
 
== Example Result ==
 
{{TemplateSandbox|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;"
<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|}}}|
|-
|-
{{#if:{{{image|}}}|
! colspan="2" style="text-align: center;" | {{{image}}}
! colspan="2" style="text-align: center;" | {{{image}}}
}}
}}

Revision as of 08:47, 17 July 2025

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


Alliance Name {{#if:Alliance Emblem|
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

}}