Template:Pub/doc: Difference between revisions
No edit summary |
No edit summary |
||
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> | ||
Revision as of 15:50, 23 January 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).
Pub number
The Pub number parameter specifies the number of the publication.
TemplateData
See a monthly parameter usage report for Template:Pub in articles based on its TemplateData.
TemplateData for Pub
<templatedata> { "params": { "1": { "label": "Pub type", "description": "The type of publication.", "type": "string", "suggestedvalues": [ "CAPM", "CAPP", "CAPR", "CAPS", "CAPVA" ] }, "2": { "label": "Pub number", "description": "The number of the publication.", "type": "string"
}
}, "paramOrder": [ "type", "number" ] } </templatedata>