Diferencia entre revisiones de «Plantilla:Mainbox»

De Wiki
Ir a la navegación Ir a la búsqueda
 
(No se muestra una edición intermedia del mismo usuario)
Línea 1: Línea 1:
<includeonly><div style="float: left; margin-right: 5px; margin-bottom: 5px; flex: 1 1 20rem; border: 1px solid #444;">
+
<includeonly><div class="mainbox">
<div style="font-size: 125%; padding: 3px 0px 0px 0px; text-indent: 0.5em; color: #fff;">{{{title|title}}}</div><hr><div style="padding: 5px;">{{MultiColumn|
+
<div class="cabecera">{{{title|title}}}</div><hr><div style="padding: 5px;">{{MultiColumn|
 
{{{content|
 
{{{content|
 
* [[File:Unknown.png|36px|link=]] Unknown}}}
 
* [[File:Unknown.png|36px|link=]] Unknown}}}

Revisión actual del 16:02 11 mar 2021

Styled box to showcased content, mostly in the form of a list. For best looking result stick several inside a Plantilla:Template template.

Parameters

Parameter Notes Status
title Content box title required
content Content to appear in the box required
col Number of columns for content to spread over. Default set to "2". optional

Syntax

{{mainbox|title|content|column}}

Usage

{{mainbox
|title=Example
|content=
* [[File:Unknown.png|36px|link=]] Unknown
* [[File:Unknown.png|36px|link=]] Unknown
* [[File:Unknown.png|36px|link=]] Unknown
|col=1}}
Outcome
Example

  • Unknown.png Unknown
  • Unknown.png Unknown
  • Unknown.png Unknown