Category:GameData: Difference between revisions

Category page
(Created page with "__HIDDENCAT__")
 
m (Bot Change GameData for Recipe Cargo)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__HIDDENCAT__
__HIDDENCAT__
== GameData Template ==
<pre><nowiki>{{Recipe cargo|{{PAGENAME}}}}</nowiki></pre>
[[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:
<pre>{{Recipe cargo|{{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>):
<pre>{{:GameData:Recipe:Building_2x1_(2M)}}</pre>
Which results in:
{{:GameData:Recipe:Building_2x1_(2M)}}

Latest revision as of 20:44, 9 September 2023


GameData Template[edit | edit source]

{{Recipe cargo|{{PAGENAME}}}}

Template:GameData can be included on any page with GameData files to automatically include all GameData templates.

GameData Recipe Usage[edit | edit source]

Assuming a page is named the same way as its gamedata, you can use the following to automatically include the recipe table:

{{Recipe cargo|{{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:


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