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 Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit |
||
Line 8: | Line 8: | ||
| creation_date = YYYY-MM-DD | | creation_date = YYYY-MM-DD | ||
| status = Active | | status = Active | ||
| | | state = 1234 | ||
| alliance_ranking = Top 10 | | alliance_ranking = Top 10 | ||
| members = 50/80 | | members = 50/80 | ||
Line 14: | Line 14: | ||
|+ <big>'''{{{name|}}}'''</big> | |+ <big>'''{{{name|}}}'''</big> | ||
|- | |- | ||
{{#if:{{{image|}}| | {{#if:{{{image|}}}| | ||
! colspan="2" style="text-align: center;" | {{image}}} | ! colspan="2" style="text-align: center;" | {{{image}}} | ||
}} | }} | ||
{{#if:{{{tag|}}| | {{#if:{{{tag|}}}| | ||
|- | |- | ||
! Tag: | ! Tag: | ||
| {{tag}}} | | {{{tag}}} | ||
}} | }} | ||
{{#if:{{{leader|}}| | {{#if:{{{leader|}}}| | ||
|- | |- | ||
! Leader: | ! Leader: | ||
| {{leader}}} | | {{{leader}}} | ||
}} | }} | ||
{{#if:{{{creation_date|}}| | {{#if:{{{creation_date|}}}| | ||
|- | |- | ||
! Created: | ! Created: | ||
| {{creation_date}}} | | {{{creation_date}}} | ||
}} | }} | ||
{{#if:{{{status|}}| | {{#if:{{{status|}}}| | ||
|- | |- | ||
! Status: | ! Status: | ||
| {{status}}} | | {{{status}}} | ||
}} | }} | ||
{{#if:{{{state|}}| | {{#if:{{{state|}}}| | ||
|- | |- | ||
! State: | ! State: | ||
| {{state}}} | | {{{state}}} | ||
}} | }} | ||
{{#if:{{{alliance_ranking|}}| | {{#if:{{{alliance_ranking|}}}| | ||
|- | |- | ||
! Alliance Ranking: | ! Alliance Ranking: | ||
| {{alliance_ranking}}} | | {{{alliance_ranking}}} | ||
}} | }} | ||
{{#if:{{{members|}}| | {{#if:{{{members|}}}| | ||
|- | |- | ||
! Members: | ! Members: | ||
| {{members}}} | | {{{members}}} | ||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 12:27, 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| |
State: | 1234
}} {{#if:Top 10| |
Alliance Ranking: | Top 10
}} {{#if:50/80| |
Members: | 50/80
}} |