Difference between revisions of "Faction:TheWikiAlliance/Embassy"

From Space Engineers Wiki
Jump to: navigation, search
(Declared Standings)
Line 1: Line 1:
{{embassy
+
{{#ifeq: {{NAMESPACE}} | Faction | {{Factionheader}}
| status = Open
+
<!-- only work in the faction namespace -->
| stance = Friendly
+
{{#ifeq: {{#titleparts: {{FULLPAGENAME}} | | -1 }} | Embassy |
}}
+
<!-- only work in the Embassy page-->
 +
{{#vardefine:factionname|{{#explode:{{#titleparts: {{FULLPAGENAME}} | 1 }}|:|1}}}}
 +
{{#set:faction={{#var:factionname}} }}{{#vardefine:sstance|Neutral}}
 +
{{#switch: {{lc:Friendly}}
 +
| war = {{#vardefine:stance|-2}}{{#vardefine:sstance|War}}
 +
| hostile = {{#vardefine:stance|-1}}{{#vardefine:sstance|Allied}}
 +
| neutral = {{#vardefine:stance|0}}{{#vardefine:sstance|Neutral}}
 +
| friendly = {{#vardefine:stance|1}}{{#vardefine:sstance|Friendly}}
 +
| allied = {{#vardefine:stance|2}}{{#vardefine:sstance|Allied}}
 +
}}{{#set:stance={{#var:stance}}}}
 +
{{#switch: {{lc:Open}}
 +
| open = {{#vardefine:status|Open}}
 +
| closed= {{#vardefine:status|Closed}}
 +
}}{{#set:status={{#var:status}}}}
 +
<div style="position:relative;"><div style="background:#486d82;postion:relative;"><div style="padding:5px;position:relative;width:100%;text-align:center;"><span style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;position:relative;">{{#var:factionname}} Embassy</span></div></div>
 +
<div style="background:#b2d5e8;postion:relative;"><div style="height:1.5em;text-align:center;"><span>Status: {{#var:status}}</span> | <span>Stance</span> <span>{{#var:sstance}}</span></div></div>
 +
</div>
 +
[[Category:Faction Embassy]]
 +
|}} |}}
 
==Declared Standings==
 
==Declared Standings==
 
{{set standing|TheEvilWikiAlliance|Allied}}
 
{{set standing|TheEvilWikiAlliance|Allied}}

Revision as of 04:54, 3 April 2014

Factions page | Home | Standings | Embassy
TheWikiAlliance Embassy
Status: Open

Declared Standings

  • Faction:TheEvilWikiAlliance Allied