Difference between revisions of "Template:Factioninfobox"
From Space Engineers Wiki
Line 1: | Line 1: | ||
− | {{#if: {{{hide|}}} | | <div style=" | + | {{#if: {{{hide|}}} | | <div style="position:relative;float:right;width:300px;"> |
<!--header--> | <!--header--> | ||
+ | <div style="background:#486d82;position:relative;width:300px;"> | ||
<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---> | ||
− | <div style="background:#9c0c0c;width:290px;margin-left:5px;height:2px;text-align:center;margin-top:5px;position:relative;"> </div> | + | <div style="background:#9c0c0c;width:290px;margin-left:5px;height:2px;text-align:center;margin-top:5px;position:relative;"> </div></div> |
+ | <div style="background:#b2d5e8;"> | ||
<!--leader--> | <!--leader--> | ||
− | <div style="width:290px"><div style="padding:5px;float:left | + | <div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Leader:</div><div style="padding:5px;display:inline-block">{{{Leaders|Leaders}}}</div></div> |
<!--section divider---> | <!--section divider---> | ||
− | + | <div style="background:#659bb7;width:290px;height:1px;text-align:center;margin-left:5px;margin-top:5px;position:relative;"> </div> | |
<!--Faction Type--> | <!--Faction Type--> | ||
− | <div style="width:290px"><div style="padding:5px;float:left | + | <div style="width:290px"><div style="padding:5px;float:left;width:100px;text-align:right;display:inline-block;">Faction Type:</div><div style="padding:5px;display:inline-block">{{ucfirst: {{lc: {{{Type|all}}} }} }}</div></div> |
<!--section divider---> | <!--section divider---> | ||
− | + | <div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;"> </div> | |
<!--Recruiting--> | <!--Recruiting--> | ||
− | <div style="width:290px"><div style="padding:5px;float:left | + | <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> |
{{#if: {{{Website|}}}| | {{#if: {{{Website|}}}| | ||
− | <!--section divider--- | + | <!--section divider---><div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;position:relative;"> </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><!--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}}} }} }}]] |}}--> | ||
Line 25: | Line 26: | ||
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}} | {{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}} | ||
|}} }}</includeonly> | |}} }}</includeonly> | ||
− | <noinclude>Below is a description of the variables used by this template: | + | <noinclude> |
+ | |||
+ | |||
+ | Below is a description of the variables used by this template: | ||
<pre> | <pre> | ||
{{Factioninfobox | {{Factioninfobox |
Revision as of 22:54, 23 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 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 | 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. }}