User:Chorus/New Page

From the Dyson Sphere Program Wiki

Add New Item

Icon

First, ensure that the item icon is uploaded. This can be done at Special:Upload with the format "Icon $ITEM.png"

ItemInfo

Next, populate the ItemInfo page. As a base, it will probably look something like this:

{{ItemInfo
|ItemName={{BASEPAGENAME}}
|Categories=Categories
|Description={{#invoke:GameData|itemFieldDirect|{{BASEPAGENAME}}|Description}}
|StackSize={{#invoke:GameData|itemFieldDirect|{{BASEPAGENAME}}|StackSize}}
|Recipes={{#invoke:GameData|itemRecipesDirect|{{BASEPAGENAME}}}}
}}<noinclude>[[Category:ItemInfo Pages]]</noinclude>

Data from the game can be added using an incrementing:

|Info#Type=Key
|Info#Text=Text

If the item cannot be made in the replicator, add:

|Info#Type=&nbsp;
|Info#Text={{Cannot make in replicator}}

Item

Next, create the Item page. Again, a suitable template to start with would be:

<div style="float: right; clear: right;">
{{:{{PAGENAME}}/ItemInfo}}
</div>
==Summary==
{{#invoke:GameData|itemFieldDirect|{{PAGENAME}}|Description}}  <!-- Placeholder, write up an actual description -->

==Production Chain==
{{#invoke:GameData|recipesMakingDirect|{{PAGENAME}}}}

==Used In==
{{#invoke:GameData|recipesUsingDirect|{{PAGENAME}}}}

==Player Tips & Tricks==

{{Item Navbox}}
[[Category:Item]]
[[Category:Game Data]]

Add relevant categories at the bottom. Progression charts are nice, but time-consuming to make and can be added after ensuring that the page loads data as expected.

🍪 We use cookies to keep session information to provide you a better experience.