Template:Recommendations: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
Tag: Undo |
||
(16 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"> 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"> | <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"> No guides are using this mod</span><br /><br />}}<div class="listtable">{{Special:Prefixindex|prefix={{#replace:{{FULLPAGENAME}}|&|<nowiki>&</nowiki>}}/|hideredirects=1|stripprefix=1}}</div></div><span class="hltx">Type a version string using the format indicated by the placeholder text below. </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}} {{#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- | {{#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}} | }} }} | ||
Line 11: | Line 11: | ||
== See Also == | == See Also == | ||
* [[:Template:Mod]] | |||
*[[: | * [[:Template:VersionModRecommendations]] | ||
</noinclude> | </noinclude> |
Revision as of 20:21, May 23, 2023
Purpose & Usage
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