Support wiki

This is the wiki.gg support wiki! It's a different site from your content wiki!

Preloads

From Support Wiki
Jump to navigation Jump to search

A Preload is a page holding prewritten text that can be loaded into the edit box when a user creates a new page. Using a preloading link will insert an incomplete page that can be edited freely, instead of starting from a blank page.

User guide

Using a preload

Most wiki editors will be using existing preloads to create missing pages. To use a preload for a page:

  1. Begin to create a new page.
  2. Click "Create" and you'll be taken to the new empty page
  3. Click a preloading link displayed above the edit box
  4. Once the preload text shows in your edit box, you can start editing!

Editing the page

The content in a preloaded page is incomplete and often minimal. It should be filled out, adapted or replaced as necessary for the page being created, this part is up to the editor.

  • Refer to example pages provided alongside a preload. Things on an example page may have been left out of the preload, but still be very useful.
  • New sections can be added as needed, and empty sections can be hidden using HTML comments <!-- -->. Unused parameters can be left empty, or deleted if they are irrelevant to the page.

Admin guide

Creating preloads

Typically, on wiki.gg, admins are encouraged to make preloads be subpages of MediaWiki:Preloads , so for example you might make a Character preload at MediaWiki:Preloads/Character .

Note: Do NOT change the word MediaWiki: to your wiki's name! We do mean the literal string MediaWiki here!

Enabling preloads

Preloads can be shown to editors when they create new pages using a system message. This message is configured at Mediawiki:Newarticletext . You can modify this code to show namespace-specific preloads:

{{#switch:{{NAMESPACENUMBER}}
|0=
* [{{fullurl:{{FULLPAGENAME}}|action=edit&preload=MediaWiki:Preloads/Character}} Insert character preload]
* [{{fullurl:{{FULLPAGENAME}}|action=edit&preload=MediaWiki:Preloads/Item}} Insert item preload]
|10=
* [{{fullurl:{{FULLPAGENAMEE}}|action=edit&preload=MediaWiki:Preloads/infobox-template}} Insert DRUID infobox template]
* [{{fullurl:{{FULLPAGENAMEE}}|action=edit&preload=MediaWiki:Preloads/navbox-template}} Insert RANGER navbox template]
}}