Template:Script: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
m (8 revisions: Krakiipedia Import)
(Added optional parameter for category.)
Line 18: Line 18:
| optional
| optional
| A reason why the script is not compatible with one client or the other.
| A reason why the script is not compatible with one client or the other.
|-
| category
| optional
| Places the script in a gswiki category, such as "Travel scripts". If not selected, uses "Scripts" by default.
|}
|}


Line 49: Line 53:
</table>
</table>


[[Category:Scripts]]
[[Category:{{{category|Scripts}}}]]
</includeonly>
</includeonly>

Revision as of 14:17, 10 December 2015

This template is meant to be included at the top of all script articles to provide clear information about the script. The template has tree arguments:

title required A descriptive title for the script.
author optional The author of the script. Defaults is "Unknown".
compat required The client compatibility of the script. Valid options are "SF" for StormFront, "WFE" for Wizard FE, or "SF/WFE" cross-compatibility.
compatwarn optional A reason why the script is not compatible with one client or the other.
category optional Places the script in a gswiki category, such as "Travel scripts". If not selected, uses "Scripts" by default.

An example of the template's use:

{{script
 | title = A Test Script 
 | author = Anshou
 | compat = SF
}}

This example would display as:

Title: A Test Script
Author: Anshou
Compatibility: StormFront Only