Tags: Reverted Mobile edit Mobile web edit Advanced mobile edit |
Tags: Blanking 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
| |
| }}
| |
|
| |
| == 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;"
| |
| |+ <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>
| |