More actions
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
{{Template:TargetLevel-TargetLevelOffset}} | {{Template:TargetLevel-TargetLevelOffset}} | ||
</pre> | </pre> | ||
== StandaloneToGAIO == | |||
[[Template:Template:StandaloneToGAIO]] | |||
=== Usage === | |||
This template is used on standalone [[Skilling]] pages under the First Header and before the Targetlevel-TargetLevelOffset template. An example can be found at [[GFishing]]. | |||
=== Documentation === | |||
To use this template, include the following code on a page: | |||
The following example is used on the [[GFishing]] page. | |||
<pre> | |||
{{Template:StandaloneToGAIO|skill=XXX}} | |||
</pre> | |||
Replace XXX with the skill this template is being used for, i.e Fishing |
Revision as of 04:22, 6 April 2025
This page contains all (hopefully) the templates being used on the GScripts Wiki along with any documentation on how to use, to ensure a uniform formatting across the whole wiki.
The below format for this should be a link to the template in square brackets, not curly brackets.
Script_Infobox
Usage
This template is the Script infobox for GAIO skills or standalone premium scripts.
Documentation
To use this template, include the following code on a page:
Note that on this page, only Script Inbox will show a box to the right. This is because this infobox has IF statements for everything below, and if there is no value defined, the section will not load.
The following example is used to generate the Script Infobox on the GFishing page.
{{Template:Script_Infobox | icon= GFishing.png | type = [[Free, Premium or Instanced]] | category = [[GAIO, PVM, Wildy, Skilling, Minigames, Miscellaneous]] | forum = The DB Forum Topic URL, example: [https://dreambot.org/forums/index.php?/topic/29148-g-fishing-add-on-auto-restock-integrated-muling-easy-setup-quickstart-supported/ GFishing] | purchase = [https://dreambot.org/forums/index.php?/store/product/811-gaioaccountbuilder/ Monthly - Lifetime] for Scirpts with Monthly & Lifetime pages combined, or the following for scripts with two purchase pages for monthly and lifetime: [https://dreambot.org/forums/index.php?/store/product/740-gfishing/ Monthly] - [https://dreambot.org/forums/index.php?/store/product/739-gfishing-lifetime/ Lifetime] }}
Priority-LevelOffSet
Usage
This template is used on GAIO skill pages under the Settings Header and before the GSkill template. An example can be found at Fishing.
Documentation
To use this template, include the following code on a page:
The following example is used on the Fishing page.
{{Template:Priority-LevelOffSet|skill=XXX}}
Replace XXX with the skill this template is being used for, i.e Fishing
TargetLevel-TargetLevelOffset
Template:TargetLevel-TargetLevelOffset
Usage
This template is used on Skilling pages under the GSkill Header and before the GSkill template. An example can be found at GFishing.
Documentation
To use this template, include the following code on a page:
{{Template:TargetLevel-TargetLevelOffset}}
StandaloneToGAIO
Template:Template:StandaloneToGAIO
Usage
This template is used on standalone Skilling pages under the First Header and before the Targetlevel-TargetLevelOffset template. An example can be found at GFishing.
Documentation
To use this template, include the following code on a page:
The following example is used on the GFishing page.
{{Template:StandaloneToGAIO|skill=XXX}}
Replace XXX with the skill this template is being used for, i.e Fishing