Form:Portal View history

imported>Forumtestuser
(Created page with "<noinclude> This form is being used to create portal pages for use as main pages in Wazeopedia communities. {{#forminput:form={{PAGENAME}}|button text=Create portal|placeholde...")
 
No edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This form is being used to create portal pages for use as main pages in Wazeopedia communities.
This form is being used to create portal pages for use as Main pages in Wazeopedia communities.
{{#forminput:form={{PAGENAME}}|button text=Create portal|placeholder=Page name}}
{{#forminput:form={{PAGENAME}}|button text=Create portal|placeholder=Page name}}


Line 6: Line 6:
<includeonly>
<includeonly>
<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 field field-file"><div class="px-10">
== Header ==
'''Page title''': {{{field|page title}}}  


'''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}}}
Rich text in content: {{{field|prose|input type=checkbox}}}
</div></div>
<div class="card  my-5 field field-file"><div class="px-10">
== Banner ==
'''Banner lead text''': {{{field|banner-heading}}}
{{{field|banner-text|input type=textarea|editor=visualeditor|class=toolbarOnTop}}}
<div class="den-inner-component">
'''Banner image (image name)''':
{{{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">
== Card rows ==
<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}}}
</div></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|template 2|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 3|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 4|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 5|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 6|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 7|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></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|template 8|input type=combobox|values from category=card row template|placeholder=choose template instead|size=60}}}
</div></div>
</div>
{{{field|type|input type=dropdown|values=cards,dynamic|show on select=dynamic=>dynamic;cards=>cards|default=cards|size=30}}}
<div id="dynamic">
=== Dynamic card grid ===
You can choose to show a cards list from another 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}}}
</div>
=== Categories ===
{{{field|categories|input type=tokens|values from namespace=category|delimiter=;}}}
{{{end template}}}
{{{for template|card 1|multiple|add button text=Add card|embed in field=portal[cards 1]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 2|multiple|add button text=Add card|embed in field=portal[cards 2]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 3|multiple|add button text=Add card|embed in field=portal[cards 3]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 4|multiple|add button text=Add card|embed in field=portal[cards 4]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)|}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 5|multiple|add button text=Add card|embed in field=portal[cards 5]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 6|multiple|add button text=Add card|embed in field=portal[cards 6]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{for template|card 7|multiple|add button text=Add card|embed in field=portal[cards 7]|display=table}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{end template}}}
{{{for template|card|multiple|add button text=Add card|embed in field=Portal[cards 1]||display=table}}}
{{{for template|card 8|multiple|add button text=Add card|embed in field=portal[cards 8]|display=table}}}
{{{field|title|label=card title (can be the |values from namespace=Main}}}
{{{field|title|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}}
{{{field|subtitle|label=Card content}}}
{{{field|subtitle|label=Card content}}}
{{{field|color|label=Color (in HEX)}}}
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}}
{{{field|type|label=Card tag}}}
{{{field|type|label=Card tag}}}
{{{field|image|label=Image (optional)|values from namespace=file}}}
{{{field|image|input type=combobox|values from namespace=File|uploadable|label=Image (optional)}}}
{{{field|link|label=Page for link|values from namespace=main}}}
{{{field|link|label=Page for link (if title is not page name)}}}
{{{end template}}}
{{{end template}}}
__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__

Latest revision as of 10:25, 13 March 2023

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