Template:Portal View history

imported>Itssick
No edit summary
imported>Itssick
No edit summary
Line 16: Line 16:
     }} }}{{#if:{{{banner-text|}}}{{{banner-heading|}}}|
     }} }}{{#if:{{{banner-text|}}}{{{banner-heading|}}}|
     <div class="prose border border-grey-400 rounded-md mx-0 {{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|mb-10|mb-20}} md:max-w-full max-w-fit">
     <div class="prose border border-grey-400 rounded-md mx-0 {{#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-100 px-6 py-4">
     {{#if:{{{banner-heading|}}}|<div class="flex items-center bg-blue-30 px-6 py-4">
     {{#if:{{{banner-image|}}}|[[File:{{{banner-image}}}|link=]]|}}
     {{#if:{{{banner-image|}}}|[[File:{{{banner-image}}}|link=]]|}}
     <h2 class=" text-lg h4 px-6 font-medium">{{{banner-heading|}}}</h2>
     <h2 class=" text-lg h4 px-6 font-medium">{{{banner-heading|}}}</h2>
Line 24: Line 24:
     </div>
     </div>
     </div>}}{{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|<div id="siteNotice" ></div>|}}{{Carousel  
     </div>}}{{#ifeq:{{mediawiki:mainpage}}|{{PAGENAME}}|<div id="siteNotice" ></div>|}}{{Carousel  
     |title={{#explode:{{{section 1|}}}|:|1|100}}
     |title={{#explode:{{{section 1|}}}|:|1|30}}
     |link={{{section 1|}}}
     |link={{{section 1|}}}
     |cards={{{cards 1|}}}  
     |cards={{{cards 1|}}}  
Line 30: Line 30:
     |cards={{{cards 2|}}}  
     |cards={{{cards 2|}}}  
     }}{{Carousel  
     }}{{Carousel  
     |title={{#explode:{{{section 3|}}}|:|1|100}}
     |title={{#explode:{{{section 3|}}}|:|1|30}}
     |link={{{section 3|}}}
     |link={{{section 3|}}}
     |cards={{{cards 3|}}}  
     |cards={{{cards 3|}}}  
     }}{{Carousel  
     }}{{Carousel  
     |title={{#explode:{{{section 4|}}}|:|1|100}}
     |title={{#explode:{{{section 4|}}}|:|1|30}}
     |link={{{section 4|}}}
     |link={{{section 4|}}}
     |cards={{{cards 4|}}}  
     |cards={{{cards 4|}}}  
     }}{{Carousel  
     }}{{Carousel  
     |title={{#explode:{{{section 5|}}}|:|1|100}}
     |title={{#explode:{{{section 5|}}}|:|1|30}}
     |link={{{section 5|}}}
     |link={{{section 5|}}}
     |cards={{{cards 5|}}}  
     |cards={{{cards 5|}}}  
     }}{{Carousel  
     }}{{Carousel  
     |title={{#explode:{{{section 6|}}}|:|1|100}}
     |title={{#explode:{{{section 6|}}}|:|1|30}}
     |link={{{section 6|}}}
     |link={{{section 6|}}}
     |cards={{{cards 6|}}}  
     |cards={{{cards 6|}}}  
     }}
     }}
     {{Carousel  
     {{Carousel  
     |title={{#explode:{{{section 7|}}}|:|1|100}}
     |title={{#explode:{{{section 7|}}}|:|1|30}}
     |link={{{section 7|}}}
     |link={{{section 7|}}}
     |cards={{{cards 7|}}}  
     |cards={{{cards 7|}}}  

Revision as of 17:56, 6 October 2022

   This tempate 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