|
|
(3 intermediate revisions by the same user 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}} |
| | |
| | </noinclude> |
| | <includeonly> |
| | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> |
| | ==Hiiii== |
| | {{{for template|portal2}}} |
| | |
| | {{{field|cards 1|holds template}}} |
| | |
| | |
|
| |
|
| </noinclude>
| | |
| <includeonly>
| | {{{end template}}} |
| <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
| | {{{for template|card 1|multiple|add button text=Add card|embed in field=portal2[cards 1]|display=table}}} |
| {{{for template|portal}}}
| | {{{field|title_section|input type=combobox|label=card title (can be the target page name)|values from namespace=Main}}} |
| <div class="card my-5"><div class="px-10">
| | {{{field|subtitle|label=Card content}}} |
| == Header ==
| | {{{end template}}} |
| '''Page title''': {{{field|page title}}}
| | __NOTOC__ __NOEDITSECTION__ |
| | |
| '''Title icon (image name)''': {{{field|title-icon}}}
| |
| | |
| Hide title: {{{field|no-title|input type=checkbox}}}
| |
| </div></div>
| |
| | |
| <div class="card my-5"><div class="px-10">
| |
| == Banner ==
| |
| '''Banner lead text''': {{{field|banner-heading}}}
| |
| | |
| {{{field|banner-text|input type=textarea|editor=visualeditor|class=toolbarOnTop}}}
| |
| | |
| '''Banner image (image name)''': {{{field|banner-image}}}
| |
| </div></div>
| |
| <div id="cards">
| |
| == 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>
| |
| {{{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"><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"><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"><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"><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"><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"><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"><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_section|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_section|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_section|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_section|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_section|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_section|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}}}
| |
| {{{for template|card 8|multiple|add button text=Add card|embed in field=portal[cards 8]|display=table}}}
| |
| {{{field|title_section|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}}}
| |
| | |
| __NOTOC__ __NOEDITSECTION__ | |