Difference between revisions of "Form:Content"

From VGD Wiki Farm
(Created page with "<includeonly> {{{info|page name=<Content[Subject]>}}} {{{for template|Content}}} {{form row |label=Subject |field={{{field|Subject|values from property=Subject|input type=tok...")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{{info|page name=<Content[Subject]>}}}
 
{{{info|page name=<Content[Subject]>}}}
 
{{{for template|Content}}}
 
{{{for template|Content}}}
{{form row
+
{{{field|Subject|values from property=Subject|input type=tokens|max values=1|unique|hidden}}}
|label=Subject
 
|field={{{field|Subject|values from property=Subject|input type=tokens|max values=1|unique|mandatory}}} <i class="fas fa-asterisk text-danger" title="Mandatory field"></i>
 
|class=mb-2
 
}}
 
 
{{form row
 
{{form row
 
|label=Topic  
 
|label=Topic  
Line 30: Line 26:
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{#forminput:form=Content  
 
{{#forminput:form=Content  
   |autocomplete on namespace=
+
   |autocomplete on namespace=Main
  |Content[Subject]={{PAGENAME}}
 
 
   |no autofocus
 
   |no autofocus
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:41, 4 January 2021