More actions
Created page with "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:ScriptInfobox === Usage === This template is the Script infobox for GAIO skills or standalone premium scripts. === Documentation === To use this tem..." |
m Acans moved page Editors:Templates to Help:Templates without leaving a redirect |
||
(9 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The below format for this should be a link to the template in square brackets, not curly brackets. | The below format for this should be a link to the template in square brackets, not curly brackets. | ||
== | == Script_Infobox == | ||
[[Template: | [[Template:Script_Infobox]] | ||
=== Usage === | === Usage === | ||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
{{Template:Script_Infobox | {{Template:Script_Infobox | ||
| icon= | | icon= {{{title|{{PAGENAME}}}}}.png | ||
| 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/ | | 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] | ||
}} | }} | ||
</pre> | </pre> | ||
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 == | |||
[[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. | |||
<pre> | |||
{{Template:Priority-LevelOffSet|skill={{PAGENAME}}}} | |||
</pre> | |||
{{PAGENAME}} 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: | |||
<pre> | |||
{{Template:TargetLevel-TargetLevelOffset}} | |||
</pre> | |||
== 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. | |||
<pre> | |||
{{Template:StandaloneToGAIO|skill=XXX}} | |||
</pre> | |||
Replace XXX with the skill this template is being used for, i.e Fishing |