Difference between revisions of "User:Arcangelus/Sandbox"
Arcangelus (talk | contribs) (Replaced content with "{{Sandbox}} Creating page. * Do changes here appear on Recent changes? Yes. * Does this apply to sandbox as well? <!--{{:Version/1.4.3901}}--><!-- This sintaxis Transclud...") Tag: Replaced |
Arcangelus (talk | contribs) m |
||
(11 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
subst: | subst: | ||
+ | ---- | ||
+ | https://rimworldwiki.com/index.php?title=Environment | ||
+ | |||
+ | === Naturally generated surfaces === | ||
+ | :{{For|the artificial flooring|Floors#Comparison table{{!}}Floors}} | ||
+ | |||
+ | The function SpeedPercentString is: | ||
+ | 13/(13 + Path cost) | ||
+ | Also uses float points, for some reason. | ||
+ | |||
+ | For setting categories on [[Template:Version Nav]]. Need more testing before replacing:<br/> | ||
+ | <code><nowiki>{{#ifeq:{{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version|{{#invoke:String|match|{{PAGENAME}} |%d+|match=1}}.{{#invoke:String|match| {{PAGENAME}} |%d+|match=2}}]] | [[Category:Console version]] }}</nowiki></code>. This adds specific a category based on the version, but won't work well for the Alphas/Betas. | ||
+ | |||
+ | Current Version:<br/> | ||
+ | <code><nowiki>{{#ifeq: {{#sub:{{#var:pagename}}||8}}|Version/| [[Category:PC version|{{#explode:{{#var:pagename}}|.|-3}}.{{#ifexpr: {{#len:{{#explode:{{#var:pagename}}|.|-2}} }} = 1 | 0 }}{{#explode:{{#var:pagename}}|.|-2}}.{{#explode:{{#var:pagename}}|.|-1}}]]}}{{#ifeq: {{#sub:{{#var:pagename}}||16}}|Console version/|[[Category:Console version]]}}</nowiki></code> | ||
+ | |||
+ | Intermediate Version:<br/> | ||
+ | <code><nowiki>{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version]] | [[Category:Console version]] }}</nowiki></code> This replicates the current effect with less overhead. |
Latest revision as of 21:15, 8 August 2024
Welcome to the RimWorld Wiki sandbox!
This sandbox is where you can experiment and practice working on a wiki page. This page will usually have little or no content. Feel free to add content or to make changes and save them to see the results.
To learn about editing and formatting start here: Help:Contents. Just start with the basics... enter some text, and learn the other pieces as you go.
Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.]
Best wishes!
Creating page.
- Do changes here appear on Recent changes? Yes.
- Does this apply to sandbox as well?
subst:
https://rimworldwiki.com/index.php?title=Environment
Naturally generated surfaces[edit]
- For the artificial flooring, see Floors.
The function SpeedPercentString is:
13/(13 + Path cost)
Also uses float points, for some reason.
For setting categories on Template:Version Nav. Need more testing before replacing:
{{#ifeq:{{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version|{{#invoke:String|match|{{PAGENAME}} |%d+|match=1}}.{{#invoke:String|match| {{PAGENAME}} |%d+|match=2}}]] | [[Category:Console version]] }}
. This adds specific a category based on the version, but won't work well for the Alphas/Betas.
Current Version:
{{#ifeq: {{#sub:{{#var:pagename}}||8}}|Version/| [[Category:PC version|{{#explode:{{#var:pagename}}|.|-3}}.{{#ifexpr: {{#len:{{#explode:{{#var:pagename}}|.|-2}} }} = 1 | 0 }}{{#explode:{{#var:pagename}}|.|-2}}.{{#explode:{{#var:pagename}}|.|-1}}]]}}{{#ifeq: {{#sub:{{#var:pagename}}||16}}|Console version/|[[Category:Console version]]}}
Intermediate Version:
{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 }} | Version | [[Category:PC version]] | [[Category:Console version]] }}
This replicates the current effect with less overhead.