Difference between revisions of "Template:CPT"
Jump to navigation
Jump to search
imported>Trinaliv m |
imported>Jonesey95 (Fix Linter errors) |
||
Line 619: | Line 619: | ||
| VZL = Vouzela | | VZL = Vouzela | ||
| {{#if:{{{2|}}}| {{{2}}} | {{{1}}} }} | | {{#if:{{{2|}}}| {{{2}}} | {{{1}}} }} | ||
− | }}|< | + | }}|<span style="color:#000">{{uc:{{{1}}}}}</span>]]{{#if:{{{3|}}}|| }}</span><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 07:11, 5 February 2020
[[{{{1}}}|{{{1}}}]]
Usage
Creates an icon to identify a municipality in Portugal, using the municipal code (full list see Portuguese version of this list).
Examples:
Behaves like Template:Colorbox if the code is not valid:
With flag
If b
is used, a simplified municipal flag will be dispayed:
- "
{{CPT|LSB|b=}}
" creates "LSB " (simplified)
- "
{{CPT|FAR|b=Pt-far1.png}}
" creates "FAR " (specified image)
- "
{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}
" creates "PLRG " (municipal code not valid)
- "
{{CPT|XPTO||b=}}
" creates "XPTO "
- "
- "
{{CPT|fig||sem_estilo|b=}}
" creates "FIG"
The above documentation is transcluded from Template:CPT/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |