Template:Recommendations: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
m (Undo revision 186152 by Z929669 (talk))
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
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::{{FULLPAGENAME}}]]|?Version=Existing Guides|link=none|mainlabel=-|format=table}} {{#arraymap:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{FULLPAGENAME}}]]|?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={{#replace:{{FULLPAGENAME}}|&#38;|<nowiki>&</nowiki>}}/|hideredirects=1|stripprefix=1}}</div></div><span class="hltx">Type a version string using the format indicated below.&nbsp;</span>{{#info:Copy/paste the intended guide version from the "Existing Guides" table above (if it exists) into the field below.|note}}&nbsp;{{#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::{{FULLPAGENAME}}]]|?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={{#replace:{{FULLPAGENAME}}|&#38;|<nowiki>&</nowiki>}}/|hideredirects=1|stripprefix=1}}</div></div><span class="hltx">Type a version string using the format indicated by the placeholder text below.&nbsp;</span>{{#info:Copy/paste the intended guide version from the "Existing Guides" table above (if it exists) into the field below. For unofficial user-created guides, use the format indicated by the placeholder text.|note}}&nbsp;{{#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==
{{#ifeq: {{{enabledetailed|}}} | Yes | {{#set:HasDetails=true}} {{#vardefine:note|{{{detailed}}} }}<!--{{#vardefine:note|[{{canonicalurl:{{FULLPAGENAME}}#Recommendations}} Detailed instructions available]}}--> {{{detailed}}} | {{#set:HasDetails=false}} {{#if: {{{short|}}} | {{#vardefine:note|{{{short}}} }} {{#var:note}} | }} }}
{{#ifeq: {{{enabledetailed|}}} | Yes | {{#set:HasDetails=true}} {{#vardefine:note|{{{detailed}}} }}<!--{{#vardefine:note|[{{canonicalurl:{{FULLPAGENAME}}#Recommendations}} Detailed instructions available]}}--> {{{detailed}}} | {{#set:HasDetails=false}} {{#if: {{{short|}}} | {{#vardefine:note|{{{short}}} }} {{#var:note}} | }} }}

Latest revision as of 20:21, May 23, 2023


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]