User:Chorus/New Page: Difference between revisions
From the Dyson Sphere Program Wiki
More actions
Content deleted Content added
Add personal instructions for item icons, item info boxes, and item pages Tag: 2017 source edit |
Comment note to include summary Tag: 2017 source edit |
||
Line 35: | Line 35: | ||
</div> |
</div> |
||
==Summary== |
==Summary== |
||
{{#invoke:GameData|itemFieldDirect|{{PAGENAME}}|Description}} |
{{#invoke:GameData|itemFieldDirect|{{PAGENAME}}|Description}} <!-- Placeholder, write up an actual description --> |
||
==Production Chain== |
==Production Chain== |
Latest revision as of 19:48, 9 June 2024
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=
|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.