Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 4: Line 4:
 
<div style="background:#486d82;padding:5px;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;">{{{Name|Faction Name}}}</span></div>
 
<div style="background:#486d82;padding:5px;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;">{{{Name|Faction Name}}}</span></div>
 
<!--header divider--->
 
<!--header divider--->
<div style="background:#9c0c0c;width:290px;margin-left:5px;height:2px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div></div>
+
<div style="background:#9c0c0c;width:290px;margin-left:5px;height:2px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div></div>
 
<div style="background:#b2d5e8;">
 
<div style="background:#b2d5e8;">
 
<!--leader-->
 
<!--leader-->
<div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Leader:</div><div style="padding:5px;display:inline-block">{{{Leaders|Leaders}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">Leader:</div><div style="padding:2px;display:inline-block;width=196px;position:right;">{{{Leaders|Leaders}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;height:1px;text-align:center;margin-left:5px;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;height:1px;text-align:center;margin-left:5px;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--Faction Type-->
 
<!--Faction Type-->
<div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Faction Type:</div><div style="padding:5px;display:inline-block">{{ucfirst: {{lc: {{{Type|all}}} }} }}</div></div>
+
<div style="width:300px"><div style="padding:2px;float:left;width:96px;text-align:right;display:inline-block;">Faction Type:</div><div style="padding:2px;display:inline-block;width=196px;position:right;">{{ucfirst: {{lc: {{{Type|all}}} }} }}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--Recruiting-->
 
<!--Recruiting-->
<div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Recruiting:</div><div style="padding:5px;display:inline-block">{{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }}</div></div>
+
<div style="width:300px"><div style="padding:2px;float:left;width:96px;text-align:right;display:inline-block;">Recruiting:</div><div style="padding:2px;display:inline-block;width=196px;position:right;">{{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--Members-->
 
<!--Members-->
<div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Members:</div><div style="padding:5px;display:inline-block">{{{Members|0}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;float:left;width:96px;text-align:right;display:inline-block;">Members:</div><div style="padding:2px;display:inline-block;width=196px;position:right;">{{{Members|0}}}</div></div>
 
<!--Custom fields-->
 
<!--Custom fields-->
 
{{#if: {{{CustomRow1|}}}|
 
{{#if: {{{CustomRow1|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:300px"><div style="padding:5px;float:left;width:90px;text-align:right;display:inline-block;">{{{CustomRow1|}}}:</div><div style="padding:5px;display:inline-block;width:190px;position:right;">{{{CustomData1|}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">{{{CustomRow1|}}}:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">{{{CustomData1|}}}</div></div>
 
|}}{{#if: {{{CustomRow2|}}}|
 
|}}{{#if: {{{CustomRow2|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:300px"><div style="padding:5px;float:left;width:90px;text-align:right;display:inline-block;">{{{CustomRow2|}}}:</div><div style="padding:5px;display:inline-block;width:190px;position:right;">{{{CustomData2|0}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">{{{CustomRow2|}}}:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">{{{CustomData2|0}}}</div></div>
 
|}}{{#if: {{{CustomRow3|}}}|
 
|}}{{#if: {{{CustomRow3|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:300px"><div style="padding:5px;float:left;width:90px;text-align:right;display:inline-block;">{{{CustomRow3|}}}:</div><div style="padding:5px;display:inline-block;width:190px;position:right;">{{{CustomData3|0}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">{{{CustomRow3|}}}:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">{{{CustomData3|0}}}</div></div>
 
|}}{{#if: {{{CustomRow4|}}}|
 
|}}{{#if: {{{CustomRow4|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:300px"><div style="padding:5px;float:left;width:90px;text-align:right;display:inline-block;">{{{CustomRow4|}}}:</div><div style="padding:5px;display:inline-block;width:190px;position:right;">{{{CustomData4|0}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">{{{CustomRow4|}}}:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">{{{CustomData4|0}}}</div></div>
 
|}}{{#if: {{{CustomRow5|}}}|
 
|}}{{#if: {{{CustomRow5|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:300px"><div style="padding:5px;float:left;width:90px;text-align:right;display:inline-block;">{{{CustomRow5|}}}:</div><div style="padding:5px;display:inline-block;width:190px;position:right;">{{{CustomData5|0}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">{{{CustomRow5|}}}:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">{{{CustomData5|0}}}</div></div>
 
|}}
 
|}}
<!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
+
<!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
{{#if: {{{Website|}}}|
 
{{#if: {{{Website|}}}|
 
<!--Faction Website-->
 
<!--Faction Website-->
<div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Website:</div><div style="padding:5px;display:inline-block;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}}]</div><!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>|}}
+
<div style="padding:2px;position:left;width:96px;text-align:right;display:inline-block;">Website:</div><div style="padding:2px;display:inline-block;width:196px;position:right;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}}]</div><!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>|}}
 
</div></div><!--hide endtag-->}}<includeonly>{{#if: {{{nocat|}}} | |  
 
</div></div><!--hide endtag-->}}<includeonly>{{#if: {{{nocat|}}} | |  
 
{{#ifeq: {{NAMESPACE}} | Faction | [[Category:Player Factions]]
 
{{#ifeq: {{NAMESPACE}} | Faction | [[Category:Player Factions]]

Revision as of 04:07, 24 March 2014

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


Below is a description of the variables used by this template:

{{Factioninfobox
| Name = Name of your faction
| Leaders = leaders in your faction
| Website = website for your faction, must start with http:// or https://
| Type = Type of your alliance
| RecruitingStatus = Yes/No
| Members = # number of members
| Forumcontact = Forum account name of your faction's contact

<!--Optional-->
| CustomRow1 = Title of custom row
| CustomData1 = Data of custom row
| CustomRow2 = Title of custom row
| CustomData2 = Data of custom row
| CustomRow3 = Title of custom row
| CustomData3 = Data of custom row
| CustomRow4 = Title of custom row
| CustomData4 = Data of custom row
| CustomRow5 = Title of custom row
| CustomData5 = Data of custom row

| nocat = disable automatic templates and properties. 

| hide = Hide this template and only use the autocategory features, do not include this if you want the template to show
}}