Difference between revisions of "Template:CPC flag/doc"
Jump to navigation
Jump to search
imported>Daviddwd m (Update to example) |
imported>Daviddwd (Update to TemplateData) |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
| − | + | == Usage == | |
| − | <nowiki><code>{{CPC flag|size=30px}}</ | + | <code><nowiki>{{CPC flag}}</nowiki></code> yields {{CPC flag}}. |
| + | |||
| + | <code><nowiki>{{CPC flag|size=30px}}</nowiki></code> yields {{CPC flag|size=30px}}. | ||
== See also == | == See also == | ||
| Line 15: | Line 17: | ||
{ | { | ||
"description": "An inline flag and link the the article [[Communist Party of China]], intended for infoboxes", | "description": "An inline flag and link the the article [[Communist Party of China]], intended for infoboxes", | ||
| − | "params": {} | + | "params": { |
| + | "size": { | ||
| + | "label": "Flag size", | ||
| + | "description": "(optional) adjusts the flag size", | ||
| + | "type": "string", | ||
| + | "default": "23px" | ||
| + | } | ||
| + | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 20:16, 12 January 2019
| 40px | This is a documentation subpage for Template:CPC flag. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Usage
{{CPC flag}} yields 23px Communist Party of China.
{{CPC flag|size=30px}} yields 30px Communist Party of China.
See also
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for CPC flag
An inline flag and link the the article [[Communist Party of China]], intended for infoboxes
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Flag size | size | (optional) adjusts the flag size
| String | optional |