Template:Pub/doc: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Basic usage== | ==Basic usage== | ||
The box below shows the most common parameters that are accepted by {{Tl|Pub}}. The purpose of each is described below. | The box below shows the most common parameters that are accepted by {{Tl|Pub}}. The purpose of each is described below. | ||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> | <syntaxhighlight lang="wikitext" style="overflow:auto;"> | ||
{{Pub | {{Pub|type|number}} | ||
| type | |||
| number | |||
}} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==Common parameters== | ==Common parameters== | ||
=== ''Pub type'' === | === ''Pub type'' === | ||
The ''Pub type'' parameter specifies the type of the publication (e.g., CAPM, CAPR, CAPP, CAPS, CAPVA). | The ''Pub type'' parameter specifies the type of the publication (e.g., CAPM, CAPR, CAPP, CAPS, CAPVA, AFH, AFI, AFMAN, AFPAM, DAFH, DAFI, DAFMAN, DAFPAM). | ||
=== ''Pub number'' === | === ''Pub number'' === | ||
Line 30: | Line 22: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"AFH", | |||
"AFI", | |||
"AFMAN", | |||
"AFPAM", | |||
"CAPM", | "CAPM", | ||
"CAPP", | "CAPP", | ||
"CAPR", | "CAPR", | ||
"CAPS", | "CAPS", | ||
"CAPVA" | "CAPVA", | ||
"DAFH", | |||
"DAFI", | |||
"DAFMAN", | |||
"DAFPAM" | |||
] | ] | ||
}, | }, | ||
Line 41: | Line 41: | ||
"description": "The number of the publication.", | "description": "The number of the publication.", | ||
"type": "string" | "type": "string" | ||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ |
Latest revision as of 19:12, 7 April 2024
Basic usage
The box below shows the most common parameters that are accepted by {{Pub}}. The purpose of each is described below.
{{Pub|type|number}}
Common parameters
Pub type
The Pub type parameter specifies the type of the publication (e.g., CAPM, CAPR, CAPP, CAPS, CAPVA, AFH, AFI, AFMAN, AFPAM, DAFH, DAFI, DAFMAN, DAFPAM).
Pub number
The Pub number parameter specifies the number of the publication.
TemplateData
TemplateData for Pub
<templatedata> { "params": { "1": { "label": "Pub type", "description": "The type of publication.", "type": "string", "suggestedvalues": [ "AFH", "AFI", "AFMAN", "AFPAM", "CAPM", "CAPP", "CAPR", "CAPS", "CAPVA", "DAFH", "DAFI", "DAFMAN", "DAFPAM" ] }, "2": { "label": "Pub number", "description": "The number of the publication.", "type": "string" } }, "paramOrder": [ "type", "number" ] } </templatedata>