• Home
  • Q & A
  • Open CSP
    • What is Open CSP
    • Steering committee
  • Documentation
    • Search
    • Open CSP
    • FlexForm
    • PageSync
  • Media
  • Timeline

Template:Csp formfield/text

Note: Please be aware that this page originates from the Open CSP framework. Altering this page will result in difficulties down the line when updates are made to the framework. If you absolutely must alter this page, please consider copying this page to your own version and altering that, instead.

For example: a template called 'Template:Foo' can be copied and pasted in a template called 'Template:Foobar'. Now you can reference this template without interrupting future upgrades to the framework.


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

{{Csp formfield/text
|name= (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


Retrieved from "https://www.open-csp.org/index.php?title=Template:Csp_formfield/text&oldid=3510"
Application pageTemplate:Csp formfield/text
  • Type
    CSP Basis Core
  • Origin
    CSP Basis

Version history

  • 1.1 (18 Oct 2024) - Use parameter 1 instead of unnamed in nowiki function to prevent spaces in empty formfields (#181)
  • 1.0 (21 Sep 2023) - added nowiki to value so wikitext links don't break

New version

<br><div class="alert alert-warning" role="alert">

<p>Please log in first.</p></div>