Difference between revisions of "Template:Preload/doc"
From Project: Gorgon Wiki
m (Added usage) |
m (Added Abilities) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
<!-- transclusing tables for easier edits/updates --> | <!-- transclusing tables for easier edits/updates --> | ||
{{:{{msg:BASEPAGENAME}}/Items}} | {{:{{msg:BASEPAGENAME}}/Items}} | ||
+ | {{:{{msg:BASEPAGENAME}}/Abilities}} | ||
{{:{{msg:BASEPAGENAME}}/Recipes}} | {{:{{msg:BASEPAGENAME}}/Recipes}} | ||
{{:{{msg:BASEPAGENAME}}/Level Up Rewards}} | {{:{{msg:BASEPAGENAME}}/Level Up Rewards}} | ||
</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> | + | <dd>After using the code(s) above:<br/> |
+ | #Follow the generated link on the article page. | ||
+ | #Use something similar to <code>{{((}}subst:Preload/Recipe pages{{))}}</code>, or any other listed below for specific goals, on the respective sub-page and <b><u>save it</u></b> ! | ||
+ | #Repeat steps 1-2 as many times as needed for the respective sub-page(s). | ||
+ | #Now you are free to add specific info on the respective sub-page(s). | ||
+ | </dd> | ||
</dl> | </dl> | ||
Line 24: | Line 30: | ||
*{{t|Preload/Level Up Reward pages|type=code}} | *{{t|Preload/Level Up Reward pages|type=code}} | ||
*:To pre-populate new <i>/Level Up Rewards</i> pages. | *:To pre-populate new <i>/Level Up Rewards</i> pages. | ||
+ | *{{t|Preload/Ability pages|type=code}} | ||
+ | *:To pre-populate new <i>/Abilities</i> pages. | ||
<includeonly> | <includeonly> | ||
<!-- Categories/interwikis for the template itself --> | <!-- Categories/interwikis for the template itself --> |
Latest revision as of 11:58, 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}}/Abilities}} {{:{{msg:BASEPAGENAME}}/Recipes}} {{:{{msg:BASEPAGENAME}}/Level Up Rewards}}
- To generate the page to be used above:
- After using the code(s) above:
- Follow the generated link on the article page.
- Use something similar to
{{subst:Preload/Recipe pages}}
, or any other listed below for specific goals, on the respective sub-page and save it ! - Repeat steps 1-2 as many times as needed for the respective sub-page(s).
- Now you are free to add specific info on the respective sub-page(s).
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.
- {{Preload/Ability pages}}
- To pre-populate new /Abilities pages.