Template:Form/doc: Difference between revisions

From CAPipedia
Created page with "==Basic usage== The box below shows the most common parameters that are accepted by {{Tl|Form}}. The purpose of each is described below. <syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Form|type|number}} </syntaxhighlight> ==Common parameters== === ''Form type'' === The ''Form type'' parameter specifies the type of the form (e.g., CAPF, ICS). === ''Form number'' === The ''Form number'' parameter specifies the number of the form. == TemplateData == {{Templat..."
 
No edit summary
 
Line 7: Line 7:
==Common parameters==
==Common parameters==
=== ''Form type'' ===
=== ''Form type'' ===
The ''Form type'' parameter specifies the type of the form (e.g., CAPF, ICS).
The ''Form type'' parameter specifies the type of the form (e.g., CAPF, FAA, ICS).


=== ''Form number'' ===
=== ''Form number'' ===
Line 23: Line 23:
"suggestedvalues": [
"suggestedvalues": [
"CAPF",
"CAPF",
"FAA",
"ICS"
"ICS"
]
]

Latest revision as of 19:11, 7 April 2024

Basic usage

The box below shows the most common parameters that are accepted by {{Form}}. The purpose of each is described below.

{{Form|type|number}}

Common parameters

Form type

The Form type parameter specifies the type of the form (e.g., CAPF, FAA, ICS).

Form number

The Form number parameter specifies the number of the form.

TemplateData

See a monthly parameter usage report for Template:Form in articles based on its TemplateData.

TemplateData for Form

<templatedata> { "params": { "1": { "label": "Form type", "description": "The type of form.", "type": "string", "suggestedvalues": [ "CAPF", "FAA", "ICS" ] }, "2": { "label": "Form number", "description": "The number of the form.", "type": "string" } }, "paramOrder": [ "type", "number" ] } </templatedata>