Difference between revisions of "Faction:TheWikiAlliance/Embassy"

From Space Engineers Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq: {{NAMESPACE}} | Faction | {{Factionheader}}
+
{{embassy
<!-- only work in the faction namespace -->
+
| status = Open
{{#ifeq: {{#titleparts: {{FULLPAGENAME}} | | -1 }} | Embassy |
+
| stance = Friendly
<!-- 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}}
 +
<!--You can paste as many factions here as you like if you have a specific stance against them
 +
Factions with Allied or War will be listed right next to their faction name as you can see above
 +
-->
 +
 +
 +
<!--Please do not edit this page, it is for example purposes-->

Latest revision as of 07:32, 24 June 2015

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

Declared Standings

  • Faction:TheEvilWikiAlliance Allied