Plantilla:Main block
De Wiki va de Retro
Revisión del 20:32 20 nov 2015 de Tactica (Discusión | contribuciones) (Versión 3, el original de DT)
Main page link block template.
Example
Untitled
Nothing to see here
Parameters
- color
- Color used for the top-left blocky thing in any valid CSS color format
- category
- Category name for the box; this will become a hyperlink, so use only title if you do not have a category to link to
- title
- Title if different from the category name, or if no category hyperlink is to be used
- content
- Content of the box
Usage notes
Main page link blocks are designed to have zero additional spacing between lines, but MediaWiki will "randomly" add blank lines for no clear reason. As such, all <ul> and <p> spacing is removed by way of CSS on MediaWiki:Common.css linked to classes in this template. Do not be alarmed; this behavior is intentional.