Difference between revisions of "Template:CPT/doc"
Jump to navigation
Jump to search
imported>Trinaliv m (Correct.) |
imported>KylieTastic (error condition doesn't help) |
||
Line 18: | Line 18: | ||
* "<code>{{CPT|LSB|b=}}</code>" creates "{{CPT|LSB|b=}}" (simplified) | * "<code>{{CPT|LSB|b=}}</code>" creates "{{CPT|LSB|b=}}" (simplified) | ||
* "<code>{{CPT|FAR|b=Pt-far1.png}}</code>" creates "{{CPT|FAR|b=Pt-far1.png}}" (specified image) | * "<code>{{CPT|FAR|b=Pt-far1.png}}</code>" creates "{{CPT|FAR|b=Pt-far1.png}}" (specified image) | ||
− | |||
* "<code>{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}</code>" creates "{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}" (municipal code not valid) | * "<code>{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}</code>" creates "{{CPT|PLRG|Pelariga|b=Bandeira de Pelariga.jpg}}" (municipal code not valid) | ||
** "<code>{{CPT|XPTO||b=}}</code>" creates "{{CPT|XPTO||b=}}" | ** "<code>{{CPT|XPTO||b=}}</code>" creates "{{CPT|XPTO||b=}}" |
Latest revision as of 13:34, 15 March 2020
![]() | This is a documentation subpage for Template:CPT. It contains usage information, categories and other content that is not part of the original template page. |
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"