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|Create Guide-Specific Recommendations}}=== | ==={{Fc|important|Create Guide-Specific Recommendations}}=== | ||
{{#if:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{ROOTPAGENAME}}]]|?Version=|mainlabel=-|link=none}} | {{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{ROOTPAGENAME}}]]|?Version= | <div class="recommendation-tables">{{#if:{{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{ROOTPAGENAME}}]]|?Version=|mainlabel=-|link=none}} | {{#ask:[[Game::{{NAMESPACE}}]][[ModName::{{ROOTPAGENAME}}]]|?Version=Existing Guides|link=none|mainlabel=-|format=table}} | <span class="dimtxt"> No guides are using this mod</span><br /><br />}}{{#if:{{subpages}} | <div class="listtable">{{Special:Prefixindex|prefix={{FULLPAGENAME}}/|hideredirects=1|stripprefix=1}}</div> | <span class="dimtxt">No existing recommendation versions</span><br />}}</div> | ||
{{Fc|instruction|Copy/paste the intended guide version from the table above into the field below.}} | {{Fs|0.85em|{{Fc|instruction|Copy/paste the intended guide version from the "Existing Guides" table above into the field below.<br />If version-specific recommendations exist, another table will also provide links to each for convenience.}} }} | ||
{{#forminput:form=VersionModRecommendations|query string=super page={{FULLPAGENAME}}|placeholder= | {{#forminput:form=VersionModRecommendations|query string=super page={{FULLPAGENAME}}|placeholder=lc guide-name-#.#.#|autocomplete on category=Game Guides}}</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}} | }} }} |
Revision as of 01:04, January 24, 2021
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
None