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= {{{title|{{PAGENAME}}}}}.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/ {{{title|{{PAGENAME}}}}}] | 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] }}
It's possible to define a title= if required, however if not defined, then it'll just use the page name, i.e GFishing. This means the icon would also be GFishing.png since it fetches the page name, or will be title.png.
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={{PAGENAME}}}}
Templates is fetch the page name which will always be the skill name.
TargetLevel-TargetLevelOffset
Template:TargetLevel-TargetLevelOffset
This is being removed, and instead skill templates will use ifeq statements for gaio=no to display or gaio=yes to hide.
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
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