Difference between revisions of "Template:Factioninfobox"
From Space Engineers Wiki
(removing page from categorization if faction hasn't been updated in a long time.) |
|||
Line 52: | Line 52: | ||
<div style="padding:2px;position:left;width:116px;text-align:right;display:inline-block;">Forums:</div><div style="padding:2px;display:inline-block;width:176px;position:right;">{{{Forums|http://www.spaceengineersgame.com}}}</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;"> </div>|}} | <div style="padding:2px;position:left;width:116px;text-align:right;display:inline-block;">Forums:</div><div style="padding:2px;display:inline-block;width:176px;position:right;">{{{Forums|http://www.spaceengineersgame.com}}}</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;"> </div>|}} | ||
</div></div><!--hide endtag-->}}<includeonly> | </div></div><!--hide endtag-->}}<includeonly> | ||
+ | {{#vardefine:pgurl|{{fullurl:{{FULLPAGENAME}}}}}} | ||
{{#ifexpr: {{#time: U | now - 9 months}} > {{#time: U | {{#show: {{FULLPAGENAME}} | ?Modification date}} }} | {{Notice | Page has gone over 9 months without an edit and has been removed from categorization. Editing this page will restore this page in the automatic listings. If you edited this page recently you can click refresh following this message }} [{{#var:pgurl}}?action=purge Refresh Page] | {{#if: {{{nocat|}}} | | | {{#ifexpr: {{#time: U | now - 9 months}} > {{#time: U | {{#show: {{FULLPAGENAME}} | ?Modification date}} }} | {{Notice | Page has gone over 9 months without an edit and has been removed from categorization. Editing this page will restore this page in the automatic listings. If you edited this page recently you can click refresh following this message }} [{{#var:pgurl}}?action=purge Refresh Page] | {{#if: {{{nocat|}}} | | | ||
{{#ifeq: {{NAMESPACE}} | Faction | [[Category:Faction List]] | {{#ifeq: {{NAMESPACE}} | Faction | [[Category:Faction List]] | ||
Line 72: | Line 73: | ||
{{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}} | {{#ifeq: {{ucfirst: {{lc: {{{RecruitingStatus|no}}} }} }} | Yes | [[Category:Faction Recruiting]] |}} | ||
|}} }} | |}} }} | ||
− | |||
{{#ifexpr: {{#time: U | now - 6 months}} > {{#time: U | {{#show: {{FULLPAGENAME}} | ?Modification date}} }} | {{Notice | Page has gone over 6 months without an edit - please edit this page to automatically remove this notice. If you have edited this page within the last 6 months hit the refresh link below. }} [{{#var:pgurl}}?action=purge Refresh Page] | }} }} | {{#ifexpr: {{#time: U | now - 6 months}} > {{#time: U | {{#show: {{FULLPAGENAME}} | ?Modification date}} }} | {{Notice | Page has gone over 6 months without an edit - please edit this page to automatically remove this notice. If you have edited this page within the last 6 months hit the refresh link below. }} [{{#var:pgurl}}?action=purge Refresh Page] | }} }} | ||
Revision as of 00:53, 12 September 2015
Faction Name
Leaders:
Leader 1
Leader 2
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.