Form:Resource: Difference between revisions
From Trans People Together Wiki
No edit summary |
No edit summary |
||
(45 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
This is the "Resource" form. | This is the "Resource" form. | ||
To create a page with this form, click here: https://www.transpeopletogether.org/wiki/Special:FormEdit/Resource | To create a page with this form, click here: https://www.transpeopletogether.org/wiki/Special:FormEdit/Resource | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{{info | {{{info | ||
Line 11: | Line 10: | ||
{| class="formtable" | {| class="formtable" | ||
! Associated Organization: | ! Associated Organization: | ||
| {{{field|organization | | {{{field|organization|mandatory|restricted}}} | ||
|- | |- | ||
! Resource Title: | ! Resource Title: | ||
| {{{field|title|mandatory}}} | | {{{field|title|mandatory|restricted}}} | ||
|- | |- | ||
! Description: | ! Description: | ||
| {{{field|description|input type=textarea|mandatory}}} | | {{{field|description|input type=textarea|mandatory}}} | ||
|- | |- | ||
! | ! Places: | ||
| {{{field| | | {{{field|places|input type=tokens|mandatory|values from category=Places|existing values only|delimiter=;}}} | ||
|- | |||
! Resource Pages (Optional): | |||
| {{{field|resourcePages|input type=tokens|values from category=Resource Pages|existing values only|delimiter=;}}} | |||
|- | |||
! Sort Order (Optional): | |||
| {{{field|sortOrder|input type=text|size=4|maxlength=2}}} | |||
|} | |} | ||
=== First Link (Required) === | === First Link (Required) === | ||
{| class="formtable" | {| class="formtable" | ||
! Caption: | ! Caption: | ||
| {{{field|firstLinkCaption|mandatory}}} | | {{{field|firstLinkCaption|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid caption|inverse|mandatory|default=Website}}} | ||
|- | |- | ||
! URL: | ! URL: | ||
| {{{field|firstLinkURL| | | {{{field|firstLinkURL|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid URL|mandatory}}} | ||
|} | |} | ||
= Additional Links (Optional) = | = Additional Links (Optional) = | ||
Line 34: | Line 39: | ||
{| class="formtable" | {| class="formtable" | ||
! Caption: | ! Caption: | ||
| {{{field|secondLinkCaption}}} | | {{{field|secondLinkCaption|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid caption|inverse}}} | ||
|- | |- | ||
! URL: | ! URL: | ||
| {{{field|secondLinkURL}}} | | {{{field|secondLinkURL|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid URL}}} | ||
|} | |} | ||
=== Third Link === | === Third Link === | ||
{| class="formtable" | {| class="formtable" | ||
! Caption: | ! Caption: | ||
| {{{field|thirdLinkCaption}}} | | {{{field|thirdLinkCaption|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid caption|inverse}}} | ||
|- | |- | ||
! URL: | ! URL: | ||
| {{{field|thirdLinkURL}}} | | {{{field|thirdLinkURL|input type=regexp|regexp=/^https:\/\/[^\s]+$/|message=Please enter a valid URL}}} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Latest revision as of 14:21, 18 May 2025
This is the "Resource" form. To create a page with this form, click here: https://www.transpeopletogether.org/wiki/Special:FormEdit/Resource