Jump to content

Form:Visual: Difference between revisions

From WYOS Wiki
No edit summary
No edit summary
Line 10: Line 10:
|-
|-
! Owner:
! Owner:
| {{{field|Owner|input type=combobox|values from namespace=User|existing values only|default={{CURRENTUSER}}|mandatory}}}
| {{{field|Owner|input type=combobox|values from namespace=User|existing values only|default={{CURRENTUSER}}|placeholder=Start typing username...|mandatory}}}
|-
|-
! Display Title (Optional):
! Display Title:
| {{{field|Display Title|placeholder=Override the page title for display purposes}}}
| {{{field|Display Title|placeholder=Override the page title for display purposes}}}
|-
|-
! Subtitle (Optional):
! Subtitle:
| {{{field|Subtitle|placeholder=A catchy, descriptive tagline}}}
| {{{field|Subtitle|placeholder=A short, descriptive tagline}}}
|-
|-
! Image Filename:
! Image:
| {{{field|Image|uploadable|mandatory}}}
| {{{field|Image|uploadable|mandatory}}}
|-
|-
! Topic Tags:
! Topic Tags:
| {{{field|Topic Tags|input type=tokens|values from namespace=Tag|existing values only|delimiter=,|mandatory}}}
| {{{field|Topic Tags|input type=tokens|values from namespace=Tag|existing values only|delimiter=,|placeholder=Add one or more tags|mandatory}}}
|-
|-
! Description:
! Description:
| {{{field|Description|input type=textarea|rows=3|placeholder=1–2 sentence teaser shown on cards|mandatory}}}
| {{{field|Description|input type=textarea|rows=3|placeholder=1–2 sentence teaser shown on cards|mandatory}}}
|-
|-
! Featured?:
! Featured?
| {{{field|Is Featured|input type=checkbox|yes=yes|no=no|default=no}}}
| {{{field|Is Featured|input type=checkbox|yes=yes|no=no|default=no}}}
|-
|-
! URL for more info (Optional):
! Source URL:
| {{{field|URL|placeholder=https://}}}
| {{{field|URL|placeholder=https://...}}}
|-
! Original Title:
| {{{field|Original Title}}}
|-
! Author:
| {{{field|Author}}}
|-
! Original Source:
| {{{field|Original Source|input type=combobox|values=Book,Article,Video,Podcast|existing values only}}}
|}
|}
'''Main Content'''
'''Main Content'''
Line 37: Line 46:
{{{field|Content|input type=textarea|editor=visualeditor|rows=20}}}
{{{field|Content|input type=textarea|editor=visualeditor|rows=20}}}
{{{end template}}}
{{{end template}}}
<div class="form-divider"></div>
{{{standard input|summary}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Revision as of 19:03, 21 September 2025

Use this form to create a new visual entry (infographic, chart, diagram).