Category:GameData: Difference between revisions

Category page
No edit summary
No edit summary
Line 1: Line 1:
__HIDDENCAT__
__HIDDENCAT__
== GameData Template ==
<pre><nowiki>{{GameData}}</nowiki></pre>
[[Template:GameData]] can be included on any page with GameData files to automatically include all GameData templates.


== GameData Recipe Usage ==  
== GameData Recipe Usage ==  

Revision as of 10:23, 7 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:{{PAGENAMEE}}}}

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:


Recipe
Circuit Board Reinforced Plate Building 2x1 (2M)
Circuit Board 4 Reinforced Plate 30 Arrow Right Building 2x1 (2M)
Produced by
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