Difference between revisions of "Help:Scripts"

From Pangaea Wiki
Jump to: navigation, search
(Created page with "Here are some things to keep in mind when creating ''script'' pages. * Keep all code inside {{tag|pre}} tags * Add <code><nowiki>{{Documentation}}</nowiki></code> at the bott...")
 
 
Line 1: Line 1:
Here are some things to keep in mind when creating ''script'' pages.
+
Please add any scripts to the '''Script''' namespace. Simply add the prefix <code>Script:</code> to the name, for example <code>Script:Chopping wood</code>
 
+
 
* Keep all code inside {{tag|pre}} tags
 
* Keep all code inside {{tag|pre}} tags
 
* Add <code><nowiki>{{Documentation}}</nowiki></code> at the bottom of the content. This lets you create [[Template:Documentation|documentation]] about the script's usage in a neat way.
 
* Add <code><nowiki>{{Documentation}}</nowiki></code> at the bottom of the content. This lets you create [[Template:Documentation|documentation]] about the script's usage in a neat way.

Latest revision as of 23:08, 20 October 2020

Please add any scripts to the Script namespace. Simply add the prefix Script: to the name, for example Script:Chopping wood

  • Keep all code inside <pre>...</pre> tags
  • Add {{Documentation}} at the bottom of the content. This lets you create documentation about the script's usage in a neat way.