Template:Recommendations: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly> <div class="custom-recommendations">
<includeonly> <div class="custom-recommendations">
==={{Fc|important|Guide/Version-Specific Mod Recommendations}}===
==={{Fc|important|Guide/Version-Specific Mod Recommendations}}===
<div class="recommendation-tables">{{#if:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{FULLPAGENAME}}]]|?Version=|mainlabel=-|link=none}} | {{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{#replace:{{FULLPAGENAME}}|&#38;| }}]]|?Version=Existing Guides|link=none|mainlabel=-|format=table}} {{#arraymap:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{#replace:{{FULLPAGENAME}}|&#38;| }}]]|?Version=|mainlabel=-|link=none}}|,|x|{{#set:Version=x}}|\s}} | <span class="dimtx">&nbsp;&nbsp;No guides are using this mod</span><br /><br />}}<div class="listtable">{{Special:Prefixindex|prefix={{FULLPAGENAME}}/|hideredirects=1|stripprefix=1}}</div></div><span class="hltx">Version-specific Recommendations must use a Version string equal to that of both ModList and Guide!</span>{{#info:Copy/paste the intended guide version from the "Existing Guides" table above (if it exists) into the field below.|note}}{{#info:Editors: Please DO NOT use wiki headings inside of custom Recommendations and also avoid using templates if at all possible! ''Template calls add to the max threshold, and headings mess up the guide ToC.''|warning}}
<div class="recommendation-tables">{{#if:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{FULLPAGENAME}}]]|?Version=|mainlabel=-|link=none}} | {{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{FULLPAGENAME}}]]|?Version=Existing Guides|link=none|mainlabel=-|format=table}} {{#arraymap:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{#replace:{{FULLPAGENAME}}|&#38;| }}]]|?Version=|mainlabel=-|link=none}}|,|x|{{#set:Version=x}}|\s}} | <span class="dimtx">&nbsp;&nbsp;No guides are using this mod</span><br /><br />}}<div class="listtable">{{Special:Prefixindex|prefix={{FULLPAGENAME}}/|hideredirects=1|stripprefix=1}}</div></div><span class="hltx">Version-specific Recommendations must use a Version string equal to that of both ModList and Guide!</span>{{#info:Copy/paste the intended guide version from the "Existing Guides" table above (if it exists) into the field below.|note}}{{#info:Editors: Please DO NOT use wiki headings inside of custom Recommendations and also avoid using templates if at all possible! ''Template calls add to the max threshold, and headings mess up the guide ToC.''|warning}}
{{#forminput:form=VersionModRecommendations|query string=super page={{FULLPAGENAME}}|placeholder=unofficial-myusername-#.#.#}}</div>
{{#forminput:form=VersionModRecommendations|query string=super page={{FULLPAGENAME}}|placeholder=unofficial-myusername-#.#.#}}</div>
==Recommendations==
==Recommendations==

Revision as of 15:10, November 17, 2021


Purpose & Usage[edit source]

This is a core site template that is used on all mod pages to display official STEP recommendations. This template is accessible to wiki editors, but this template page is protected.

See Also[edit source]

None