No edit summary |
No edit summary |
||
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}}} | |||
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}}} | ||
Line 78: | Line 83: | ||
{{{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}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 86: | Line 91: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 2|multiple|add button text=Add card|embed in field=portal[cards 2]|display=table}}} | {{{for template|card 2|multiple|add button text=Add card|embed in field=portal[cards 2]|display=table}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 94: | Line 99: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 3|multiple|add button text=Add card|embed in field=portal[cards 3]|display=table}}} | {{{for template|card 3|multiple|add button text=Add card|embed in field=portal[cards 3]|display=table}}} | ||
{{{field| | {{{field|title|input type=combobox|label=card title (can be the target page name)}}} | ||
{{{field|subtitle|label=Card content}}} | {{{field|subtitle|label=Card content}}} | ||
{{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 102: | Line 107: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 4|multiple|add button text=Add card|embed in field=portal[cards 4]|display=table}}} | {{{for template|card 4|multiple|add button text=Add card|embed in field=portal[cards 4]|display=table}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 110: | Line 115: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 5|multiple|add button text=Add card|embed in field=portal[cards 5]|display=table}}} | {{{for template|card 5|multiple|add button text=Add card|embed in field=portal[cards 5]|display=table}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 118: | Line 123: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 6|multiple|add button text=Add card|embed in field=portal[cards 6]|display=table}}} | {{{for template|card 6|multiple|add button text=Add card|embed in field=portal[cards 6]|display=table}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | ||
Line 134: | Line 139: | ||
{{{end template}}} | {{{end template}}} | ||
{{{for template|card 8|multiple|add button text=Add card|embed in field=portal[cards 8]|display=table}}} | {{{for template|card 8|multiple|add button text=Add card|embed in field=portal[cards 8]|display=table}}} | ||
{{{field| | {{{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|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} | {{{field|color|input type=dropdown|label=Color (in HEX - optional)|values=#0099FF,#AC64FF,#1BAB50}}} |
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.