No edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
Assuming a page is named the same way as its gamedata, you can use the following to automatically include the recipe table: | Assuming a page is named the same way as its gamedata, you can use the following to automatically include the recipe table: | ||
<pre>{{:GameData:Recipe:{{ | <pre>{{:GameData:Recipe:{{PAGENAME}}}}</pre> | ||
Though the names should match, if they don't please let me know (<code>Maz (username: mazorlion)</code> on discord). You can manually correct the naming by specifying the page directly (for example with <code>Building_2x1_(2M)</code>): | Though the names should match, if they don't please let me know (<code>Maz (username: mazorlion)</code> on discord). You can manually correct the naming by specifying the page directly (for example with <code>Building_2x1_(2M)</code>): |
Revision as of 11:31, 23 August 2023
GameData Template
{{GameData}}
Template:GameData can be included on any page with GameData files to automatically include all GameData templates.
GameData Recipe Usage
Assuming a page is named the same way as its gamedata, you can use the following to automatically include the recipe table:
{{:GameData:Recipe:{{PAGENAME}}}}
Though the names should match, if they don't please let me know (Maz (username: mazorlion)
on discord). You can manually correct the naming by specifying the page directly (for example with Building_2x1_(2M)
):
{{:GameData:Recipe:Building_2x1_(2M)}}
Which results in:
Circuit Board | Reinforced Plate | Building 2x1 (2M) | |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Construction | Time |
---|---|
![]() |
3.0 seconds |
[[{{{14}}}]] | Time |
[[File:{{{14}}}.png|64x64px|link={{{14}}}]] | {{{15}}} seconds |
[[{{{16}}}]] | Time |
[[File:{{{16}}}.png|64x64px|link={{{16}}}]] | {{{17}}} seconds |
Subcategories
This category has the following 3 subcategories, out of 3 total.
Pages in category "GameData"
The following 8 pages are in this category, out of 8 total.