Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
(Attempting fix for excess formatting on faction image)
 
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--->
{{#if: {{{Image|}}} | [[{{{Image|}}}|center]] |}}
+
{{#if: {{{Image|}}} | {{{Image|}}} |}}
 
<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:#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;">

Latest revision as of 19:27, 15 April 2016

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


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

{{Factioninfobox
| Name = Name of your faction
| Image = Image to insert underneath your faction name (OPTIONAL) note please keep image width to less than 300px. 
| 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 (Valid values, All, Commercial, Pirate, Industrial, Military, Civilian, Science, and Mercenary ) other values are allowed but 
			will not categorize your faction on the main factions page. More than one type is allowed. 
| 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
}}

This template also inserts the Factionheader template into your faction page to provide links back to the main factions page as well as diplomacy pages.