< Guides
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== | = Guide to Easy Editing = | ||
This is a first draft of the guide to "easy editing". | |||
Known issues and questions to editors: | |||
*Can be up to four separate templates needed depending on the page. Is that ok? | |||
Please give feedback in {{Discord}} #wiki-spoilers. | |||
=== Headers === | |||
Pages are separated by <nowiki>===== Headers =====</nowiki> | |||
Currently you will have to add the following headers if you need them: | |||
*<nowiki>===== Description =====</nowiki> | |||
*<nowiki>===== Tips =====</nowiki> | |||
*Item stats, Recipe, Produced by headers are added automatically if you use the templates below. | |||
=== Item Stats === | |||
If you want to add item stats, you can do so by copying the following: | |||
=== Templates === | |||
Three templates | |||
*Category is mandatory if the page needs a Navbox. E.g. | |||
{{ResourcesNav}} | |||
*'Statistics', 'Sockets and Storage' and 'Recipe/Produced by' are optional depending on the page. | |||
==== Category ==== | |||
This will add the Navbox and create a category which is important if you want your new page to be added the the navbox automatically. | |||
*Copy and paste this at the bottom of the page! | |||
*Delete the line for whatever you don't need. | |||
<nowiki> | |||
{{Category | |||
|race = | |||
|item-type = | |||
|material-type = | |||
|entity-type = | |||
|unit-type = | |||
}} | |||
</nowiki> | |||
The following parameters are used: | |||
*race = Aliens / Bugs / Humans / Robots | |||
*item-type = Components / Resources / Materials / Research / Packages | |||
*material-type = Simple / Advanced / High-tech | |||
*entity-type = Building / Unit | |||
*unit-type = Alien / Bug / Human / Bot / Space | |||
{| class="wikitable" | |||
|+ Examples: | |||
|- | |||
Page for [[Metal Ore]] !! Page for [[Scout]] | |||
|- | |||
| | |||
<nowiki> | |||
{{Category | |||
|item-type = Resources | |||
}} | |||
</nowiki> | |||
| | |||
<nowiki> | |||
{{Category | |||
|race=Robots | |||
|entity-type=Unit | |||
|unit-type=Bot | |||
}} | |||
</nowiki> | |||
|} | |||
==== Zz ==== | |||
==== Zz ==== | |||
==== Recipe/Produced by ==== | |||
If you want to add a recipe, you can do so by copying the following: | |||
*Copy and paste to page after stats. Insert names and numbers | *Copy and paste to page after stats. Insert names and numbers | ||
*If there's only 1/2/3 ingredients, leave blank | *You must include all the parameters for now. If there's only 1/2/3 ingredients or production, leave blank. <!--(Todo: change to remove unused - ifexist)--> | ||
<nowiki> | <nowiki> | ||
{{Recipe_Production | {{Recipe_Production |
Revision as of 08:52, 12 August 2023
Guide to Easy Editing
This is a first draft of the guide to "easy editing".
Known issues and questions to editors:
- Can be up to four separate templates needed depending on the page. Is that ok?
Please give feedback in Discord #wiki-spoilers.
Headers
Pages are separated by ===== Headers ===== Currently you will have to add the following headers if you need them:
- ===== Description =====
- ===== Tips =====
- Item stats, Recipe, Produced by headers are added automatically if you use the templates below.
Item Stats
If you want to add item stats, you can do so by copying the following:
Templates
Three templates
- Category is mandatory if the page needs a Navbox. E.g.
Resource |
- 'Statistics', 'Sockets and Storage' and 'Recipe/Produced by' are optional depending on the page.
Category
This will add the Navbox and create a category which is important if you want your new page to be added the the navbox automatically.
- Copy and paste this at the bottom of the page!
- Delete the line for whatever you don't need.
{{Category |race = |item-type = |material-type = |entity-type = |unit-type = }}
The following parameters are used:
- race = Aliens / Bugs / Humans / Robots
- item-type = Components / Resources / Materials / Research / Packages
- material-type = Simple / Advanced / High-tech
- entity-type = Building / Unit
- unit-type = Alien / Bug / Human / Bot / Space
{{Category |item-type = Resources }} |
{{Category |race=Robots |entity-type=Unit |unit-type=Bot }} |
Zz
Zz
Recipe/Produced by
If you want to add a recipe, you can do so by copying the following:
- Copy and paste to page after stats. Insert names and numbers
- You must include all the parameters for now. If there's only 1/2/3 ingredients or production, leave blank.
{{Recipe_Production |name = |ingredient1 = |amount1 = |ingredient2 = |amount2 = |ingredient3 = |amount3 = |ingredient4 = |amount4 = |produced-by1 = |time1 = |produced-by2 = |time2 = }}