Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 19: Line 19:
 
<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;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: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>
 
<!--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|}}}|
Line 28: Line 28:
 
<!--{{#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}}} }}
+
{{#set:Factionmembers={{{Members|0}}} }}
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
|}} }}</includeonly>  
 
|}} }}</includeonly>  

Revision as of 23:05, 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. 
}}