Form:Portal View history

No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|portal}}}
{{{for template|portal}}}
<div class="card my-5"><div class="px-10">
<div class="card my-5 field field-file"><div class="px-10">
== Header ==
== Header ==
'''Page title''': {{{field|page title}}}  
'''Page title''': {{{field|page title}}}  


'''Title icon (image name)''': {{{field|title-icon}}}
'''Title icon (image name)''':  
<div class="den-inner-component">
{{{field|title-icon|label=upload image|input type=tokens|class=img-src|values from namespace=File|image preview|uploadable}}}
</div>
Hide title: {{{field|no-title|input type=checkbox}}}


Hide title: {{{field|no-title|input type=checkbox}}}
Rich text in content: {{{field|prose|input type=checkbox}}}
</div></div>
</div></div>


<div class="card  my-5"><div class="px-10">
<div class="card  my-5 field field-file"><div class="px-10">
== Banner ==
== Banner ==
'''Banner lead text''': {{{field|banner-heading}}}
'''Banner lead text''': {{{field|banner-heading}}}


{{{field|banner-text|input type=textarea|editor=visualeditor|class=toolbarOnTop}}}
{{{field|banner-text|input type=textarea|editor=visualeditor|class=toolbarOnTop}}}
 
<div class="den-inner-component">
'''Banner image (image name)''': {{{field|banner-image}}}
'''Banner image (image name)''':  
</div></div>
{{{field|banner-image|label=upload image|input type=tokens|class=img-src|values from namespace=File|image preview|uploadable}}}
</div></div></div>
<div id="cards">
<div id="cards">
== Card rows ==
== Card rows ==
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 1|default=Section 1 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 1|default=Section 1 title}}}</div>
{{{field|cards 1|holds template}}}
{{{field|cards 1|holds template}}}
{{{field|template 1|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 1|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}


</div></div>
</div></div>
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 2|default=Section 2 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 2|default=Section 2 title}}}</div>
{{{field|cards 2|holds template}}}
{{{field|cards 2|holds template}}}
{{{field|template 2|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 2|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}


</div></div>
</div></div>
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 3|default=Section 3 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 3|default=Section 3 title}}}</div>
{{{field|cards 3|holds template}}}
{{{field|cards 3|holds template}}}
{{{field|template 3|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 3|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}


</div></div>
</div></div>
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 4|default=Section 4 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 4|default=Section 4 title}}}</div>
{{{field|cards 4|holds template}}}
{{{field|cards 4|holds template}}}
{{{field|template 4|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 4|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}


</div></div>
</div></div>
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 5|default=Section 5 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 5|default=Section 5 title}}}</div>


{{{field|cards 5|holds template}}}
{{{field|cards 5|holds template}}}
Line 52: Line 57:


</div></div>
</div></div>
<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 6|default=Section 6 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 6|default=Section 6 title}}}</div>
{{{field|cards 6|holds template}}}
{{{field|cards 6|holds template}}}
{{{field|template 6|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 6|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></div>
</div></div>


<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 7|default=Section 7 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 7|default=Section 7 title}}}</div>
{{{field|cards 7|holds template}}}
{{{field|cards 7|holds template}}}
{{{field|template 7|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 7|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></div>
</div></div>


<div class="card my-5"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 8|default=Section 8 title}}}</div>
<div class="card my-5 field field-file"><div class="px-10"><div class="mb-8 mt-8 uppercase font-medium text-gray-900">{{{field|section 8|default=Section 8 title}}}</div>
{{{field|cards 8|holds template}}}
{{{field|cards 8|holds template}}}
{{{field|template 8|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
{{{field|template 8|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></div>
</div></div>
</div>
</div>
{{{field|type|input type=dropdown|values=cards,dynamic|show on select=dynamic=>dynamic;cards=>cards|default=cards}}}
{{{field|type|input type=dropdown|values=cards,dynamic|show on select=dynamic=>dynamic;cards=>cards|default=cards|size=30}}}
<div id="dynamic">
<div id="dynamic">
=== Dynamic card grid ===  
=== Dynamic card grid ===  
You can choose to show a cards list from another portal
You can choose to show a cards list from another portal
* page (optional): {{{field|page query|input type=comboxbox|values from category=portal}}}
* page (optional): {{{field|page query|input type=combobox|values from category=Portal}}}
* row: {{{field|row title query|input type=combobox|cargo table=carousel_title|cargo field=title}}}
* row: {{{field|row title query|input type=combobox|cargo table=carousel_title|cargo field=title}}}
</div>
</div>
=== Categories ===
=== Categories ===
{{{field|categories|input type=tokens|values from namespace=category}}}
{{{field|categories|input type=tokens|values from namespace=category|delimiter=;}}}
{{{end template}}}
{{{end template}}}
{{{for template|card 1|multiple|add button text=Add card|embed in field=portal[cards 1]|display=table}}}
{{{for template|card 1|multiple|add button text=Add card|embed in field=portal[cards 1]|display=table}}}

Latest revision as of 12:17, 27 June 2024

This form is being used to create portal pages for use as Main pages in Wazeopedia communities.