Sin resumen de edición Etiquetas: Revertido Edición visual: cambiado |
Sin resumen de edición Etiquetas: Reversión manual Edición visual: cambiado |
||
Línea 1: | Línea 1: | ||
<noinclude> | <noinclude> | ||
This template is being used for creating portal pages in Wazeopedia main pages. | |||
== | == Template structure == | ||
<nowiki> | <nowiki> | ||
</nowiki> | </nowiki> | ||
== | == Create or edit with form == | ||
you can use the [[Form:Portal|portal form]] to create or edit portal pages: | |||
{{#forminput:form={{PAGENAME}}|button text= | {{#forminput:form={{PAGENAME}}|button text=Create {{PAGENAME}}|placeholder={{PAGENAME}} name}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ifeq:{{{no-title|}}}|Yes||{{Portal- | <includeonly>{{#ifeq:{{{no-title|}}}|Yes||{{Portal-title| | ||
|title={{{page title|{{SITENAME}} }}} | |title={{{page title|{{SITENAME}} }}} | ||
|title-icon={{{title-icon|}}} | |title-icon={{{title-icon|}}} | ||
Línea 28: | Línea 28: | ||
|row title={{{row title query|}}} | |row title={{{row title query|}}} | ||
}} | }} | ||
|{{ | |{{Carousel | ||
|title={{{section 1|}}} | |title={{{section 1|}}} | ||
|link={{{section 1|}}} | |link={{{section 1|}}} | ||
|cards={{{cards 1|}}} | |cards={{{cards 1|}}} | ||
|template={{{template 1|}}} | |template={{{template 1|}}} | ||
}}{{ | }}{{Carousel | ||
|title={{{section 2|}}} | |title={{{section 2|}}} | ||
|link={{{section 2|}}} | |link={{{section 2|}}} | ||
|cards={{{cards 2|}}} | |cards={{{cards 2|}}} | ||
|template={{{template 2|}}} | |template={{{template 2|}}} | ||
}}{{ | }}{{Carousel | ||
|title={{{section 3|}}} | |title={{{section 3|}}} | ||
|link={{{section 3|}}} | |link={{{section 3|}}} | ||
|cards={{{cards 3|}}} | |cards={{{cards 3|}}} | ||
|template={{{template 3|}}} | |template={{{template 3|}}} | ||
}}{{ | }}{{Carousel | ||
|title={{{section 4|}}} | |title={{{section 4|}}} | ||
|link={{{section 4|}}} | |link={{{section 4|}}} | ||
|cards={{{cards 4|}}} | |cards={{{cards 4|}}} | ||
|template={{{template 4|}}} | |template={{{template 4|}}} | ||
}}{{ | }}{{Carousel | ||
|title={{{section 5|}}} | |title={{{section 5|}}} | ||
|link={{{section 5|}}} | |link={{{section 5|}}} | ||
|cards={{{cards 5|}}} | |cards={{{cards 5|}}} | ||
|template={{{template 5|}}} | |template={{{template 5|}}} | ||
}}{{ | }}{{Carousel | ||
|title={{{section 6|}}} | |title={{{section 6|}}} | ||
|link={{{section 6|}}} | |link={{{section 6|}}} | ||
Línea 59: | Línea 59: | ||
|template={{{template 6|}}} | |template={{{template 6|}}} | ||
}} | }} | ||
{{ | {{Carousel | ||
|title={{{section 7|}}} | |title={{{section 7|}}} | ||
|link={{{section 7|}}} | |link={{{section 7|}}} | ||
Línea 65: | Línea 65: | ||
|template={{{template 7|}}} | |template={{{template 7|}}} | ||
}} | }} | ||
{{ | {{Carousel | ||
|title={{{section 8|}}} | |title={{{section 8|}}} | ||
|link={{{section 8|}}} | |link={{{section 8|}}} | ||
Línea 81: | Línea 81: | ||
"params": { | "params": { | ||
"no-title": { | "no-title": { | ||
"label": " | "label": "Hide page title section", | ||
"description": " | "description": "type any charachter", | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
"page title": { | "page title": { | ||
"label": " | "label": "Page title", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"banner-text": { | "banner-text": { | ||
"label": " | "label": "Text for the banner section ", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"banner-heading": { | "banner-heading": { | ||
"label": " | "label": "Text for the header of the banner", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"section 1": { | "section 1": { | ||
"label": " | "label": "First section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 107: | Línea 107: | ||
}, | }, | ||
"cards 1": { | "cards 1": { | ||
"label": " | "label": "Card list for the first section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 114: | Línea 114: | ||
}, | }, | ||
"section 2": { | "section 2": { | ||
"label": " | "label": "2nd section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 120: | Línea 120: | ||
}, | }, | ||
"cards 2": { | "cards 2": { | ||
"label": " | "label": "Card list for the 2nd section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 127: | Línea 127: | ||
}, | }, | ||
"section 3": { | "section 3": { | ||
"label": " | "label": "3rd section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 133: | Línea 133: | ||
}, | }, | ||
"cards 3": { | "cards 3": { | ||
"label": " | "label": "Card list for the 3rd section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 140: | Línea 140: | ||
}, | }, | ||
"section 4": { | "section 4": { | ||
"label": " | "label": "4th section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 146: | Línea 146: | ||
}, | }, | ||
"cards 4": { | "cards 4": { | ||
"label": " | "label": "Card list for the 4th section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 153: | Línea 153: | ||
}, | }, | ||
"section 5": { | "section 5": { | ||
"label": " | "label": "5th section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 159: | Línea 159: | ||
}, | }, | ||
"cards 5": { | "cards 5": { | ||
"label": " | "label": "Card list for the 5th section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 166: | Línea 166: | ||
}, | }, | ||
"section 6": { | "section 6": { | ||
"label": " | "label": "6th section title", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 172: | Línea 172: | ||
}, | }, | ||
"cards 6": { | "cards 6": { | ||
"label": " | "label": "Card list for the 6th section ", | ||
"example": " | "example": "Add as many \"card\" templates as you want", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Línea 179: | Línea 179: | ||
}, | }, | ||
"title-icon": { | "title-icon": { | ||
"label": " | "label": "Icon for the title section ", | ||
"description": " | "description": "Image name", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"banner-image": { | "banner-image": { | ||
"label": " | "label": "Image for the banner", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"hide numbers": { | "hide numbers": {}, | ||
"template 1": {}, | |||
"template 2": {}, | |||
"template 1": { | "template 3": {}, | ||
"template 4": {}, | |||
"template 5": {}, | |||
"template 2": { | "template 6": {}, | ||
"section 7": {}, | |||
"cards 7": {}, | |||
"template 3": { | "template 7": {}, | ||
"section 8": {}, | |||
"cards 8": {}, | |||
"template 4": { | "template 8": {}, | ||
"categories": {} | |||
"template 5": { | |||
"template 6": { | |||
"section 7": { | |||
"cards 7": { | |||
"template 7": { | |||
"section 8": { | |||
"cards 8": { | |||
"template 8": { | |||
"categories": { | |||
}, | }, | ||
"description": "Tempate | "description": "Tempate for creating portal pages in Wazeopedia main pages. \n", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title-icon", | "title-icon", |
Revisión del 16:47 19 nov 2022
This template is being used for creating portal pages in Wazeopedia main pages.
Template structure
Create or edit with form
you can use the portal form to create or edit portal pages:
Tempate for creating portal pages in Wazeopedia main pages.
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Icon for the title section | title-icon | Image name | Archivo | sugerido |
Text for the banner section | banner-text | sin descripción | Contenido | sugerido |
Page title | page title | sin descripción | Cadena | sugerido |
Text for the header of the banner | banner-heading | sin descripción | Cadena | sugerido |
Image for the banner | banner-image | sin descripción | Archivo | sugerido |
Hide page title section | no-title | type any charachter | Lógico | opcional |
First section title | section 1 | sin descripción | Cadena | obligatorio |
Card list for the first section | cards 1 | sin descripción
| Cadena | obligatorio |
2nd section title | section 2 | sin descripción | Cadena | obligatorio |
Card list for the 2nd section | cards 2 | sin descripción
| Cadena | obligatorio |
3rd section title | section 3 | sin descripción | Cadena | obligatorio |
Card list for the 3rd section | cards 3 | sin descripción
| Cadena | obligatorio |
4th section title | section 4 | sin descripción | Cadena | obligatorio |
Card list for the 4th section | cards 4 | sin descripción
| Cadena | obligatorio |
5th section title | section 5 | sin descripción | Cadena | obligatorio |
Card list for the 5th section | cards 5 | sin descripción
| Cadena | obligatorio |
6th section title | section 6 | sin descripción | Cadena | obligatorio |
Card list for the 6th section | cards 6 | sin descripción
| Cadena | obligatorio |
hide numbers | hide numbers | sin descripción | Desconocido | opcional |
template 1 | template 1 | sin descripción | Desconocido | opcional |
template 2 | template 2 | sin descripción | Desconocido | opcional |
template 3 | template 3 | sin descripción | Desconocido | opcional |
template 4 | template 4 | sin descripción | Desconocido | opcional |
template 5 | template 5 | sin descripción | Desconocido | opcional |
template 6 | template 6 | sin descripción | Desconocido | opcional |
section 7 | section 7 | sin descripción | Desconocido | opcional |
cards 7 | cards 7 | sin descripción | Desconocido | opcional |
template 7 | template 7 | sin descripción | Desconocido | opcional |
section 8 | section 8 | sin descripción | Desconocido | opcional |
cards 8 | cards 8 | sin descripción | Desconocido | opcional |
template 8 | template 8 | sin descripción | Desconocido | opcional |
categories | categories | sin descripción | Desconocido | opcional |