Template:Script: Difference between revisions
Jump to navigation
Jump to search
m (Clearly, I'm rusty at this...) |
(Testing...) |
||
Line 58: | Line 58: | ||
| '''Compatibility:''' |
| '''Compatibility:''' |
||
| {{#ifeq: {{{compat}}} | SF | StormFront | {{#ifeq: {{{compat}}} | WFE | Wizard FE | {{#ifeq: {{{compat}}} | SF/WFE | StormFront and Wizard FE | Undefined }} }} }} |
| {{#ifeq: {{{compat}}} | SF | StormFront | {{#ifeq: {{{compat}}} | WFE | Wizard FE | {{#ifeq: {{{compat}}} | SF/WFE | StormFront and Wizard FE | Undefined }} }} }} |
||
{{#if: {{{notes|}}} | |
{{#if: {{{notes|}}} | {{pipe}}- | }} |
||
{{#if: {{{notes|}}} | | '''Notes:''' | }} |
{{#if: {{{notes|}}} | | '''Notes:''' | }} |
||
{{#if: {{{notes|}}} | | {{{notes}}} | }} |
{{#if: {{{notes|}}} | | {{{notes}}} | }} |
Revision as of 14:43, 15 January 2007
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 compatibility of the script. Valid options are "SF" for StormFront, "WFE" for Wizard FE, or "SF/WFE" cross-compatibility. |
notes | optional | Any miscellaneous notes about the script or its operation. If no notes are specified, the field will not appear on the page. |
An example of the template's use:
{{script | title = A Test Script | author = Anshou | compat = SF | notes = This is an example script for KP. }}
This example would display as:
Title: | A Test Script |
Author: | Anshou |
Compatibility: | StormFront |
Notes: | This is an example script for KP. |