Difference between revisions of "Template:Preload/doc"
From Project: Gorgon Wiki
m (Added usage) |
m (→Usage: more explanation especially the save part) |
||
Line 14: | Line 14: | ||
</pre></dd> | </pre></dd> | ||
<dt>To generate the page to be used above:</dt> | <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> | + | <dd>You can use something similar to <code>{{((}}subst:Preload/Recipe pages{{))}}</code> on the respective sub-page and save it, or any other listed below for specific goals.</dd> |
</dl> | </dl> | ||
Revision as of 11:21, 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}}
on the respective sub-page and save it, or any other listed below for specific goals.
List for specific goals
- {{Preload/Item pages}}
- To pre-populate new /Items pages.
- {{Preload/Recipe pages}}
- To pre-populate new /Recipes pages.
- {{Preload/Level Up Reward pages}}
- To pre-populate new /Level Up Rewards pages.