Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
(adding a few more options)
Line 45: Line 45:
 
{{#if: {{{Website|}}}|
 
{{#if: {{{Website|}}}|
 
<!--Faction Website-->
 
<!--Faction Website-->
<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 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>|}}{{#if: {{{Steamgroup|}}}|
 +
<!--Steam Group-->
 +
<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;">[{{{Steamgroup|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>|}}{{#if: {{{Forums|}}}|
 +
<!--Steam Group-->
 +
<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;">[{{{Forums|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]]
Line 61: Line 65:
 
| Name = Name of your faction
 
| Name = Name of your faction
 
| Leaders = leaders in your faction
 
| Leaders = leaders in your faction
| Website = website for your faction, must start with http:// or https://
+
| Website = website for your faction, must start with http:// or https:// (OPTIONAL)
 +
| Steamgroup = steam group page  (OPTIONAL)
 +
| Forums = Faction's Forums  (OPTIONAL)
 
| Type = Type of your alliance
 
| Type = Type of your alliance
 
| RecruitingStatus = Yes/No
 
| RecruitingStatus = Yes/No

Revision as of 23:09, 25 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:// (OPTIONAL)
| Steamgroup = steam group page  (OPTIONAL)
| Forums = Faction's Forums  (OPTIONAL)
| 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
}}