(Imported by PageSync)
Tag: wsps-content-edit-tag
 
(Imported by PageSync)
Tag: wsps-content-edit-tag
 
Line 6: Line 6:
{{Csp formfield/textarea
{{Csp formfield/textarea
|name= (text)  
|name= (text)  
|placeholder= (optional: text)
|required= (optional: "required")
|required= (optional: "required")
|value= (text)
|value= (text)
Line 14: Line 15:
{{Csp formfield/textarea
{{Csp formfield/textarea
|name=Comment
|name=Comment
|placeholder=Write some text here..
|value=Test abc 123
|value=Test abc 123
new line test
new line test
Line 29: Line 31:
name="{{{name|}}}"
name="{{{name|}}}"
class="form-control"
class="form-control"
placeholder="{{{placeholder|}}}"
required="{{{required|}}}"
required="{{{required|}}}"
>{{#invoke:CspFunctions|nowiki|1={{{value|}}} }}</input></includeonly>
>{{#invoke:CspFunctions|nowiki|1={{{value|}}} }}</input></includeonly>
ws-base-props
Line 3: Line 3:
|Title=Template:Csp formfield/textarea
|Title=Template:Csp formfield/textarea
|Version history={{Version history item  
|Version history={{Version history item  
|Version number=1.2
|Version description=Added placeholder parameter (#171)
|Version date=2025-6-30 13:02:07
}}{{Version history item
|Version number=1.1
|Version number=1.1
|Version description=Use parameter 1 instead of unnamed in nowiki function to prevent spaces in empty formfields (#181)
|Version description=Use parameter 1 instead of unnamed in nowiki function to prevent spaces in empty formfields (#181)
Line 10: Line 14:
|Version description=added nowiki to value so wikitext links don't break
|Version description=added nowiki to value so wikitext links don't break
|Version date=2023-9-21 11:20:55
|Version date=2023-9-21 11:20:55
}}
}}
}}
}}
}}
}}
}}
}}
}}

Latest revision as of 08:01, 18 September 2025


This is the Csp formfield/textarea template. It should be called in the following format:

{{Csp formfield/textarea
|name= (text) 
|placeholder= (optional: text)
|required= (optional: "required")
|value= (text)
}}

Example

Related templates:

Page
Template:Csp formfield/ask token
Template:Csp formfield/checkbox
Template:Csp formfield/date
Template:Csp formfield/datetime-local
Template:Csp formfield/number
Template:Csp formfield/select
Template:Csp formfield/text
Template:Csp formfield/textarea
Template:Csp formfield/token
Template:Csp formfield/token allowtags