Template:Alliance Infobox: Difference between revisions
From SoS Ledger
Blanked the page Tags: Blanking Reverted Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Manual revert Reverted Mobile edit Mobile web edit Advanced mobile edit |
||
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 = [[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> | |||
|- | |||
{{#if:{{{image|}}}| | |||
! colspan="2" style="text-align: center;" | {{{image}}} | |||
}} | |||
{{#if:{{{tag|}}}| | |||
|- | |||
! Tag: | |||
| {{{tag}}} | |||
}} | |||
{{#if:{{{leader|}}}| | |||
|- | |||
! Leader: | |||
| {{{leader}}} | |||
}} | |||
{{#if:{{{creation_date|}}}| | |||
|- | |||
! Created: | |||
| {{{creation_date}}} | |||
}} | |||
{{#if:{{{status|}}}| | |||
|- | |||
! Status: | |||
| {{{status}}} | |||
}} | |||
{{#if:{{{server|}}}| | |||
|- | |||
! Server: | |||
| {{{server}}} | |||
}} | |||
{{#if:{{{alliance_ranking|}}}| | |||
|- | |||
! Alliance Ranking: | |||
| {{{alliance_ranking}}} | |||
}} | |||
{{#if:{{{members|}}}| | |||
|- | |||
! Members: | |||
| {{{members}}} | |||
}} | |||
|} | |||
</includeonly> |
Revision as of 16:23, 16 July 2025
This template creates an infobox for Alliance pages. It should be used within a page like this:
{{#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
}} |