Difference between revisions of "Template:Wiki/style/doc"

From TerraFirmaCraft Plus Wiki
Jump to: navigation, search
(Created page with "This template generates a table row that is used for formatting on main pages such as Main Page. Template:Wiki/style both is used when you want a table row that covers...")
 
 
Line 1: Line 1:
This template generates a table row that is used for formatting on main pages such as [[Main Page]]. [[Template:Wiki/style both]] is used when you want a table row that covers both columns, and [[Template:Wiki/style]] is used when you want a table row that covers only 1 column. (I'm not exactly sure about this, so do your own experimenting.)
+
This template generates a table row/"block" that is used for formatting on main pages such as [[Main Page]]. [[Template:Wiki/style both]] is used when you want a table row that covers two columns, and [[Template:Wiki/style]] is used when you want a table row that covers only 1 column.  
 +
 
 +
The fact that the templates are called Wiki/style_both and Wiki/style are probably a vestige of a time when the main page covered two columns, or from the wiki where these templates were imported from. Right now, it covers three columns, so my standard is to set the colspan manually on every table "row"/"block", for clarity.

Latest revision as of 15:12, 7 November 2021

This template generates a table row/"block" that is used for formatting on main pages such as Main Page. Template:Wiki/style both is used when you want a table row that covers two columns, and Template:Wiki/style is used when you want a table row that covers only 1 column.

The fact that the templates are called Wiki/style_both and Wiki/style are probably a vestige of a time when the main page covered two columns, or from the wiki where these templates were imported from. Right now, it covers three columns, so my standard is to set the colspan manually on every table "row"/"block", for clarity.