User:Ch4zm: Difference between revisions
From Golly.Life Wiki
(→=Done) |
No edit summary |
||
| Line 21: | Line 21: | ||
* {{Tl|Infobox crown}} | * {{Tl|Infobox crown}} | ||
* {{Tl|Infobox map}} | * {{Tl|Infobox map}} | ||
==Process== | |||
The process for creating an infobox: | |||
* before you begin: make a map of information that will go into the infobox | |||
* top level categories become headers | |||
* secondary level key-value pairs become labels/data | |||
* when you're ready to make the template, copy the contents of an existing template that uses {{Tl|Infobox}}, like {{Tl|Infobox team}} | |||
* start with two pieces: the includeonly piece (calling the {{Tl|Infobox}} template) and the noinclude piece (which gives an example) | |||
* it's helpful to do this step in a text editor, so you can edit the example and the Infobox template it calls at the same time | |||
Revision as of 05:36, 8 February 2021
Done
Keeping track of templates and modules:
Other miscellaneous templates:
- {{Game}}
- {{TeamAbbrToName}}
Needed
Navboxes needed:
- {{Navbox history}}
- {{Navbox teams}}
- Don't need a navbox for each team, because only one page per team
Infoboxes needed:
- {{Infobox cup}}
- {{Infobox crown}}
- {{Infobox map}}
Process
The process for creating an infobox:
- before you begin: make a map of information that will go into the infobox
- top level categories become headers
- secondary level key-value pairs become labels/data
- when you're ready to make the template, copy the contents of an existing template that uses {{Infobox}}, like {{Infobox team}}
- start with two pieces: the includeonly piece (calling the {{Infobox}} template) and the noinclude piece (which gives an example)
- it's helpful to do this step in a text editor, so you can edit the example and the Infobox template it calls at the same time