Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 16: Line 16:
 
<!--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: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>
 +
<!--section divider--->
 +
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
 +
<!--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>
 +
<!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
 
{{#if: {{{Website|}}}|
 
{{#if: {{{Website|}}}|
<!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;">&nbsp;</div>
 
 
<!--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}}} website]</div>|}}
+
<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}}} website]</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></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]]
 
<!--{{#if: {{{Type|}}} | [[Category: Faction Type - {{ucfirst: {{lc: {{{Type}}} }} }}]] |}}-->
 
<!--{{#if: {{{Type|}}} | [[Category: Faction Type - {{ucfirst: {{lc: {{{Type}}} }} }}]] |}}-->
 
{{#set:Recruiting={{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} }}
 
{{#set:Recruiting={{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} }}
 +
{{#set:Factionmembers={{{members|0}}} }}
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
|}} }}</includeonly>  
 
|}} }}</includeonly>  
Line 37: Line 42:
 
| Type = Type of your alliance
 
| Type = Type of your alliance
 
| RecruitingStatus = Yes/No
 
| RecruitingStatus = Yes/No
 +
| Members = # number of members
 
| Forumcontact = Forum account name of your faction's contact
 
| Forumcontact = Forum account name of your faction's contact
  

Revision as of 22:59, 23 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

| hide = Hide this template and only use the autocategory features, do not include this if you want the template to show
| nocat = disable automatic templates and properties. 
}}