|
|
(No se muestra una edición intermedia del mismo usuario) |
Línea 1: |
Línea 1: |
| <!-- | | [[<span style="color: red">Portal-Tittle</span>]] |
| NOMBRE DE PÁGINA
| |
|
| |
|
| Plantilla:Portal
| |
| -->
| |
| <noinclude> | | <noinclude> |
| Esta plantilla se utiliza para crear páginas de portal en las páginas principales de la Wazeopedia.
| | [[Categoría:borrar]] |
| == Estructura de la plantilla ==
| |
| <nowiki>
| |
| | |
| </nowiki>
| |
| == Crear o editar con formulario ==
| |
| Puede utilizar el [[Formulario:Portal|formulario del portal]] para crear o editar páginas del portal:
| |
| {{#forminput:form={{PAGENAME}}|button text=Crear {{PAGENAME}}|placeholder=Nombre del {{PAGENAME}}}}
| |
| | |
| </noinclude>
| |
| <includeonly>{{#ifeq:{{{no-title|}}}|Yes||{{Portal-title|
| |
| |title={{{page title|{{SITENAME}} }}}
| |
| |title-icon={{{title-icon|}}}
| |
| |hide numbers={{{hide numbers|}}}
| |
| }} }}{{#if:{{{banner-text|}}}{{{banner-heading|}}}|
| |
| <div class="prose border border-grey-400 rounded-md mx-0 {{{type|}}} {{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|mb-10|mb-20}} md:max-w-full max-w-fit">
| |
| {{#if:{{{banner-heading|}}}|<div class="flex items-center bg-blue-30 px-6 py-4">
| |
| {{#if:{{{banner-image|}}}|[[File:{{{banner-image}}}|link=]]|}}
| |
| <h2 class=" text-lg h4 px-6 font-medium">{{{banner-heading|}}}</h2>
| |
| </div>}}
| |
| <div class="px-10 text-sm text-gray-600 py-4 pb-8">
| |
| {{{banner-text|}}}
| |
| </div>
| |
| </div>}}{{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|<div id="siteNotice" ></div>|}}{{#if:{{{row title query|}}}{{{page query|}}}|
| |
| {{Grid
| |
| |page={{{page query|}}}
| |
| |row title={{{row title query|}}}
| |
| }}
| |
| |{{Carousel
| |
| |title={{{section 1|}}}
| |
| |link={{{section 1|}}}
| |
| |cards={{{cards 1|}}}
| |
| |template={{{template 1|}}}
| |
| }}{{Carousel
| |
| |title={{{section 2|}}}
| |
| |link={{{section 2|}}}
| |
| |cards={{{cards 2|}}}
| |
| |template={{{template 2|}}}
| |
| }}{{Carousel
| |
| |title={{{section 3|}}}
| |
| |link={{{section 3|}}}
| |
| |cards={{{cards 3|}}}
| |
| |template={{{template 3|}}}
| |
| }}{{Carousel
| |
| |title={{{section 4|}}}
| |
| |link={{{section 4|}}}
| |
| |cards={{{cards 4|}}}
| |
| |template={{{template 4|}}}
| |
| }}{{Carousel
| |
| |title={{{section 5|}}}
| |
| |link={{{section 5|}}}
| |
| |cards={{{cards 5|}}}
| |
| |template={{{template 5|}}}
| |
| }}{{Carousel
| |
| |title={{{section 6|}}}
| |
| |link={{{section 6|}}}
| |
| |cards={{{cards 6|}}}
| |
| |template={{{template 6|}}}
| |
| }}
| |
| {{Carousel
| |
| |title={{{section 7|}}}
| |
| |link={{{section 7|}}}
| |
| |cards={{{cards 7|}}}
| |
| |template={{{template 7|}}}
| |
| }}
| |
| {{Carousel
| |
| |title={{{section 8|}}}
| |
| |link={{{section 8|}}}
| |
| |cards={{{cards 8|}}}
| |
| |template={{{template 8|}}}
| |
| }}
| |
| }}
| |
| {{#ifeq:{{{no-title|}}}|Yes||{{#hidetitle:true}}}}[[category:portal]]{{#arraymap:{{{categories|}}}|;|xx|[[category:xx]]}}
| |
| <span style="display:none">{{#default_form:Portal}}</span>
| |
| __NOTOC__
| |
| </includeonly>
| |
| <noinclude>
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "no-title": {
| |
| "label": "Ocultar la sección del título de la página",
| |
| "description": "escriba cualquier carácter",
| |
| "type": "boolean"
| |
| },
| |
| "page title": {
| |
| "label": "Título de la página",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "banner-text": {
| |
| "label": "Texto para la sección de banners ",
| |
| "type": "content",
| |
| "suggested": true
| |
| },
| |
| "banner-heading": {
| |
| "label": "Texto para la cabecera del banner",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "section 1": {
| |
| "label": "Título de la primera sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 1": {
| |
| "label": "Lista de tarjetas para la 1ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "section 2": {
| |
| "label": "Título de la segunda sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 2": {
| |
| "label": "Lista de tarjetas para la 2ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "section 3": {
| |
| "label": "Título de la tercera sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 3": {
| |
| "label": "Lista de tarjetas para la 3ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "section 4": {
| |
| "label": "Título de la cuarta sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 4": {
| |
| "label": "Lista de tarjetas para la 4ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "section 5": {
| |
| "label": "Título de la quinta sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 5": {
| |
| "label": "Lista de tarjetas para la 5ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "section 6": {
| |
| "label": "Título de la sexta sección",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "cards 6": {
| |
| "label": "Lista de tarjetas para la 6ª sección ",
| |
| "example": "Añade tantas plantillas de \"tarjeta\" como quieras",
| |
| "type": "string",
| |
| "required": true,
| |
| "suggested": true
| |
| },
| |
| "title-icon": {
| |
| "label": "Icono de la sección del título ",
| |
| "description": "Nombre de la imagen",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "banner-image": {
| |
| "label": "Imagen para el banner",
| |
| "type": "wiki-file-name",
| |
| "suggested": true
| |
| },
| |
| "hide numbers": {},
| |
| "template 1": {},
| |
| "template 2": {},
| |
| "template 3": {},
| |
| "template 4": {},
| |
| "template 5": {},
| |
| "template 6": {},
| |
| "section 7": {},
| |
| "cards 7": {},
| |
| "template 7": {},
| |
| "section 8": {},
| |
| "cards 8": {},
| |
| "template 8": {},
| |
| "categories": {}
| |
| },
| |
| "description": "Tempate para crear páginas de portal en las páginas principales de Wazeopedia. \n",
| |
| "paramOrder": [
| |
| "title-icon",
| |
| "banner-text",
| |
| "page title",
| |
| "banner-heading",
| |
| "banner-image",
| |
| "no-title",
| |
| "section 1",
| |
| "cards 1",
| |
| "section 2",
| |
| "cards 2",
| |
| "section 3",
| |
| "cards 3",
| |
| "section 4",
| |
| "cards 4",
| |
| "section 5",
| |
| "cards 5",
| |
| "section 6",
| |
| "cards 6",
| |
| "hide numbers",
| |
| "template 1",
| |
| "template 2",
| |
| "template 3",
| |
| "template 4",
| |
| "template 5",
| |
| "template 6",
| |
| "section 7",
| |
| "cards 7",
| |
| "template 7",
| |
| "section 8",
| |
| "cards 8",
| |
| "template 8",
| |
| "categories"
| |
| ]
| |
| }
| |
| </templatedata>
| |
| </noinclude> | | </noinclude> |