Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 9: Line 9:
 
<div style=""><div style="background:#659bb7;width:290px;height:1px;text-align:center;margin-left:5px;margin-top:5px;position:relative;">&nbsp;</div></div>
 
<div style=""><div style="background:#659bb7;width:290px;height:1px;text-align:center;margin-left:5px;margin-top:5px;position:relative;">&nbsp;</div></div>
 
<!--Faction Type-->
 
<!--Faction Type-->
<div style="width:290px"><div style="padding:5px;float:left;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;width:100px;text-align:right;display:inline-block;">Faction Type:</div><div style="padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;display:inline-block">{{{Type|All}}}</div></div>
+
<div style="width:290px"><div style="padding:5px;float:left;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;width:100px;text-align:right;display:inline-block;">Faction Type:</div><div style="padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;display:inline-block">{{ucfirst: {{lc: {{{Type|all}}} }} }}</div></div>
 
<!--section divider--->
 
<!--section divider--->
 
<div style=""><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div></div>
 
<div style=""><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div></div>
 
<!--Recruiting-->
 
<!--Recruiting-->
<div style="width:290px"><div style="padding:5px;float:left;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;width:100px;text-align:right;display:inline-block;">Recruiting:</div><div style="padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;display:inline-block">{{{recruitingstatus|Yes}}}</div></div>
+
<div style="width:290px"><div style="padding:5px;float:left;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;width:100px;text-align:right;display:inline-block;">Recruiting:</div><div style="padding:5px;color:white;font-size:1.2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;display:inline-block">{{ucfirst: {{lc: {{{recruitingstatus|no}}} }} }}</div></div>
{{#if: {{{website|yep}}}|
+
{{#if: {{{website|}}}|
 
<!--section divider--->
 
<!--section divider--->
 
<div style=""><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div></div>
 
<div style=""><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div></div>
Line 20: Line 20:
 
<div style="width:300px;background:white;"><div style="padding:5px;float:left;color:black;font-size:1.2em;font-family:Gotham;width:100px;text-align:right;display:inline-block;">Website:</div><div style="padding:5px;display:inline-block;text-decoration: none;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}} website]</div></div>|}}
 
<div style="width:300px;background:white;"><div style="padding:5px;float:left;color:black;font-size:1.2em;font-family:Gotham;width:100px;text-align:right;display:inline-block;">Website:</div><div style="padding:5px;display:inline-block;text-decoration: none;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}} website]</div></div>|}}
 
</div><includeonly>{{#if:{{{nocat|}}}||{{#ifeq: {{NAMESPACE}} | Faction | [[Category:Player Factions]]
 
</div><includeonly>{{#if:{{{nocat|}}}||{{#ifeq: {{NAMESPACE}} | Faction | [[Category:Player Factions]]
 +
{{#if: {{{Type|}}} | [[[Category: Faction Type - {{ucfirst: {{lc: {{{Type}}} }} }}|}
 +
{{#ifeq: {{ucfirst: {{lc: {{{recruitingstatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
}} |}}</includeonly>
 
}} |}}</includeonly>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 06:41, 19 March 2014

Faction Name
 
Leader:
Leaders
 
Faction Type:
All
 
Recruiting:
No