Template:Portal View history

No edit summary
No edit summary
Line 18: Line 18:
<div class="border border-grey-400 rounded-md mx-0 overflow-hidden {{{type|}}} {{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|mb-10|mb-20}} md:max-w-full max-w-fit">{{#if:{{{banner-image|}}}|[[file:{{{banner-image}}}|class=w-full|link=|alt=Banner image]]}}
<div class="border border-grey-400 rounded-md mx-0 overflow-hidden {{{type|}}} {{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|mb-10|mb-20}} md:max-w-full max-w-fit">{{#if:{{{banner-image|}}}|[[file:{{{banner-image}}}|class=w-full|link=|alt=Banner image]]}}
{{#if:{{{banner-heading|}}}|<div class="flex items-center bg-blue-30 px-6">
{{#if:{{{banner-heading|}}}|<div class="flex items-center bg-blue-30 px-6">
<h2 class="not-prose text-lg h4 px-4 pt-2 font-medium">{{{banner-heading|}}}</h2>
<h2 class="text-lg h4 px-4 pt-2 font-medium">{{{banner-heading|}}}</h2>
</div>}}
</div>}}
<div class="prose max-w-fit {{#if:{{{banner-heading|}}}||pt-5}} px-10 text-sm text-gray-600 pb-5">
<div class="max-w-fit {{#if:{{{banner-heading|}}}||pt-5}} px-10 text-sm text-gray-600 pb-5">
{{{banner-text|}}}
{{{banner-text|}}}
</div>
</div>

Revision as of 13:21, 23 November 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.

Template parameters

ParameterDescriptionTypeStatus
Icon for the title section title-icon

Image name

Filesuggested
Text for the banner section banner-text

no description

Contentsuggested
Page titlepage title

no description

Stringsuggested
Text for the header of the bannerbanner-heading

no description

Stringsuggested
Image for the bannerbanner-image

no description

Filesuggested
Hide page title sectionno-title

type any charachter

Booleanoptional
First section titlesection 1

no description

Stringrequired
Card list for the first section cards 1

no description

Example
Add as many "card" templates as you want
Stringrequired
2nd section titlesection 2

no description

Stringrequired
Card list for the 2nd section cards 2

no description

Example
Add as many "card" templates as you want
Stringrequired
3rd section titlesection 3

no description

Stringrequired
Card list for the 3rd section cards 3

no description

Example
Add as many "card" templates as you want
Stringrequired
4th section titlesection 4

no description

Stringrequired
Card list for the 4th section cards 4

no description

Example
Add as many "card" templates as you want
Stringrequired
5th section titlesection 5

no description

Stringrequired
Card list for the 5th section cards 5

no description

Example
Add as many "card" templates as you want
Stringrequired
6th section titlesection 6

no description

Stringrequired
Card list for the 6th section cards 6

no description

Example
Add as many "card" templates as you want
Stringrequired
hide numbershide numbers

no description

Unknownoptional
template 1template 1

no description

Unknownoptional
template 2template 2

no description

Unknownoptional
template 3template 3

no description

Unknownoptional
template 4template 4

no description

Unknownoptional
template 5template 5

no description

Unknownoptional
template 6template 6

no description

Unknownoptional
section 7section 7

no description

Unknownoptional
cards 7cards 7

no description

Unknownoptional
template 7template 7

no description

Unknownoptional
section 8section 8

no description

Unknownoptional
cards 8cards 8

no description

Unknownoptional
template 8template 8

no description

Unknownoptional
categoriescategories

no description

Unknownoptional
typetype

no description

Unknownoptional
row title queryrow title query

no description

Unknownoptional
page querypage query

no description

Unknownoptional