Vintage Story Wiki:Projects/Template overhaul: Difference between revisions

From Vintage Story Wiki
(Created page with "== Main goal == I want to overhaul the current templates in order to both standardize the overall template appearance as well as provide a solid foundation for any future temp...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Main goal ==
== Overview ==
I want to overhaul the current templates in order to both standardize the overall template appearance as well as provide a solid foundation for any future templates. This would mean the primary template types, [[Template:Navbox]], [[Template:Infobox]] and [[Template:Msgbox]] would become base templates that all other templates of the same type would use and customize.  
I want to overhaul the current templates in order to both standardize the overall template appearance as well as provide a solid foundation for any future templates. This would mean the primary template types, [[Template:Navbox]], [[Template:Infobox]] and [[Template:Msgbox]] would become base templates that all other templates of the same type would use and customize.  


Line 7: Line 7:
== To-do list ==
== To-do list ==
* Create the base templates of each type
* Create the base templates of each type
** <s>[{{fullurl:Template:Navbox|redirect=no}} Navbox]</s> - 01:38, 7 August 2022 (UTC)
** <s>[[Template:Msgbox|Msgbox]]</s> - 16:47, 6 August 2022 (UTC)
** Infobox
* Adjust appropriate templates (or make new ones) to inherit from the new base templates
** Navbox
** Navbox
** Msgbox
*** <s>[[Template:Blocks_navbox|Blocks navbox]]</s> - 01:30, 8 August 2022 (UTC)
*** Items navbox
*** Entities navbox
*** Modding navbox
** <s>[[:Category:Notice templates|Msgbox]]</s> - 16:47, 6 August 2022 (UTC)
** Infobox
** Infobox
* Adjust all templates that use these types to instead act as customised sub-templates
 
== Members ==
[[User:Sana|Sana]] ([[User talk:Sana|talk]])

Latest revision as of 01:30, 8 August 2022

Overview

I want to overhaul the current templates in order to both standardize the overall template appearance as well as provide a solid foundation for any future templates. This would mean the primary template types, Template:Navbox, Template:Infobox and Template:Msgbox would become base templates that all other templates of the same type would use and customize.

Background

Currently as of August 6th 2022, most of the templates on the wiki are either individually hardcoded to look similar, or barely ressemble other templates of the same type. This causes more work to be done if a new template is needed, as well as a huge mess of coordination if and when the CSS of a template is needed to be adjusted.

To-do list

  • Create the base templates of each type
    • Navbox - 01:38, 7 August 2022 (UTC)
    • Msgbox - 16:47, 6 August 2022 (UTC)
    • Infobox
  • Adjust appropriate templates (or make new ones) to inherit from the new base templates
    • Navbox
      • Blocks navbox - 01:30, 8 August 2022 (UTC)
      • Items navbox
      • Entities navbox
      • Modding navbox
    • Msgbox - 16:47, 6 August 2022 (UTC)
    • Infobox

Members

Sana (talk)