Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Help:Templates: Difference between revisions

Help page
Line 24: Line 24:
| type = [[Free, Premium or Instanced]]
| type = [[Free, Premium or Instanced]]
| category = [[GAIO, PVM, Wildy, Skilling, Minigames, Miscellaneous]]
| 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]
| 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]
| 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]
}}
}}

Revision as of 08:55, 8 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

Template: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/ {{{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]
}}

Priority-LevelOffSet

Template: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: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