Form:Company: Difference between revisions

From TwogPedia
No edit summary
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 12: Line 12:
|-|SEO={| class="formtable"
|-|SEO={| class="formtable"
! SEO Title:  
! SEO Title:  
| {{{field|seo_title|default={{FULLPAGENAME}}|maxlength=70}}}
| {{{field|seo_title|default={{#titleparts: {{FULLPAGENAME}} |  | 2 }}|maxlength=70}}}
|-
|-
! SEO Description:  
! SEO Description:  
Line 18: Line 18:
|-
|-
! SEO Keywords:  
! SEO Keywords:  
| {{{field|seo_keywords|input type=tokens}}}
| {{{field|seo_keywords|input type=tokens|default={{#titleparts: {{FULLPAGENAME}} |  | 2 }}}}}
|-
|-
! Categories:  
! Stub:  
| {{{field|categories|input type=tokens}}}
| {{{field|stub}}}
|-
|-
|}
|}


|-|Logos={| class="formtable"
|-|Logos=
! Logo type:
| {{{field|logoType|input type=dropdown|show on select=Regular=>logos;Save to db=>saveLogos|values=Regular,Save to db|mandatory|default=Regular}}}
|}
<div id="logos">
{| class="formtable"
! Logo:
| {{{field|logoAll|uploadable|image preview|}}}
|-
! Logo Light:
| {{{field|logoLight|uploadable|image preview}}}
|-
! Logo Dark:
| {{{field|logoDark|uploadable|image preview}}}
|}
</div>
<div id="saveLogos">
{{{field|logos|holds template|multiple|delimiter=;}}}
{{{field|logos|holds template|multiple|delimiter=;}}}
</div>


|-|Infobox={| class="formtable"
|-|Infobox={| class="formtable"
! Title:  
! Title:  
| {{{field|title|default={{FULLPAGENAME}}}}}
| {{{field|title|default={{#titleparts: {{FULLPAGENAME}} |  | 2 }} }}}
|-
|-
! Type:  
! Type:  
| {{{field|type}}}
| {{{field|type}}}
|-
! Database type:
| {{{field|db_type|input type=checkboxes|mandatory|values=Organization,Locations,Sponsor,Organizer,Other}}}
|-
|-
! Country:  
! Country:  
Line 60: Line 46:
! Founded:  
! Founded:  
| {{{field|founded}}}
| {{{field|founded}}}
|-
! Closed on:
| {{{field|closed}}}
|-
|-
! # of Employees:  
! # of Employees:  
Line 66: Line 55:
! Parent company:  
! Parent company:  
| {{{field|parentcompany}}}
| {{{field|parentcompany}}}
|-
! Subsidiaries :
| {{{field|subsidiaries|input type=tokens }}}
|}
|}


Line 103: Line 89:
|-|Content={| class="formtable"
|-|Content={| class="formtable"
! Description:
! Description:
| {{{field|description|input type=textarea}}}
| {{{field|description|input type=textarea|mandatory}}}
|-
|-
! Other content:
! Other content:
Line 111: Line 97:


|-|Employees=
|-|Employees=
{{{field|employees|holds template}}}
{{{field|active employees|holds template}}}
 
{{{field|past employees|holds template}}}


|-|Gallery={| class="formtable"
|-|Gallery={| class="formtable"
Line 127: Line 115:
! Image 3:  
! Image 3:  
| {{{field|image3|uploadable|image preview|}}}
| {{{field|image3|uploadable|image preview|}}}
|'''Caption:''' {{{field|caption2}}}
|'''Caption:''' {{{field|caption3}}}
|-
|-
! Image 4:  
! Image 4:  
| {{{field|image4|uploadable|image preview|}}}
| {{{field|image4|uploadable|image preview|}}}
|'''Caption:''' {{{field|caption2}}}
|'''Caption:''' {{{field|caption4}}}
|-
|-
! Image 5:  
! Image 5:  
| {{{field|image5|uploadable|image preview|}}}
| {{{field|image5|uploadable|image preview|}}}
|'''Caption:''' {{{field|caption2}}}
|'''Caption:''' {{{field|caption5}}}
|-
|-
|}
|}
Line 153: Line 141:
{| class="formtable"
{| class="formtable"
! Page:
! Page:
| {{{field|id|mandatory|values from category=News}}}
| {{{field|id|mandatory|values from category=Company}}}
|-
|-
! Start date (YYYY-MM-DD):
! Start date (YYYY-MM-DD):
Line 168: Line 156:
|-
|-
! Type
! Type
|{{{field|type|input type=dropdown|values=team,location,other|mandatory}}}
|{{{field|type|input type=checkboxes|values=team,location,other|mandatory}}}
|}
|}
{{{end template}}}  
{{{end template}}}  
Line 177: Line 165:
| {{{field|logoAll|uploadable}}}
| {{{field|logoAll|uploadable}}}
|-
|-
! Logo Light:
! Logo Lightmode:
| {{{field|logoLight|uploadable}}}
| {{{field|logoLight|uploadable}}}
|-
|-
! Logo Dark:
! Logo Darkmode:
| {{{field|logoDark|uploadable}}}
| {{{field|logoDark|uploadable}}}
|-
|-
Line 186: Line 174:
| {{{field|iconAll|uploadable}}}
| {{{field|iconAll|uploadable}}}
|-
|-
! Icon Light:
! Icon Lightmode:
| {{{field|iconLight|uploadable}}}
| {{{field|iconLight|uploadable}}}
|-
|-
! Icon Dark:
! Icon Darkmode:
| {{{field|iconDark|uploadable}}}
| {{{field|iconDark|uploadable}}}
|-
|-
Line 207: Line 195:
{{{end template}}}  
{{{end template}}}  


{{{for template|Employee|multiple|label=Employees|embed in field=Company[employees]}}}
{{{for template|Employee|multiple|label=Active Employees|embed in field=Company[active employees]}}}
{| class="formtable"
{| class="formtable"
! Page:
| {{{field|id}}}
|-
! Name:
| {{{field|name}}}
|-
! Flag:
| {{{field|flag}}}
|-
! Position:
| {{{field|position}}}
|-
! Join date (YYYY-MM-DD):
| {{{field|joindate|input type=text}}}
|}
{{{end template}}}
{{{for template|Employee2|multiple|label=Past Employees|embed in field=Company[past employees]}}}
{| class="formtable"
! Page:
| {{{field|id}}}
|-
! Name:
! Name:
| {{{field|id|mandatory}}}
| {{{field|name}}}
|-
! Flag:
| {{{field|flag}}}
|-
|-
! Position:
! Position:

Latest revision as of 17:53, 26 April 2024

This is the "Company" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.