Difference between revisions of "Template:Factioninfobox"

From Space Engineers Wiki
Jump to: navigation, search
m (figured it out.)
Line 1: Line 1:
<div style="background:#486d82;position:relative;float:right;width:300px;">
+
{{#if: {{{hide|}}} | | <div style="background:#486d82;position:relative;float:right;width:300px;">
 
<!--header-->
 
<!--header-->
 
<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>
Line 19: Line 19:
 
<!--Faction Website-->
 
<!--Faction Website-->
 
<div style="width:300px;background:white;"><div style="padding:5px;float:left;color:black;font-size:1.2em;font-family:Gotham;width:100px;text-align:right;display:inline-block;">Website:</div><div style="padding:5px;display:inline-block;text-decoration: none;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}} website]</div></div>|}}
 
<div style="width:300px;background:white;"><div style="padding:5px;float:left;color:black;font-size:1.2em;font-family:Gotham;width:100px;text-align:right;display:inline-block;">Website:</div><div style="padding:5px;display:inline-block;text-decoration: none;">[{{{Website|http://www.spaceengineersgame.com}}} {{{Name|Faction Name}}} website]</div></div>|}}
</div><includeonly>{{#if: {{{nocat|}}} | |  
+
</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}}} }} }}]] |}}-->
Line 25: Line 25:
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}}
 
|}} }}</includeonly>  
 
|}} }}</includeonly>  
<noinclude>[[Category:Templates]]</noinclude>
+
<noinclude>Below is a description of the variables used by this template:
 +
<pre>
 +
{{Factioninfobox
 +
| Name = Name of your alliance
 +
| Leaders = leaders in your alliance
 +
| Website = website for your alliance, must start with http:// or https://
 +
| Type = Type of your alliance
 +
| RecruitingStatus = Yes/No
 +
| Forumcontact = Rhine
 +
 
 +
| 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.
 +
}}
 +
</pre>[[Category:Templates]]</noinclude>

Revision as of 20:45, 21 March 2014

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

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

{{Factioninfobox
| Name = Name of your alliance
| Leaders = leaders in your alliance
| Website = website for your alliance, must start with http:// or https://
| Type = Type of your alliance
| RecruitingStatus = Yes/No
| Forumcontact = Rhine

| 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. 
}}