Template:CPT/doc
Jump to navigation
Jump to search
![]() | 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"