Difference between revisions of "Template:Preload/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Added Level Up Rewards)
m (Added usage)
Line 1: Line 1:
;Description
+
== Description ==
 
:This template does not do anything it self, it's just a collection of 'preload' templates to be used when creating new pages.
 
:This template does not do anything it self, it's just a collection of 'preload' templates to be used when creating new pages.
 
:They will most likely be used either by a <b><i>&preload=</i></b> url parameter or a <b><i>[[mw:help:subst#Usage|subst]]:</i></b> parser function.
 
:They will most likely be used either by a <b><i>&preload=</i></b> url parameter or a <b><i>[[mw:help:subst#Usage|subst]]:</i></b> parser function.
  
;List for specific goals:
+
== Usage ==
 +
The generated pages are tobe included inside the main article page.
 +
<dl>
 +
<dt>On the main article page use:</dt>
 +
<dd><pre style="overflow:auto;">
 +
<!-- transclusing tables for easier edits/updates -->
 +
{{:{{msg:BASEPAGENAME}}/Items}}
 +
{{:{{msg:BASEPAGENAME}}/Recipes}}
 +
{{:{{msg:BASEPAGENAME}}/Level Up Rewards}}
 +
</pre></dd>
 +
<dt>To generate the page to be used above:</dt>
 +
<dd>You can use something similar to <code>{{((}}subst:Preload/Recipe pages{{))}}</code> or any other listed below for specific goals.</dd>
 +
</dl>
 +
 
 +
== List for specific goals ==
 
*{{t|Preload/Item pages|type=code}}
 
*{{t|Preload/Item pages|type=code}}
 
*:To pre-populate new <i>/Items</i> pages.
 
*:To pre-populate new <i>/Items</i> pages.

Revision as of 11:19, 9 May 2016

Description

This template does not do anything it self, it's just a collection of 'preload' templates to be used when creating new pages.
They will most likely be used either by a &preload= url parameter or a subst: parser function.

Usage

The generated pages are tobe included inside the main article page.

On the main article page use:
<!-- transclusing tables for easier edits/updates -->
{{:{{msg:BASEPAGENAME}}/Items}}
{{:{{msg:BASEPAGENAME}}/Recipes}}
{{:{{msg:BASEPAGENAME}}/Level Up Rewards}}

To generate the page to be used above:
You can use something similar to {{subst:Preload/Recipe pages}} or any other listed below for specific goals.

List for specific goals