Template:AllianceTemplate: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name'''
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}}
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{towny|}}}| |display: none;}}" valign="top" | '''Towny Name'''
| style="{{#if:{{{towny|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towny|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nlist|}}}| |display: none;}}" valign="top" | '''/n list'''
| style="{{#if:{{{nlist|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nlist|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{formed|}}}| |display: none;}}" valign="top" | '''Formed'''
| style="{{#if:{{{formed|}}}| |display: none;}}" valign="top" | '''Formed'''
| style="{{#if:{{{formed|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{formed|}}}
| style="{{#if:{{{formed|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{formed|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" valign="top" | '''National Anthem'''
| style="{{#if:{{{headquarters|}}}| |display: none;}}" valign="top" | '''Headquarters'''
| style="{{#if:{{{national_anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{national_anthem|}}}
| style="{{#if:{{{headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headquarters|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto'''
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto'''
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{motto|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{population|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{population|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{chunks|}}}| |display: none;}}" valign="top" | '''Chunks'''
| style="{{#if:{{{chunks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{chunks|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{towns|}}}| |display: none;}}" valign="top" | '''Towns'''
| style="{{#if:{{{towns|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{towns|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{capital_city|}}}| |display: none;}}" valign="top" | '''Capital City'''
| style="{{#if:{{{capital_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{capital_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{largest_city|}}}| |display: none;}}" valign="top" | '''Largest City'''
| style="{{#if:{{{largest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{largest_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" valign="top" | '''Oldest City'''
| style="{{#if:{{{oldest_city|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{oldest_city|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{region|}}}| |display: none;}}" valign="top" | '''Region'''
| style="{{#if:{{{region|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{region|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{language|}}}| |display: none;}}" valign="top" | '''Language(s)'''
| style="{{#if:{{{language|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{language|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{religion|}}}| |display: none;}}" valign="top" | '''Religion(s)'''
| style="{{#if:{{{religion|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{religion|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord'''
Line 96: Line 63:
| style="{{#if:{{{allianceType|}}}| |display: none;}}" valign="top" | '''Type'''
| style="{{#if:{{{allianceType|}}}| |display: none;}}" valign="top" | '''Type'''
| style="{{#if:{{{allianceType|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{allianceType|}}}
| style="{{#if:{{{allianceType|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{allianceType|}}}
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Members'''
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{members|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{members|}}}
|-
|-
|}</div>
|}</div>
Line 102: Line 73:
Example Usage:<pre>
Example Usage:<pre>
{{AllianceTemplate
{{AllianceTemplate
|color=Example
|title1=Example
|title1=Example
|image1=Example
|image1=Example
Line 109: Line 79:
|full_name=Example
|full_name=Example
|formed=Example
|formed=Example
|national_anthem=[[File:Example.ogg]]
|headquarters=Example
|motto=Example
|population=Example
|chunks=Example
|towns=Example
|capital_city=Example
|largest_city=Example
|towny=Example
|oldest_city=Example
|formed=Example
|formed=Example
|region=Example
|region=Example
|discord=Example
|discord=Example
|allianceType=Diplomatic|Political|Economic|Military|Humanitarian|Security|Justice|Trade|Scientific and Technological
|allianceType=Diplomatic|Political|Economic|Military|Humanitarian|Security|Justice|Trade|Scientific and Technological
|members=
[[Flag]] Example 1 | Leader
Example 2
Example 3
}}
}}
</pre>
</pre>

Revision as of 17:48, 10 January 2024

{{{title1}}}
{{{image1}}}
Coat of Arms
{{{image2}}}
{{{image3}}}
{{{image4}}}
{{{image5}}}
National Information
Full Name
Formed
Headquarters
Motto
Discord
Alliance Information
Type
Members

Example Usage:

{{AllianceTemplate
|title1=Example
|image1=Example
|image2=Example
|image3=Example
|full_name=Example
|formed=Example
|headquarters=Example
|formed=Example
|region=Example
|discord=Example
|allianceType=Diplomatic|Political|Economic|Military|Humanitarian|Security|Justice|Trade|Scientific and Technological
|members=
[[Flag]] Example 1 | Leader
Example 2
Example 3
}}