Page components/about: Difference between revisions

wip
No edit summary
 
Line 21: Line 21:


== Templates ==
== Templates ==
Templates are one fundamental building block in MediaWiki that allows for consistently presenting information. The prime example is the '[[Template:Infobox|infobox]]' ubiquitous to Wikipedia articles.
Templates are one fundamental building block in MediaWiki that allows for consistently presenting information. The prime example is the '[[Template:Infobox|infobox]]' ubiquitous to Wikipedia articles. There are many "problems" with templates. The polished result found on Wikipedia is dependent on a huge number of interconnected templates, CSS style pages, and Lua modules - all of which are not available in a "starter pack" that would be suitable or easily customizable for a 3rd-party wiki.
 
The Wikipedia infoboxes use CSS pages and Lua modules for the presentation and functionality.
 
On a page like [[:en:WWE_Championship|WWE Championship]] there are over 100 templates and modules in use such as:
 
* Template:Infobox
* Template:Infobox pro wrestling championship
* Template:Infobox professional wrestling championship
* Module:Infobox
* Module:Infobox/styles.css
* Module:InfoboxImage
* Module:InfoboxImage/data


== Gadgets ==
== Gadgets ==