Difference between revisions of "Template:CPC flag/doc"
Jump to navigation
Jump to search
imported>Daviddwd (→Usage: example) |
imported>John of Reading m (Typo/general fixes, replaced: the the → to the) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | |||
| + | == Usage == | ||
| + | |||
== Usage == | == Usage == | ||
| − | {{ | + | <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 14: | Line 17: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "An inline flag and link | + | "description": "An inline flag and link to 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> | ||
Latest revision as of 16:16, 6 February 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 to the article [[Communist Party of China]], intended for infoboxes
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Flag size | size | (optional) adjusts the flag size
| String | optional |